DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes
DGtal::concepts::CDenseMatrix< T > Struct Template Reference

Aim: Represent any dynamic or static sized matrix having dense representation. More...

#include <DGtal/math/linalg/CDenseMatrix.h>

Inheritance diagram for DGtal::concepts::CDenseMatrix< T >:
DGtal::concepts::CMatrix< T > DGtal::concepts::CVectorSpace< T > boost::Assignable< T >

Public Types

typedef T::Index Index
 
typedef T::Scalar Scalar
 
- Public Types inherited from DGtal::concepts::CMatrix< T >
typedef T::Scalar Scalar
 
typedef T::Index Index
 
- Public Types inherited from DGtal::concepts::CVectorSpace< T >
typedef T::Scalar Scalar
 

Public Member Functions

 BOOST_CONCEPT_USAGE (CDenseMatrix)
 
void checkConstConstraints () const
 
- Public Member Functions inherited from DGtal::concepts::CMatrix< T >
 BOOST_CONCEPT_USAGE (CMatrix)
 
void checkConstConstraints () const
 
- Public Member Functions inherited from DGtal::concepts::CVectorSpace< T >
 BOOST_CONCEPT_ASSERT ((concepts::CEuclideanRing< Scalar >))
 
 BOOST_CONCEPT_USAGE (CVectorSpace)
 

Private Attributes

z
 
Index i
 
Index j
 

Detailed Description

template<typename T>
struct DGtal::concepts::CDenseMatrix< T >

Aim: Represent any dynamic or static sized matrix having dense representation.

Description of concept 'CDenseMatrix'

Refinement of

Associated types

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Constant ref random accessor x(i, j) const Scalar&
Ref random accessor z(i, j) Scalar&

Invariants

Models

Notes

Template Parameters
Tthe type that should be a model of CDenseMatrix.

Definition at line 88 of file CDenseMatrix.h.

Member Typedef Documentation

◆ Index

template<typename T >
typedef T::Index DGtal::concepts::CDenseMatrix< T >::Index

Definition at line 92 of file CDenseMatrix.h.

◆ Scalar

template<typename T >
typedef T::Scalar DGtal::concepts::CDenseMatrix< T >::Scalar

Definition at line 93 of file CDenseMatrix.h.

Member Function Documentation

◆ BOOST_CONCEPT_USAGE()

template<typename T >
DGtal::concepts::CDenseMatrix< T >::BOOST_CONCEPT_USAGE ( CDenseMatrix< T >  )
inline

◆ checkConstConstraints()

template<typename T >
void DGtal::concepts::CDenseMatrix< T >::checkConstConstraints ( ) const
inline

Definition at line 103 of file CDenseMatrix.h.

104 {
105 Scalar bb = z(i, j);
106 bb = bb; // to avoid compiler warning
107 }

References DGtal::concepts::CDenseMatrix< T >::i, DGtal::concepts::CDenseMatrix< T >::j, and DGtal::concepts::CDenseMatrix< T >::z.

Referenced by DGtal::concepts::CDenseMatrix< T >::BOOST_CONCEPT_USAGE().

Field Documentation

◆ i

template<typename T >
Index DGtal::concepts::CDenseMatrix< T >::i
private

◆ j

template<typename T >
Index DGtal::concepts::CDenseMatrix< T >::j
private

◆ z

template<typename T >
T DGtal::concepts::CDenseMatrix< T >::z
private

The documentation for this struct was generated from the following file: