|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
const vtkm::Vec< T, NumCol > & | vtkm::MatrixGetRow (const vtkm::Matrix< T, NumRow, NumCol > &matrix, vtkm::IdComponent rowIndex) |
| Returns a tuple containing the given row (indexed from 0) of the given matrix. More...
|
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
vtkm::Vec< T, NumRow > | vtkm::MatrixGetColumn (const vtkm::Matrix< T, NumRow, NumCol > &matrix, vtkm::IdComponent columnIndex) |
| Returns a tuple containing the given column (indexed from 0) of the given matrix. More...
|
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
void | vtkm::MatrixSetRow (vtkm::Matrix< T, NumRow, NumCol > &matrix, vtkm::IdComponent rowIndex, const vtkm::Vec< T, NumCol > &rowValues) |
| Convenience function for setting a row of a matrix. More...
|
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
void | vtkm::MatrixSetColumn (vtkm::Matrix< T, NumRow, NumCol > &matrix, vtkm::IdComponent columnIndex, const vtkm::Vec< T, NumRow > &columnValues) |
| Convenience function for setting a column of a matrix. More...
|
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol, vtkm::IdComponent NumInternal> |
vtkm::Matrix< T, NumRow, NumCol > | vtkm::MatrixMultiply (const vtkm::Matrix< T, NumRow, NumInternal > &leftFactor, const vtkm::Matrix< T, NumInternal, NumCol > &rightFactor) |
| Standard matrix multiplication. More...
|
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
vtkm::Vec< T, NumRow > | vtkm::MatrixMultiply (const vtkm::Matrix< T, NumRow, NumCol > &leftFactor, const vtkm::Vec< T, NumCol > &rightFactor) |
| Standard matrix-vector multiplication. More...
|
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
vtkm::Vec< T, NumCol > | vtkm::MatrixMultiply (const vtkm::Vec< T, NumRow > &leftFactor, const vtkm::Matrix< T, NumRow, NumCol > &rightFactor) |
| Standard vector-matrix multiplication. More...
|
|
template<typename T , vtkm::IdComponent Size> |
vtkm::Matrix< T, Size, Size > | vtkm::MatrixIdentity () |
| Returns the identity matrix. More...
|
|
template<typename T , vtkm::IdComponent Size> |
void | vtkm::MatrixIdentity (vtkm::Matrix< T, Size, Size > &matrix) |
| Fills the given matrix with the identity matrix. More...
|
|
template<typename T , vtkm::IdComponent NumRows, vtkm::IdComponent NumCols> |
vtkm::Matrix< T, NumCols, NumRows > | vtkm::MatrixTranspose (const vtkm::Matrix< T, NumRows, NumCols > &matrix) |
| Returns the transpose of the given matrix. More...
|
|
template<typename T , vtkm::IdComponent Size> |
vtkm::Vec< T, Size > | vtkm::SolveLinearSystem (const vtkm::Matrix< T, Size, Size > &A, const vtkm::Vec< T, Size > &b, bool &valid) |
| Solve the linear system Ax = b for x. More...
|
|
template<typename T , vtkm::IdComponent Size> |
vtkm::Matrix< T, Size, Size > | vtkm::MatrixInverse (const vtkm::Matrix< T, Size, Size > &A, bool &valid) |
| Find and return the inverse of the given matrix. More...
|
|
template<typename T , vtkm::IdComponent Size> |
T | vtkm::MatrixDeterminant (const vtkm::Matrix< T, Size, Size > &A) |
| Compute the determinant of a matrix. More...
|
|
template<typename T > |
T | vtkm::MatrixDeterminant (const vtkm::Matrix< T, 1, 1 > &A) |
|
template<typename T > |
T | vtkm::MatrixDeterminant (const vtkm::Matrix< T, 2, 2 > &A) |
|
template<typename T > |
T | vtkm::MatrixDeterminant (const vtkm::Matrix< T, 3, 3 > &A) |
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
bool | vtkm::operator== (const vtkm::Matrix< T, NumRow, NumCol > &a, const vtkm::Matrix< T, NumRow, NumCol > &b) |
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
bool | vtkm::operator!= (const vtkm::Matrix< T, NumRow, NumCol > &a, const vtkm::Matrix< T, NumRow, NumCol > &b) |
|
template<typename T , vtkm::IdComponent NumRow, vtkm::IdComponent NumCol> |
std::ostream & | vtkm::operator<< (std::ostream &stream, const vtkm::Matrix< T, NumRow, NumCol > &mat) |
| Helper function for printing out matricies during testing. More...
|
|