![]() |
GIRAFFE Pipeline Reference Manual |
|||
|
|
Matrix Utilities
Detailed DescriptionTBD Function Documentation◆ giraffe_matrix_clear()
Set all elements of a matrix to zero.
The function replaces the value of each matrix element of matrix with Definition at line 796 of file gimatrix.c. ◆ giraffe_matrix_create_image()
Converts a matrix into an image.
The function converts a CPL matrix into a CPL image. The matrix elements are copied into the image pixel buffer. Definition at line 337 of file gimatrix.c. ◆ giraffe_matrix_dump()
Output a maximum number of rows of the input matrix.
Function prints part of a matrix. Printed are all columns, but only up to max_rows, number of rows. Each column has the column number printed as a header.
Definition at line 836 of file gimatrix.c. Referenced by giraffe_slitgeometry_print(). ◆ giraffe_matrix_leastsq()
Computes the solution of an equation using a pseudo-inverse.
The function solves the linear system mX * mA = mB
for the unknown column matrix mX. The solution is given by the expression mX = mB * transpose(mA) * inverse(mA * transpose(mA))
The solution matrix is solving the equation according to a least-squares criterion. To destroy this matrix the function
Definition at line 503 of file gimatrix.c. ◆ giraffe_matrix_sigma_fit()
Compute sigma of matrix fit.
Function computes sigma of fit between two matrixes
Definition at line 275 of file gimatrix.c. ◆ giraffe_matrix_sigma_mean()
Compute sigma of matrix elements, with a given mean value.
Function computes sigma of matrix elements, with a given mean value
Definition at line 229 of file gimatrix.c. ◆ giraffe_matrix_solve_cholesky()
Solve a linear system using the Cholesky decomposition.
The function solves the over-determined linear system Ax = b, where A is an A covariance matrix Cb of the right hand side vector b may be given. If it is not NULL, it is when the system is solved. It has to be a Similarly if the covariance matrix of the solution vector x, Cx, is not Definition at line 579 of file gimatrix.c. ◆ giraffe_matrix_sort()
Sort in place the matrix elements in ascending order.
The input matrix mA is sorted in place. On the successfull return the matrix mA contains the original values sorted in ascending order. Definition at line 380 of file gimatrix.c. |