Description Usage Arguments Value Examples
solve_ols can use Gauss-Seidel , Jacobi(sequential), or Jacobi (parallel) to solve a system of equations Ax = b given A and b.
1 |
A |
Matrix with n rows and p columns |
b |
Vector of length n |
method |
Iterative method for solving Ax = b, either 'gs' for Gauss-Seidel (sequential), 'jacobi' for Jacobi (sequential), or 'parallel' for parallel Jacobi. |
iter |
Number of iterations for the solver. |
ncores |
Optionally set number of cores. If left empty, solve_ols will get the number of cores on the user's system and subtract 1. |
Numeric vector x, solution to Ax = b.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.