gimatrix.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef GIMATRIX_H
00029 #define GIMATRIX_H
00030
00031 #include <cxtypes.h>
00032
00033 #include <cpl_macros.h>
00034 #include <cpl_matrix.h>
00035 #include <cpl_image.h>
00036
00037
00038 #ifdef __cplusplus
00039 extern "C" {
00040 #endif
00041
00042
00043
00044
00045
00046
00047 cxdouble giraffe_matrix_sigma_mean(const cpl_matrix*, cxdouble);
00048 cxdouble giraffe_matrix_sigma_fit(const cpl_matrix*,
00049 const cpl_matrix*);
00050 cxint giraffe_matrix_sort(cpl_matrix*);
00051
00052 cpl_matrix *giraffe_matrix_leastsq(const cpl_matrix*,
00053 const cpl_matrix*);
00054
00055 cpl_matrix*
00056 giraffe_matrix_solve_cholesky(const cpl_matrix* A, const cpl_matrix* b,
00057 const cpl_matrix* Cb, cpl_matrix* Cx);
00058
00059 cxint giraffe_matrix_clear(cpl_matrix* matrix);
00060
00061 void giraffe_matrix_dump(const cpl_matrix* matrix, cxint max_rows);
00062
00063
00064
00065
00066
00067
00068 cpl_image *giraffe_matrix_create_image(const cpl_matrix* matrix);
00069
00070
00071 #ifdef __cplusplus
00072 }
00073 #endif
00074
00075 #endif