Description Usage Arguments Value Examples
solve_ols function
1 | solve_ols(A, b, n_cores = 2, method, n_iter = 100)
|
A |
the (square) matrix of coefficients of the linear system |
b |
vector of values for each of the linear equation in the system |
n_cores |
specifies the number of cores for parallel computing framework |
method |
specifies the method to solve the linear system, "GS" for Gauss-Seidel, "Jacobi" for Jacobi |
n_iter |
states the number of iterations to convergence/stop updates. Default is 100 |
The solution vector x
for linear system Ax = b
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.