crossprod | R Documentation |
Croddproducts.
## S4 method for signature 'Mat'
crossprod(x, y = NULL)
## S4 method for signature 'Mat'
tcrossprod(x, y = NULL)
x |
A float vector/matrix. |
y |
Either |
If y
is a numeric matrix, then x
will be promoted to a numeric
matrix, and the return will therefore be numeric (not float).
A float matrix (unless y
is numeric; see details section).
library(float)
s = flrunif(10, 3)
crossprod(s)
tcrossprod(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.