Validate matrix format. More...
Go to the source code of this file.
Functions | |
template<typename MatrixType > | |
bool | cusp::is_valid_matrix (const MatrixType &matrix) |
Validate format of a given matrix. More... | |
template<typename MatrixType , typename OutputStream > | |
bool | cusp::is_valid_matrix (const MatrixType &matrix, OutputStream &ostream) |
Validate format of a given matrix. More... | |
template<typename MatrixType > | |
void | cusp::assert_is_valid_matrix (const MatrixType &matrix) |
Validate format of a given matrix and exit if invalid. More... | |
template<typename Array1 , typename Array2 > | |
void | cusp::assert_same_dimensions (const Array1 &array1, const Array2 &array2) |
Assert dimensions of two arrays are equal. Throw invalid input exception if dimensions do not match. More... | |
template<typename Array1 , typename Array2 , typename Array3 > | |
void | cusp::assert_same_dimensions (const Array1 &array1, const Array2 &array2, const Array3 &array3) |
Assert dimensions of two arrays are equal. Throw invalid input exception if dimensions do not match. More... | |
template<typename Array1 , typename Array2 , typename Array3 , typename Array4 > | |
void | cusp::assert_same_dimensions (const Array1 &array1, const Array2 &array2, const Array3 &array3, const Array4 &array4) |
Assert dimensions of two arrays are equal. Throw invalid input exception if dimensions do not match. More... | |
Validate matrix format.
Definition in file verify.h.