| Line 17... |
Line 17... |
| 17 |
columns of \code{a}. If \code{LINPACK} is \code{TRUE} the default
|
17 |
columns of \code{a}. If \code{LINPACK} is \code{TRUE} the default
|
| 18 |
is \code{1e-7}, otherwise it is \code{.Machine$double.eps}. Future
|
18 |
is \code{1e-7}, otherwise it is \code{.Machine$double.eps}. Future
|
| 19 |
versions of R may use a tighter tolerance. Not presently used with
|
19 |
versions of R may use a tighter tolerance. Not presently used with
|
| 20 |
complex matrices \code{a}.}
|
20 |
complex matrices \code{a}.}
|
| 21 |
\item{LINPACK}{logical. Should LINPACK be used (for compatibility with
|
21 |
\item{LINPACK}{logical. Should LINPACK be used (for compatibility with
|
| 22 |
\R < 1.7.0)?}
|
22 |
\R < 1.7.0)? Otherwise LAPACK is used.}
|
| 23 |
\item{\dots}{further arguments passed to or from other methods}
|
23 |
\item{\dots}{further arguments passed to or from other methods}
|
| 24 |
}
|
24 |
}
|
| 25 |
\description{
|
25 |
\description{
|
| 26 |
This generic function solves the equation \code{a \%*\% x = b} for \code{x},
|
26 |
This generic function solves the equation \code{a \%*\% x = b} for \code{x},
|
| 27 |
where \code{b} can be either a vector or a matrix.
|
27 |
where \code{b} can be either a vector or a matrix.
|
| 28 |
}
|
28 |
}
|
| 29 |
\details{
|
29 |
\details{
|
| 30 |
As from \R 1.3.0, \code{a} or \code{b} can be complex, in
|
30 |
\code{a} or \code{b} can be complex, but this uses double complex
|
| 31 |
which case LAPACK routine \code{ZESV} is used.
|
- |
|
| 32 |
This uses double complex arithmetic which might not be available on all
|
31 |
arithmetic which might not be available on all platforms and LAPACK
|
| 33 |
platforms.
|
32 |
will always be used.
|
| 34 |
|
33 |
|
| 35 |
The row and column names of the result are taken from the column
|
34 |
The row and column names of the result are taken from the column
|
| 36 |
names of \code{a} and of \code{b} respectively. As from \R 1.7.0
|
35 |
names of \code{a} and of \code{b} respectively. As from \R 1.7.0
|
| 37 |
if \code{b} is missing the column names of the result are the row
|
36 |
if \code{b} is missing the column names of the result are the row
|
| 38 |
names of \code{a}. No check is made that the column names of \code{a}
|
37 |
names of \code{a}. No check is made that the column names of \code{a}
|