1.2.3
CCC
 
MatrixSquareGeneral.cpp File Reference
#include "geoslib_old_f.h"
#include "Matrix/MatrixSquareGeneral.hpp"
#include "Basic/VectorHelper.hpp"
#include "Basic/AException.hpp"

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

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

Function Documentation

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

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

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

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