DGtal 1.3.0
|
Aim: Base concept for vector space structure. More...
#include <DGtal/math/linalg/CVectorSpace.h>
Public Types | |
typedef T::Scalar | Scalar |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CEuclideanRing< Scalar >)) | |
BOOST_CONCEPT_USAGE (CVectorSpace) | |
Private Attributes | |
const T | x |
const T | y |
T | z |
Scalar | a |
Aim: Base concept for vector space structure.
Description of concept 'CVectorSpace'
Scalar:
Scalar type used for external multiplication and internal type representation.Index:
Random access index type.VectorSpace
: A type that is a model of concepts::CVectorSpaceVectorSpace
VectorSpace
VectorSpace::Scalar
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
Reset container content | z.clear() | ||||||
Addition | z = x + y | VectorSpace | |||||
Substraction | z = x - y | VectorSpace | |||||
External multiplication | z = a * x | VectorSpace |
T | the type that should be a model of CVectorSpace. |
Definition at line 93 of file CVectorSpace.h.
typedef T::Scalar DGtal::concepts::CVectorSpace< T >::Scalar |
Definition at line 97 of file CVectorSpace.h.
DGtal::concepts::CVectorSpace< T >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanRing< Scalar >) | ) |
|
inline |
Definition at line 101 of file CVectorSpace.h.
References DGtal::concepts::CVectorSpace< T >::x, and DGtal::concepts::CVectorSpace< T >::y.
|
private |
Definition at line 112 of file CVectorSpace.h.
|
private |
Definition at line 110 of file CVectorSpace.h.
Referenced by DGtal::concepts::CVectorSpace< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 110 of file CVectorSpace.h.
Referenced by DGtal::concepts::CVectorSpace< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 111 of file CVectorSpace.h.