Description Usage Arguments Value Examples
This function uses the pseudoinverse method to solve systems of equations given in non-square matrices.
1 | gen_inverse(A, b)
|
A |
An n x m matrix where n>m |
b |
An n x 1 vector for which to solve Ax=b |
The m x 1 vector x that solve the system, if it exists; otherwise, an error
1 | gen_inverse(matrix(1:6, nrow = 3), 1:3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.