|
DGtal 1.4.2
|
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 |
|---|---|---|---|---|---|---|---|
| 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 92 of file CVectorSpace.h.
| T::Scalar DGtal::concepts::CVectorSpace< T >::Scalar |
Definition at line 96 of file CVectorSpace.h.
| DGtal::concepts::CVectorSpace< T >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanRing< Scalar >) | ) |
|
inline |
Definition at line 100 of file CVectorSpace.h.
References DGtal::concepts::CVectorSpace< T >::x, and DGtal::concepts::CVectorSpace< T >::y.
|
private |
Definition at line 110 of file CVectorSpace.h.
|
private |
Definition at line 108 of file CVectorSpace.h.
Referenced by DGtal::concepts::CVectorSpace< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 108 of file CVectorSpace.h.
Referenced by DGtal::concepts::CVectorSpace< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 109 of file CVectorSpace.h.