solve_ols: Solve linear system

Usage Arguments

Usage

1
solve_ols(A, b, ncores = 1, type = "GS", iterNum = 10000)

Arguments

A

Matrix.

b

Vector. Its dimension should match that of matrix A.

Solve linear system Ax = b using iteration methods as Gauss-Seidel or Jacobi. solve_ols(diag(rep(1, 3)), rep(1,3), ncores = 2, iterNum = 100)


sophiaycl/6520HW2 documentation built on June 6, 2019, 8:36 p.m.