Runs any of TDA's matrix commands on R matrices and returns R matrices.
This is a generic interface rather than one function per operation: R
already has %*%, solve and eigen, so named wrappers
would add nothing, but the whole of TDA's matrix language stays reachable.
Arguments
- op
the command name. TDA's matrix language has about eighty:
mmulmultiplies,minvsandmginvinvert,mtransptransposes,mevandmevsgive eigenvalues,msvdthe singular value decomposition,mchola Cholesky factor,mrankthe rank. Note the names: inversion isminvs, notminv, and transpositionmtransp, notmtra.- ...
input matrices, in the order the command expects.
- out
names of the result matrices to read back.
- options
a named list of further TDA options, passed through.
- dir
working directory.
How it works
The inputs are written as TDA matrices named A, B, ... in
order, the command is run, and every matrix named in out is read
back. TDA's convention is that results come last in the argument list, so
mmul(A,B,R) multiplies A by B into R.
See also
Other smoothing:
tda_integrate(),
tda_interp(),
tda_isotonic(),
tda_sma(),
tda_smd(),
tda_spl()