30 #ifndef UPROC_THRESHOLDS_H
31 #define UPROC_THRESHOLDS_H
69 const double *values);
76 unsigned long col,
double value);
116 const char *pathfmt, ...);
124 const char *pathfmt, va_list ap);
void uproc_matrix_destroy(uproc_matrix *matrix)
Destroy matrix object.
double uproc_matrix_get(const uproc_matrix *matrix, unsigned long row, unsigned long col)
Get the value of matrix[row, col].
uproc_matrix * uproc_matrix_loads(uproc_io_stream *stream)
Load matrix from stream.
uproc_matrix * uproc_matrix_load(enum uproc_io_type iotype, const char *pathfmt,...)
Load matrix from file.
uproc_matrix * uproc_matrix_loadv(enum uproc_io_type iotype, const char *pathfmt, va_list ap)
Load matrix from file.
int uproc_matrix_stores(const uproc_matrix *matrix, uproc_io_stream *stream)
Store matrix to stream.
void uproc_matrix_set(uproc_matrix *matrix, unsigned long row, unsigned long col, double value)
Set the value of matrix[row, col].
Optionally compressed I/O stream.
int uproc_matrix_store(const uproc_matrix *matrix, enum uproc_io_type iotype, const char *pathfmt,...)
Store matrix to file.
void uproc_matrix_dimensions(const uproc_matrix *matrix, unsigned long *rows, unsigned long *cols)
Obtain matrix dimensions.
uproc_matrix * uproc_matrix_create(unsigned long rows, unsigned long cols, const double *values)
Create matrix object.
uproc_io_type
Underlying stream type.
Definition: io.h:59
int uproc_matrix_storev(const uproc_matrix *matrix, enum uproc_io_type iotype, const char *pathfmt, va_list ap)
Store matrix to file.