Goffice Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
Synopsis
GODataMatrix; GODataMatrixClass; GODataMatrixSize; GODataMatrixSize go_data_matrix_get_size (GODataMatrix *mat
); double * go_data_matrix_get_values (GODataMatrix *mat
); double go_data_matrix_get_value (GODataMatrix *mat
,unsigned i
,unsigned j
); char * go_data_matrix_get_str (GODataMatrix *mat
,unsigned i
,unsigned j
); void go_data_matrix_get_minmax (GODataMatrix *mat
,double *min
,double *max
); #define GO_DATA_MATRIX_SIZE_CACHED
Details
GODataMatrixClass
typedef struct { GODataClass base; void (*load_size) (GODataMatrix *vec); void (*load_values) (GODataMatrix *vec); double (*get_value) (GODataMatrix *mat, unsigned i, unsigned j); char *(*get_str) (GODataMatrix *mat, unsigned i, unsigned j); } GODataMatrixClass;
GODataMatrixSize
typedef struct { int rows; /* negative if dirty, includes missing values */ int columns; /* negative if dirty, includes missing values */ } GODataMatrixSize;
go_data_matrix_get_size ()
GODataMatrixSize go_data_matrix_get_size (GODataMatrix *mat
);
|
|
Returns : |
go_data_matrix_get_values ()
double * go_data_matrix_get_values (GODataMatrix *mat
);
|
|
Returns : |
go_data_matrix_get_value ()
double go_data_matrix_get_value (GODataMatrix *mat
,unsigned i
,unsigned j
);
|
|
|
|
|
|
Returns : |
go_data_matrix_get_str ()
char * go_data_matrix_get_str (GODataMatrix *mat
,unsigned i
,unsigned j
);
|
|
|
|
|
|
Returns : |
go_data_matrix_get_minmax ()
void go_data_matrix_get_minmax (GODataMatrix *mat
,double *min
,double *max
);
|
|
|
|
|