Description Usage Arguments Value Examples
This function solves a linear system using Gauss-Seidel, Jacobi method, or Jacobi (parallel) method.
1 | solve_ols(A, b, x0, method, ncores)
|
A |
= a symmetric matrix |
b |
= a vector |
x0 |
= initial vector for iterative process |
method |
= one of three methods: "Gauss-Seidel", "Jacobi", or "Jacobi-Parallel" |
a list with x, the final estimated vector, and total_iter, the number of iterations
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.