![]() |
SOPT
Sparse OPTimisation
|
Wraps a matrix into a function and its conjugate transpose. More...
#include <linear_transform.h>
Public Types | |
using | PlainObject = typename std::conditional< std::is_base_of< Eigen::MatrixBase< PlainMatrix >, PlainMatrix >::value, Vector< typename PlainMatrix::Scalar >, Array< typename PlainMatrix::Scalar > >::type |
The output type. More... | |
Public Member Functions | |
template<typename T0 > | |
MatrixToLinearTransform (Eigen::MatrixBase< T0 > const &A) | |
Creates from an expression. More... | |
MatrixToLinearTransform (std::shared_ptr< EIGEN > const &x) | |
Creates from a shared matrix. More... | |
void | operator() (PlainObject &out, PlainObject const &x) const |
Performs operation. More... | |
MatrixAdjointToLinearTransform< EIGEN > | adjoint () const |
Returns conjugate transpose operator. More... | |
Wraps a matrix into a function and its conjugate transpose.
This class helps to wrap matrices into functions, such that we can use and store them such that SDMM algorithms can refer to them.
Definition at line 161 of file linear_transform.h.
using sopt::details::MatrixToLinearTransform< EIGEN >::PlainObject = typename std::conditional<std::is_base_of<Eigen::MatrixBase<PlainMatrix>, PlainMatrix>::value, Vector<typename PlainMatrix::Scalar>, Array<typename PlainMatrix::Scalar> >::type |
The output type.
Definition at line 169 of file linear_transform.h.
|
inline |
Creates from an expression.
Expression is evaluated and the result stored internally. This object owns a copy of the matrix. It might share it with a few friendly neighbors.
Definition at line 177 of file linear_transform.h.
|
inline |
|
inline |
Returns conjugate transpose operator.
The matrix is shared.
Definition at line 192 of file linear_transform.h.
Referenced by sopt::linear_transform().
|
inline |