DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <linalg.h>
Matrix with shifts.
Public Member Functions | |
virtual void | copyRow (const int i, Vector< T > &x) const |
virtual void | copyTo (Matrix< T > ©) const |
virtual T | dot (const Matrix< T > &x) const |
DoubleRowMatrix (const AbstractMatrixB< T > &inputmatrix) | |
int | m () const |
virtual void | mult (const SpVector< T > &x, Vector< T > &b, const T alpha=1.0, const T beta=0.0) const |
virtual void | mult (const Vector< T > &x, Vector< T > &b, const T alpha=1.0, const T beta=0.0) const |
virtual void | mult (const Matrix< T > &B, Matrix< T > &C, const bool transA=false, const bool transB=false, const T a=1.0, const T b=0.0) const |
virtual void | mult (const SpMatrix< T > &B, Matrix< T > &C, const bool transA=false, const bool transB=false, const T a=1.0, const T b=0.0) const |
virtual void | multSwitch (const Matrix< T > &B, Matrix< T > &C, const bool transA=false, const bool transB=false, const T a=1.0, const T b=0.0) const |
void | multTrans (const Vector< T > &x, Vector< T > &b, const T alpha=1.0, const T beta=0.0) const |
int | n () const |
virtual void | print (const string &name) const |
virtual void | XtX (Matrix< T > &XtX) const |
virtual | ~DoubleRowMatrix () |
Public Member Functions inherited from spams::AbstractMatrixB< T > | |
virtual | ~AbstractMatrixB () |
Private Attributes | |
const AbstractMatrixB< T > * | _inputmatrix |
int | _m |
int | _n |
|
inline |
Definition at line 5435 of file linalg.h.
References spams::AbstractMatrixB< T >::m(), and spams::AbstractMatrixB< T >::n().
|
inlinevirtual |
|
virtual |
Implements spams::AbstractMatrixB< T >.
|
virtual |
|
virtual |
|
inlinevirtual |
Implements spams::AbstractMatrixB< T >.
Definition at line 5440 of file linalg.h.
References spams::SpVector< T >::dot(), and spams::SpVector< T >::print().
|
virtual |
perform b = alpha*A*x + beta*b, when x is sparse
Implements spams::AbstractMatrixB< T >.
Definition at line 5497 of file linalg.h.
References spams::Vector< T >::resize(), spams::Vector< T >::scal(), and spams::Vector< T >::setZeros().
|
virtual |
perform b = alpha*A*x + beta*b, when x is sparse
Implements spams::AbstractMatrixB< T >.
Definition at line 5515 of file linalg.h.
References spams::Vector< T >::resize(), spams::Vector< T >::scal(), and spams::Vector< T >::setZeros().
|
virtual |
perform C = a*A*B + b*C, possibly transposing A or B.
Implements spams::AbstractMatrixB< T >.
Definition at line 5533 of file linalg.h.
References FLAG.
|
virtual |
|
virtual |
perform C = a*B*A + b*C, possibly transposing A or B.
Implements spams::AbstractMatrixB< T >.
Definition at line 5547 of file linalg.h.
References FLAG.
|
virtual |
b <- alpha A'x + beta b
Implements spams::AbstractMatrixB< T >.
|
inlinevirtual |
Implements spams::AbstractMatrixB< T >.
|
virtual |
Implements spams::AbstractMatrixB< T >.
|
virtual |
XtX = A'*A.
Implements spams::AbstractMatrixB< T >.
Definition at line 5554 of file linalg.h.
References FLAG.
|
private |
|
private |
|
private |