Top | ![]() |
![]() |
![]() |
![]() |
unsigned int | b_vector_get_len () |
const double * | b_vector_get_values () |
double | b_vector_get_value () |
char * | b_vector_get_str () |
void | b_vector_get_minmax () |
gboolean | b_vector_is_varying_uniformly () |
double * | b_vector_replace_cache () |
unsigned int
b_vector_get_len (BVector *vec
);
Get the number of values in vec
and caches it.
const double *
b_vector_get_values (BVector *vec
);
Get the full array of values of vec
and cache them.
double b_vector_get_value (BVector *vec
,unsigned int i
);
Get a value in vec
.
char * b_vector_get_str (BVector *vec
,unsigned int i
,const gchar *format
);
Get a string representation of an element in vec
.
void b_vector_get_minmax (BVector *vec
,double *min
,double *max
);
Get the minimum and maximum values in vec
and cache them.
gboolean
b_vector_is_varying_uniformly (BVector *data
);
Returns whether elements of data
only increase or only decrease.
struct BVectorClass { BDataClass base; unsigned int (*load_len) (BVector * vec); double *(*load_values) (BVector * vec); double (*get_value) (BVector * vec, unsigned int i); double *(*replace_cache) (BVector *vec, unsigned int len); };
Class for BVector.
BDataClass |
base class. |
|
loads the vector length and returns it. |
||
loads the values and returns them. |
||
gets a value. |
||
replaces array cache |