Matrix Utilities
Defines | |
| #define | PIX_STACK_SIZE 50 |
Functions | |
| cxdouble | giraffe_matrix_sigma_mean (const cpl_matrix *matrix, cxdouble mean) |
| Compute sigma of matrix elements, with a given mean value. | |
| cxdouble | giraffe_matrix_sigma_fit (const cpl_matrix *matrix, const cpl_matrix *matrix_fit) |
| Compute sigma of matrix fit. | |
| cpl_image * | giraffe_matrix_create_image (const cpl_matrix *matrix) |
| Converts a matrix into an image. | |
| cxint | giraffe_matrix_sort (cpl_matrix *mA) |
| Sort in place the matrix elements in ascending order. | |
| cpl_matrix * | giraffe_matrix_leastsq (const cpl_matrix *mA, const cpl_matrix *mB) |
| Computes the solution of an equation using a pseudo-inverse. | |
| cxint | giraffe_matrix_clear (cpl_matrix *matrix) |
| Set all elements of a matix to zero. | |
| void | giraffe_matrix_dump (const cpl_matrix *matrix, cxint max_rows) |
| Output a maximum number of rows of the input matrix. | |
Detailed Description
TBDFunction Documentation
|
|
Set all elements of a matix to zero.
0.
Definition at line 571 of file gimatrix.c. |
|
|
Converts a matrix into an image.
Definition at line 344 of file gimatrix.c. |
|
||||||||||||
|
Output a maximum number of rows of the input matrix.
Definition at line 611 of file gimatrix.c. Referenced by giraffe_slitgeometry_print(), and giraffe_wcalsolution_dump(). |
|
||||||||||||
|
Computes the solution of an equation using a pseudo-inverse.
mX * mA = mB mX = mB * transpose(mA) * inverse(mA * transpose(mA)) cpl_matrix_delete() should be used.
Definition at line 510 of file gimatrix.c. |
|
||||||||||||
|
Compute sigma of matrix fit.
Definition at line 282 of file gimatrix.c. |
|
||||||||||||
|
Compute sigma of matrix elements, with a given mean value.
Definition at line 236 of file gimatrix.c. |
|
|
Sort in place the matrix elements in ascending order.
Definition at line 387 of file gimatrix.c. References PIX_STACK_SIZE. |
