Next: bpipe_output_delete, Previous: bpipe_matrix_override_new, Up: Internal Functions
determine if a matrix specification is valid.
#include <bpipe/bpipe.h>int bpipe_matrix_verify(BPMatrix *matrix);
BPMatrix *matrix
- the matrix specification to validate.
The number of dimensions and the extent of the dimensions of a
matrix specification are checked to determine if they are positive.
the number of elements in the matrix are recalculated. If the
passed pointer is NULL
, the routine simply returns.
If the specification is valid it returns zero, else non-zero.