solve | R Documentation |
Solve a system of equations or invert a float matrix.
## S4 method for signature 'float32' solve(a, b, ...)
a, b |
A float vector/matrix. |
... |
Ignored. |
A float matrix if inverting. If solving a system, a float vector if given one "right hand side", and a float matrix otherwise (just like R).
library(float) s = flrunif(10, 3) cp = crossprod(s) solve(cp) y = fl(1:3) solve(cp, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.