bdSolve | R Documentation |
This function solve matrix equations
A * X = B
where A is an N-by-N matrix and X and B are N-by-NRHS matrices.
bdSolve(A, B)
A |
numerical matrix. |
B |
numerical matrix. |
X numerical matrix.
library(BigDataStatMeth) n <- 500 m <- 500 # R Object A <- matrix(runif(n*m), nrow = n, ncol = m) B <- matrix(runif(n), nrow = n) AS <- A%*%t(A) X <- bdSolve(A, B) XR <- solve(A,B) all.equal(X, XR, check.attributes=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.