algebra.h
Go to the documentation of this file.
int MatrixDeterminantSgn(double epsilon, unsigned int n, double *A) Sign of the determinant of a matrix. void LSSetRH(unsigned int i, double v, TLinearSystem *ls) Defines the vector being used in a linear system. Definition: algebra.c:1166 double * GetLSMatrixBuffer(TLinearSystem *ls) Buffer to store the A matrix. Definition: algebra.c:1146 double * GetNewtonRHBuffer(TNewton *n) Buffer to store the Newton right hand. Definition: algebra.c:1131 unsigned int FindKernel(unsigned int nr, unsigned int nc, double *mT, unsigned int dof, boolean check, double epsilon, double **T) Computes the kernel of a matrix. Definition: algebra.c:1098 unsigned int FindKernelAndIndependentRows(unsigned int nr, unsigned int nc, double *mT, unsigned int dof, double epsilon, boolean *singular, boolean **IR, double **T) Computes the kernel of a matrix and determines the independent rows of this matrix. Definition: algebra.c:1112 double * GetNewtonMatrixBuffer(TNewton *n) Buffer to store the Newton matrix. Definition: algebra.c:1126 double * GetLSRHBuffer(TLinearSystem *ls) Buffer to store the linear system right hand (RH). Definition: algebra.c:1151 int NewtonStep(double nullSingularValue, double *x, double *dif, TNewton *n) One step in a Newton iteration. double * GetLSSolutionBuffer(TLinearSystem *ls) Buffer to store the linear system solution. Definition: algebra.c:1156 void NewtonSetRH(unsigned int i, double v, TNewton *n) Defines the vector being used in a Newton step. Definition: algebra.c:1141 void LSSetMatrix(unsigned int i, unsigned int j, double v, TLinearSystem *ls) Defines the matrix being used in a linear system. Definition: algebra.c:1161 double NewtonGetResult(unsigned int i, TNewton *n) Gets the vector resulting from a Newton step. void InitLS(unsigned int nr, unsigned int nc, TLinearSystem *ls) Defines a linear system structure. unsigned int FindRank(double epsilon, unsigned int nr, unsigned int nc, double *mT) Determines the row-rank of a matrix. Definition: algebra.c:1084 void NewtonSetMatrix(unsigned int i, unsigned int j, double v, TNewton *n) Defines the matrix being used in a Newton step. Definition: algebra.c:1136 |
Follow us!