Linear System

 

Functions

Name Brief Example
ocmath_ex_svbksb Solves linear system using singular value backsubstitution. Examples
ocmath_ex_svdcmp Singular-value decomposition Examples
ocmath_lu Uses partial pivoting, with row interchanges. Examples
ocmath_lu_solve Solves a real system of linear equations with multiple right-hand sides. Examples
ocmath_norm The general norm funtion is to compute largest singular value for vector. Examples
ocmath_norm2 General norm function, for matrix of nRows x nCols Examples
ocmath_qr Get matrix decomposition that can be used to solve linear systems of equations. Examples
ocmath_svd Singular-value decomposition for matrix of double.

A=U*S*V', A is m by n, U is m by m, S is a vector to store diagnal elements of matrix of size min(m,n), V is n by n, it's the same as Matlab

Examples
ocmath_svd_complex Singular-value decomposition for matrix of complex.

A=U*S*V', A is m by n, U is m by m, S is a vector to store diagnal elements of matrix of size min(m,n),V is n by n, it's the same as Matlab

Examples
SVD Singular value decomposition of complex matrix Examples