23 #include <cusp/detail/config.h>
42 template <
typename MatrixType>
55 template <
typename MatrixType,
typename OutputStream>
65 template <
typename MatrixType>
78 template <
typename Array1,
typename Array2>
80 const Array2& array2);
94 template <
typename Array1,
typename Array2,
typename Array3>
97 const Array3& array3);
113 template <
typename Array1,
typename Array2,
typename Array3,
typename Array4>
115 const Array2& array2,
116 const Array3& array3,
117 const Array4& array4);
124 #include <cusp/detail/verify.inl>
void assert_is_valid_matrix(const MatrixType &matrix)
Validate format of a given matrix and exit if invalid.
bool is_valid_matrix(const MatrixType &matrix, OutputStream &ostream)
Validate format of a given matrix.
void 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...