33 #include <itpp/itexports.h> 48 ITPP_EXPORT
bool ls_solve(
const mat &A,
const vec &b, vec &x);
55 ITPP_EXPORT vec
ls_solve(
const mat &A,
const vec &b);
62 bool ls_solve(
const mat &A,
const mat &B, mat &X);
69 ITPP_EXPORT mat
ls_solve(
const mat &A,
const mat &B);
77 ITPP_EXPORT
bool ls_solve(
const cmat &A,
const cvec &b, cvec &x);
84 ITPP_EXPORT cvec
ls_solve(
const cmat &A,
const cvec &b);
91 ITPP_EXPORT
bool ls_solve(
const cmat &A,
const cmat &B, cmat &X);
98 ITPP_EXPORT cmat
ls_solve(
const cmat &A,
const cmat &B);
106 ITPP_EXPORT
bool ls_solve_chol(
const mat &A,
const vec &b, vec &x);
120 ITPP_EXPORT
bool ls_solve_chol(
const mat &A,
const mat &B, mat &X);
135 ITPP_EXPORT
bool ls_solve_chol(
const cmat &A,
const cvec &b, cvec &x);
142 ITPP_EXPORT cvec
ls_solve_chol(
const cmat &A,
const cvec &b);
149 ITPP_EXPORT
bool ls_solve_chol(
const cmat &A,
const cmat &B, cmat &X);
156 ITPP_EXPORT cmat
ls_solve_chol(
const cmat &A,
const cmat &B);
165 ITPP_EXPORT
bool ls_solve_od(
const mat &A,
const vec &b, vec &x);
172 ITPP_EXPORT vec
ls_solve_od(
const mat &A,
const vec &b);
179 ITPP_EXPORT
bool ls_solve_od(
const mat &A,
const mat &B, mat &X);
186 ITPP_EXPORT mat
ls_solve_od(
const mat &A,
const mat &B);
194 ITPP_EXPORT
bool ls_solve_od(
const cmat &A,
const cvec &b, cvec &x);
201 ITPP_EXPORT cvec
ls_solve_od(
const cmat &A,
const cvec &b);
208 ITPP_EXPORT
bool ls_solve_od(
const cmat &A,
const cmat &B, cmat &X);
215 ITPP_EXPORT cmat
ls_solve_od(
const cmat &A,
const cmat &B);
224 ITPP_EXPORT
bool ls_solve_ud(
const mat &A,
const vec &b, vec &x);
231 ITPP_EXPORT vec
ls_solve_ud(
const mat &A,
const vec &b);
238 ITPP_EXPORT
bool ls_solve_ud(
const mat &A,
const mat &B, mat &X);
245 ITPP_EXPORT mat
ls_solve_ud(
const mat &A,
const mat &B);
253 ITPP_EXPORT
bool ls_solve_ud(
const cmat &A,
const cvec &b, cvec &x);
260 ITPP_EXPORT cvec
ls_solve_ud(
const cmat &A,
const cvec &b);
267 ITPP_EXPORT
bool ls_solve_ud(
const cmat &A,
const cmat &B, cmat &X);
274 ITPP_EXPORT cmat
ls_solve_ud(
const cmat &A,
const cmat &B);
282 ITPP_EXPORT
bool backslash(
const mat &A,
const vec &b, vec &x);
289 ITPP_EXPORT vec
backslash(
const mat &A,
const vec &b);
296 ITPP_EXPORT
bool backslash(
const mat &A,
const mat &B, mat &X);
303 ITPP_EXPORT mat
backslash(
const mat &A,
const mat &B);
311 ITPP_EXPORT
bool backslash(
const cmat &A,
const cvec &b, cvec &x);
318 ITPP_EXPORT cvec
backslash(
const cmat &A,
const cvec &b);
325 ITPP_EXPORT
bool backslash(
const cmat &A,
const cmat &B, cmat &X);
332 ITPP_EXPORT cmat
backslash(
const cmat &A,
const cmat &B);
408 #endif // #ifndef LS_SOLVE_H bool ls_solve_od(const mat &A, const vec &b, vec &x)
Solves overdetermined linear equation systems.
vec forward_substitution(const mat &L, const vec &b)
Forward substitution of square matrix.
bool ls_solve_chol(const mat &A, const vec &b, vec &x)
Solve linear equation system by Cholesky factorisation.
vec backward_substitution(const mat &U, const vec &b)
Backward substitution of square matrix.
Matrix Class Definitions.
bool ls_solve_ud(const mat &A, const vec &b, vec &x)
Solves underdetermined linear equation systems.
bool backslash(const mat &A, const vec &b, vec &x)
A general linear equation system solver.
bool ls_solve(const mat &A, const vec &b, vec &x)
Solve linear equation system by LU factorisation.