Description Usage Arguments Details Value Note Author(s) References See Also Examples
Solves the system A %*% x == b
for x
given A
and b
, where A
is a Kronecker product of matrices.
1 | klin.solve(A, b)
|
A |
A list that contains the matrices, preferably of
class |
b |
A conformable numeric vector. |
The matrices in the list A
should be square matrices of
the class Matrix
. This allows the user to take advantage of
their special structure (eg sparsity), also, their factors will be
memoized by Matrix
.
A numeric vector x
which solves the system.
The algorithm (given in the reference) is orders of magnitude
more efficient (both in terms of CPU and memory usage) than computing
the Kronecker product and calling solve
.
Tamas K Papp <tpapp@princeton.edu>
Paul E. Buis and Wayne R. Dyksen. Efficient Vector and Parallel Manipulation of Tensor Products. ACM Transactions on Mathematical Software, Vol. 22, No. 1, March 1996, Pages 18–23.
klin.eval
, klin.preparels
,
klin.ls
, klin.klist
.
1 2 3 4 5 6 7 8 9 |
Loading required package: Matrix
[1] -1.953993e-14 6.972201e-14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.