LazyMatrix-class: LazyMatrix class.

LazyMatrix-classR Documentation

LazyMatrix class.

Description

LazyMatrix class.

Details

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.

Slots

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.


ekernf01/MatrixLazyEval documentation built on July 24, 2022, 2:42 a.m.