DGtal 2.0.0
Loading...
Searching...
No Matches
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 >:
[legend]

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

Definition at line 95 of file CDenseMatrix.h.

96 {
97 Scalar& aa = z(i, j);
98 (void)aa; // to avoid compiler warning
100 }
Aim: Represent any dynamic or static sized matrix having dense representation.

References checkConstConstraints(), i, j, and z.

◆ checkConstConstraints()

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

Definition at line 102 of file CDenseMatrix.h.

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

References i, j, and z.

Referenced by BOOST_CONCEPT_USAGE().

Field Documentation

◆ i

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

Definition at line 111 of file CDenseMatrix.h.

Referenced by BOOST_CONCEPT_USAGE(), and checkConstConstraints().

◆ j

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

Definition at line 111 of file CDenseMatrix.h.

Referenced by BOOST_CONCEPT_USAGE(), and checkConstConstraints().

◆ z

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

Definition at line 110 of file CDenseMatrix.h.

Referenced by BOOST_CONCEPT_USAGE(), and checkConstConstraints().


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