LazyMatrix-class | R Documentation |
LazyMatrix class.
eval_rule may only contain LEFT, RIGHT, names in components
, and simple arithmetic
operations (), -*+, %*%
.
LEFT and RIGHT specify the interface with the outside world: if your object is M and you perform M %*% x
,
then the value of x is substituted into RIGHT (and an identity matrix for LEFT).
Like with typical R syntax, asterisk (*) means componentwise multiplication, and wrapped in percents
(%*%
) it means matrix multiplication.
components
Named list containing matrices. Anything with a matrix multiplication operator ought to work. Notably, you can put another instance of LazyMatrixEval.
dim
Dimensions of the matrix represented here.
eval_rule
Length-1 character describing how to compute Mx or yM for this matrix (M) given x or y.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.