Aim: Represent any static or dynamic sized column vector having sparse or dense representation.
More...
template<typename T>
struct DGtal::concepts::CVector< T >
Aim: Represent any static or dynamic sized column vector having sparse or dense representation.
Description of concept 'CVector'
Refinement of
Associated types
Notation
Vector
: A type that is a model of CVector
- x : const object of type
Vector
- z : object of type
Vector
- i : object of type
Vector::Index
Definitions
Valid expressions and semantics
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
Number of rows | x.rows() | | Index | | Returns the size of the vector | | |
Invariants
Models
EigenLinearAlgebraBackend::DenseVector, SimpleMatrix::Vector
Notes
- Template Parameters
-
T | the type that should be a model of CVector. |
Definition at line 90 of file CVector.h.