DGtal
1.5.beta
|
Namespace for functions useful to Discrete Exterior Calculus package. More...
Functions | |
template<typename Calculus , DGtal::Dimension dim, DGtal::Duality duality> | |
DGtal::LinearOperator< Calculus, dim, duality, dim, duality > | diagonal (const DGtal::KForm< Calculus, dim, duality > &kform) |
template<typename Calculus > | |
DGtal::LinearOperator< Calculus, 0, DGtal::PRIMAL, 1, DGtal::PRIMAL > | averageOperator01 (const Calculus &calculus) |
template<typename Calculus > | |
DGtal::LinearOperator< Calculus, 1, DGtal::PRIMAL, 2, DGtal::PRIMAL > | averageOperator01 (const Calculus &calculus) |
template<typename Calculus > | |
DGtal::LinearOperator< Calculus, 2, DGtal::PRIMAL, 0, DGtal::PRIMAL > | averageOperator20 (const Calculus &calculus) |
Namespace for functions useful to Discrete Exterior Calculus package.
DGtal::LinearOperator<Calculus, 0, DGtal::PRIMAL, 1, DGtal::PRIMAL> DGtal::dec_helper::averageOperator01 | ( | const Calculus & | calculus | ) |
Builds the linear operator that brings a primal 0-form to a primal 1-form by averaging (vertex to edge operator)
calculus | any discrete calculus |
Definition at line 82 of file DECHelpers.h.
References calculus.
DGtal::LinearOperator<Calculus, 1, DGtal::PRIMAL, 2, DGtal::PRIMAL> DGtal::dec_helper::averageOperator01 | ( | const Calculus & | calculus | ) |
Builds the linear operator that brings a primal 1-form to a primal 2-form by averaging (edge to face operator)
calculus | any discrete calculus |
Definition at line 95 of file DECHelpers.h.
References calculus.
DGtal::LinearOperator<Calculus, 2, DGtal::PRIMAL, 0, DGtal::PRIMAL> DGtal::dec_helper::averageOperator20 | ( | const Calculus & | calculus | ) |
Builds the linear operator that brings a primal 2-form to a primal 0-form by averaging (face to vertex operator)
calculus | a discrete calculus over a 2D digital surface in 3D. |
Definition at line 108 of file DECHelpers.h.
References calculus, DGtal::DUAL, DGtal::PRIMAL, DGtal::KhalimskySpaceND< dim, TInteger >::uCell(), DGtal::KhalimskySpaceND< dim, TInteger >::uDim(), DGtal::KhalimskySpaceND< dim, TInteger >::uKCoords(), and DGtal::KhalimskySpaceND< dim, TInteger >::unsigns().
DGtal::LinearOperator<Calculus, dim, duality, dim, duality> DGtal::dec_helper::diagonal | ( | const DGtal::KForm< Calculus, dim, duality > & | kform | ) |
Builds a linear diagonal operator from a k-form. Corresponds to Diag(v) if v is a vector.
kform | any k-dimensional form. |
Definition at line 60 of file DECHelpers.h.
References DGtal::KForm< TCalculus, order, duality >::length(), DGtal::KForm< TCalculus, order, duality >::myCalculus, and DGtal::KForm< TCalculus, order, duality >::myContainer.
Referenced by DGtal::ATSolver2D< TKSpace, TLinearAlgebra >::solveOneAlternateStep().