Collection of matrix operation functions.


void mxMatAddMat(Mat* mat1, Mat* mat2, Mat* out)
Matrix addition -- may be in-situ
void mxMatSubMat(Mat* mat1, Mat* mat2, Mat* out)
Matrix subtraction -- may be in-situ
void mxMatMulMat(Mat* mat1, Mat* mat2, Mat* out)
Matrix-matrix multiplication
void mxMatMulTrMat(Mat* mat1, Mat* mat2, Mat* out)
Matrix-matrix transposed multiplication.
void mxTrMatMulMat(Mat* mat1, Mat* mat2, Mat* out)
Matrix transposed-matrix multiplication.
void mxMatMulVec(Mat* mat, Vec* b, Vec* out)
Matrix-vector multiplication.
void mxRealMulMat(real scalar, Mat* matrix, Mat* out)
Scalar-matrix multiply -- may be in-situ
void mxVecMulMat(Vec* b, Mat* mat, Vec* out)
Vector-matrix multiplication.
void mxTrMat(Mat* in, Mat* out)
Transpose matrix
void mxSwapRowsMat(Mat* mat, int i, int j, int lo, int hi)
Swaps rows i and j of matrix A upto column lim.
void mxSwapColsMat(Mat* mat, int i, int j, int lo, int hi)
Swap columns i and j of matrix A upto row lim.
void mxMatAddRealMulMat(Mat* mat1, Mat* mat2, real s, Mat* out)
Matrix-scalar multiply and add.
void mxVecAddRealMulMatMulVec(Vec* v1, real alpha, Mat* mat, Vec* v2, Vec* out)
Matrix-vector multiply and add.
void mxVecAddRealMulVecMulMat(Vec* v1, real alpha, Vec* v2, Mat* mat, Vec* out)
Vector-matrix multiply and add -- may not be in situ -- returns out' == v1' + alpha * v2'*A


Documentation

Collection of matrix operation functions. Based on the "Meschach Library", available at the anonymous ftp site thrain.anu.edu.au in the directory pub/meschach.

Author:
David E. Stewart (david.stewart@anu.edu.au) Zbigniew Leyk (zbigniew.leyk@anu.edu.au) Ronan Collobert (collober@idiap.ch)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.