Class that provides utility functions for RCMatrix_interface.
More...
#include <RCMatrix_utility.h>
template<class N, class T>
class RCMatrix_utility< N, T >
Class that provides utility functions for RCMatrix_interface.
◆ diag()
template<class N , class T >
Generate a diagonal matrix.
- Parameters
-
[out] | matrix | Resulting diagonal matrix. |
[in] | diag | Diagonal entries. |
◆ report()
template<class N , class T >
Report matrix properties.
- Parameters
-
[in] | matrix | Matrix to examine. |
[in] | name | Name of the matrix used in the reporting text. |
- Returns
if
the matrix is symmetric and diagonals are all positive, false
otherwise.
◆ symmetricity_error()
template<class N , class T >
Measure the uniform norm of the symmetericity error.
- Parameters
-
[in] | matrix | Matrix to measure the error. |
- Returns
- The uniform norm.
The documentation for this class was generated from the following file: