Top | ![]() |
![]() |
![]() |
![]() |
BMatrixSize | b_matrix_get_size () |
unsigned int | b_matrix_get_rows () |
unsigned int | b_matrix_get_columns () |
const double * | b_matrix_get_values () |
double | b_matrix_get_value () |
char * | b_matrix_get_str () |
void | b_matrix_get_minmax () |
double * | b_matrix_replace_cache () |
BMatrixSize
b_matrix_get_size (BMatrix *mat
);
Get the size of a BMatrix.
[skip]
unsigned int
b_matrix_get_rows (BMatrix *mat
);
Get the number of rows in a BMatrix.
unsigned int
b_matrix_get_columns (BMatrix *mat
);
Get the number of columns in a BMatrix.
const double *
b_matrix_get_values (BMatrix *mat
);
Get the array of values of mat
.
double b_matrix_get_value (BMatrix *mat
,unsigned int i
,unsigned int j
);
Get a value in mat
.
char * b_matrix_get_str (BMatrix *mat
,unsigned int i
,unsigned int j
,const gchar *format
);
Get a string representation of a value in mat
.
void b_matrix_get_minmax (BMatrix *mat
,double *min
,double *max
);
Get the minimum and maximum values in mat
.
typedef struct { unsigned int rows; unsigned int columns; } BMatrixSize;
Holds the size of a matrix.
struct BMatrixClass { BDataClass base; BMatrixSize(*load_size) (BMatrix * vec); double *(*load_values) (BMatrix * vec); double (*get_value) (BMatrix * mat, unsigned int i, unsigned int j); double *(*replace_cache) (BMatrix *mat, unsigned int len); };
Class for BMatrix.
BDataClass |
base class. |
|
loads the matrix length. |
||
loads the values in the cache. |
||
gets a value. |
||
replaces array cache |