25#include "bitpit_common.hpp"
27#include "matrix_utilities.hpp"
31namespace linearalgebra {
52 return row + col * nRows;
69 return row * nCols + col;
89 assert(uplo ==
'L' || uplo ==
'U');
91 if ((uplo ==
'U' && col < row) || (uplo ==
'L' && col > row)) {
115 assert(uplo ==
'L' || uplo ==
'U');
117 if ((uplo ==
'U' && col < row) || (uplo ==
'L' && col > row)) {
#define BITPIT_UNUSED(variable)
int linearIndexRowMajor(int row, int col, int nRows, int nCols)
int linearIndexColMajorSymmetric(int row, int col, int nRows, int nCols, char uplo)
int linearIndexRowMajorSymmetric(int row, int col, int nRows, int nCols, char uplo)
int linearIndexColMajor(int row, int col, int nRows, int nCols)