DGtal
1.5.beta
|
Aim: LinearOperator represents discrete linear operator between discrete kforms in the DEC package. More...
#include <DGtal/dec/LinearOperator.h>
Public Types | |
typedef TCalculus | Calculus |
typedef Calculus::SparseMatrix | Container |
Container typr. More... | |
typedef Calculus::Scalar | Scalar |
Calculus scalar type. More... | |
typedef KForm< Calculus, order_in, duality_in > | InputKForm |
Input KForm type. More... | |
typedef KForm< Calculus, order_out, duality_out > | OutputKForm |
Output KForm type. More... | |
typedef LinearOperator< Calculus, order_out, duality_out, order_in, duality_in > | TransposedLinearOperator |
Transposed operator type. More... | |
Public Member Functions | |
BOOST_STATIC_ASSERT ((order_in >=0)) | |
BOOST_STATIC_ASSERT ((order_in<=Calculus::dimensionEmbedded)) | |
BOOST_STATIC_ASSERT ((order_out >=0)) | |
BOOST_STATIC_ASSERT ((order_out<=Calculus::dimensionEmbedded)) | |
LinearOperator (ConstAlias< Calculus > calculus) | |
LinearOperator (ConstAlias< Calculus > calculus, const Container &container) | |
LinearOperator & | operator= (const LinearOperator &other) |
void | selfDisplay (std::ostream &out) const |
TransposedLinearOperator | transpose () const |
void | clear () |
bool | isValid () const |
Data Fields | |
Container | myContainer |
const Calculus * | myCalculus |
Protected Member Functions | |
LinearOperator () | |
Aim: LinearOperator represents discrete linear operator between discrete kforms in the DEC package.
Description of template class 'LinearOperator'
TCalculus | should be DiscreteExteriorCalculus. |
order_in | is the input order of the linear operator. |
duality_in | is the input duality of the linear operator. |
order_out | is the output order of the linear operator. |
duality_out | is the output duality of the linear operator. |
Definition at line 68 of file LinearOperator.h.
typedef TCalculus DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::Calculus |
Definition at line 72 of file LinearOperator.h.
typedef Calculus::SparseMatrix DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::Container |
Container typr.
Definition at line 80 of file LinearOperator.h.
typedef KForm<Calculus, order_in, duality_in> DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::InputKForm |
Input KForm type.
Definition at line 84 of file LinearOperator.h.
typedef KForm<Calculus, order_out, duality_out> DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::OutputKForm |
Output KForm type.
Definition at line 86 of file LinearOperator.h.
typedef Calculus::Scalar DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::Scalar |
Calculus scalar type.
Definition at line 82 of file LinearOperator.h.
typedef LinearOperator<Calculus, order_out, duality_out, order_in, duality_in> DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::TransposedLinearOperator |
Transposed operator type.
Definition at line 88 of file LinearOperator.h.
DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::LinearOperator | ( | ConstAlias< Calculus > | calculus | ) |
Constructor.
calculus | the discrete exterior calculus to use. |
DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::LinearOperator | ( | ConstAlias< Calculus > | calculus, |
const Container & | container | ||
) |
Constructor.
calculus | the discrete exterior calculus to use. |
container | the container to copy. |
|
protected |
Constructor. Forbidden by default (protected to avoid g++ warnings).
DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::BOOST_STATIC_ASSERT | ( | (order_in >=0) | ) |
DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::BOOST_STATIC_ASSERT | ( | (order_in<=Calculus::dimensionEmbedded) | ) |
DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::BOOST_STATIC_ASSERT | ( | (order_out >=0) | ) |
DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::BOOST_STATIC_ASSERT | ( | (order_out<=Calculus::dimensionEmbedded) | ) |
void DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::clear | ( | ) |
Clear current linear operator.
bool DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
LinearOperator& DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::operator= | ( | const LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out > & | other | ) |
Assignment.
other | the object to copy. |
void DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
TransposedLinearOperator DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::transpose | ( | ) | const |
Transpose operator.
Referenced by DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveOneAlternateStep().
const Calculus* DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::myCalculus |
Pointer to const calculus.
Definition at line 122 of file LinearOperator.h.
Container DGtal::LinearOperator< TCalculus, order_in, duality_in, order_out, duality_out >::myContainer |
Container used to actually hold the kform data.
Definition at line 117 of file LinearOperator.h.
Referenced by DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::initOperators().