1.4.1
CCC
 
MatrixSquareGeneral.cpp File Reference

Macros

#define SQ(i, j, neq)   ((j) * neq + (i))
 
#define A(i, j)   a[SQ(i,j,neq)]
 
#define B(i, j)   b[SQ(i,j,neq)]
 
#define C(i, j)   c[SQ(i,j,neqm1)]
 

Functions

MatrixSquareGeneralprodNormMatMat (const AMatrixDense *a, const AMatrixDense *m, bool transpose)
 
MatrixSquareGeneralprodNormMat (const AMatrixDense &a, const VectorDouble &vec, bool transpose)
 

Macro Definition Documentation

◆ A

#define A (   i,
 
)    a[SQ(i,j,neq)]

◆ B

#define B (   i,
 
)    b[SQ(i,j,neq)]

◆ C

#define C (   i,
 
)    c[SQ(i,j,neqm1)]

◆ SQ

#define SQ (   i,
  j,
  neq 
)    ((j) * neq + (i))

Function Documentation

◆ prodNormMat()

MatrixSquareGeneral* prodNormMat ( const AMatrixDense a,
const VectorDouble vec = VectorDouble(),
bool  transpose = false 
)

Product 't(A)' %*% 'A' or 'A' %*% 't(A)'

◆ prodNormMatMat()

MatrixSquareGeneral* prodNormMatMat ( const AMatrixDense a,
const AMatrixDense m,
bool  transpose = false 
)

Product 't(A)' %*% 'M' %*% 'A' or 'A' %*% 'M' %*% 't(A)'