INGOR
|
Enumerations | |
enum | ytMatrix_Transpose |
This specifies transposing of a matrix in BLAS routines. Use ytMatrix_L_Transpose for LAPACK routines. | |
enum | ytMatrix_L_Transpose { ytMatrix_L_NO_TRANS , ytMatrix_L_TRANS } |
This specifies transposing of a matrix in LAPACK routines. Use ytMatrix_Transpose for BLAS routines. More... | |
Functions | |
double | ytMatrix_trace (const int n, const int m, double *X) |
Returns the trace of the given matrix. | |
int | ytMatrix_dsytrf_work_size (int n) |
Returns the optimal working memory size for dsytrf routine. | |
void | ytMatrix_print (FILE *fp, const double *X, int m, int n, int N) |
Prints the matrix. | |
void | ytMatrix_printTrans (FILE *fp, const double *X, int m, int n, int N) |
Prints the transposed or row-major matrix. | |
enum ytMatrix_L_Transpose |
This specifies transposing of a matrix in LAPACK routines. Use ytMatrix_Transpose for BLAS routines.
Enumerator | |
---|---|
ytMatrix_L_NO_TRANS | No transpose. |
ytMatrix_L_TRANS | Transpose. |
int ytMatrix_dsytrf_work_size | ( | int | n | ) |
Returns the optimal working memory size for dsytrf routine.
void ytMatrix_print | ( | FILE * | fp, |
const double * | X, | ||
int | m, | ||
int | n, | ||
int | N | ||
) |
Prints the matrix.
fp | |
X | |
m | |
n | |
N |
void ytMatrix_printTrans | ( | FILE * | fp, |
const double * | X, | ||
int | m, | ||
int | n, | ||
int | N | ||
) |
Prints the transposed or row-major matrix.
fp | |
X | |
m | |
n | |
N |
double ytMatrix_trace | ( | const int | n, |
const int | m, | ||
double * | X | ||
) |
Returns the trace of the given matrix.
The trace of a matrix is the sum of diagonal elements of the matrix.