GODataVector

GODataVector

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GOData
        ╰── GODataVector
            ├── GODataVectorStr
            ╰── GODataVectorVal

Description

Functions

go_data_vector_get_len ()

int
go_data_vector_get_len (GODataVector *vec);


go_data_vector_get_values ()

double *
go_data_vector_get_values (GODataVector *vec);


go_data_vector_get_value ()

double
go_data_vector_get_value (GODataVector *vec,
                          unsigned  i);


go_data_vector_get_str ()

char *
go_data_vector_get_str (GODataVector *vec,
                        unsigned  i);


go_data_vector_get_minmax ()

void
go_data_vector_get_minmax (GODataVector *vec,
                           double *min,
                           double *max);


go_data_vector_increasing ()

gboolean
go_data_vector_increasing (GODataVector *vec);


go_data_vector_decreasing ()

gboolean
go_data_vector_decreasing (GODataVector *vec);


go_data_vector_vary_uniformly ()

gboolean
go_data_vector_vary_uniformly (GODataVector *vec);

Types and Values

GODataVector

typedef struct _GODataVector GODataVector;


GODataVectorClass

typedef struct {
	GODataClass base;

	void	 (*load_len)    (GODataVector *vec);
	void	 (*load_values) (GODataVector *vec);
	double	 (*get_value)   (GODataVector *vec, unsigned i);
	char *(*get_str) (GODataVector *vec, unsigned i);
} GODataVectorClass;


GO_DATA_VECTOR_LEN_CACHED

#define GO_DATA_VECTOR_LEN_CACHED GO_DATA_SIZE_CACHED