matmult | R Documentation |
Matrix / vector multiplication of mpfr
(and “simple”
numeric
) matrices and vectors.
matmult (x,y, fPrec = 2)
or
crossprod(x,y, fPrec = 2)
use higher precision in underlying computations.
matmult(x, y, ...)
x , y |
|
... |
arguments passed to the hidden underlying
|
a (base R) matrix
or mpfrMatrix
,
depending on the classes of x
and y
.
Using matmult(x,y)
instead of x %*% y
, makes sense
mainly if you use non-default fPrec
or precBits
arguments.
The crossprod()
, and tcrossprod()
function
have the identical optional arguments fPrec
or precBits
.
Martin Maechler
%*%
,
crossprod
, tcrossprod
.
## FIXME: add example
## 1) matmult() <--> %*%
## 2) crossprod() , tcrossprod() %% <--> ./mpfrMatrix-class.Rd examples (!)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.