TBCI Numerical high perf. C++ Library 2.8.0
BVector_Sig< T > Class Template Reference

abstract base class (signature) for Vectors without arithmetics More...

#include <vector_sig.h>

Inheritance diagram for BVector_Sig< T >:

Public Member Functions

 BVector_Sig ()
 BVector_Sig (const unsigned long)
 ~BVector_Sig ()
Toperator() (const unsigned long)
tbci_traits< T >::const_refval_type operator() (const unsigned long) const
unsigned long size () const
BVector_Sig< T > & fill (const T &)
BVector_Sig< T > & clear ()
bool operator== (const BVector_Sig< T > &) const
bool operator!= (const BVector_Sig< T > &) const

Static Public Member Functions

static const char * vec_info ()

Detailed Description

template<typename T>
class BVector_Sig< T >

abstract base class (signature) for Vectors without arithmetics

(B)Vector_Sig signatures are like Matrix_Sig does for Matrices (and Preconditioner_Sig for Preconditioners) All Vector classes should be derived from Vector_Sig.

Polymorphism is not really used at the moment. Vector_Sig should be an abstract base class, but isn't currently Actually, some investigation is needed to find out about the performance impact of having classes with virtual functions ...

Definition at line 41 of file vector_sig.h.

Constructor & Destructor Documentation

◆ BVector_Sig() [1/2]

template<typename T>
BVector_Sig< T >::BVector_Sig ( )
inline

Definition at line 45 of file vector_sig.h.

Referenced by clear(), fill(), operator!=(), and operator==().

◆ BVector_Sig() [2/2]

template<typename T>
BVector_Sig< T >::BVector_Sig ( const unsigned long )
inline

Definition at line 46 of file vector_sig.h.

◆ ~BVector_Sig()

template<typename T>
BVector_Sig< T >::~BVector_Sig ( )
inline

Definition at line 47 of file vector_sig.h.

Member Function Documentation

◆ clear()

template<typename T>
BVector_Sig< T > & BVector_Sig< T >::clear ( )

References BVector_Sig().

◆ fill()

template<typename T>
BVector_Sig< T > & BVector_Sig< T >::fill ( const T & )

References BVector_Sig(), and T.

◆ operator!=()

template<typename T>
bool BVector_Sig< T >::operator!= ( const BVector_Sig< T > & ) const

References BVector_Sig().

◆ operator()() [1/2]

template<typename T>
T & BVector_Sig< T >::operator() ( const unsigned long )

References T.

◆ operator()() [2/2]

template<typename T>
tbci_traits< T >::const_refval_type BVector_Sig< T >::operator() ( const unsigned long ) const

◆ operator==()

template<typename T>
bool BVector_Sig< T >::operator== ( const BVector_Sig< T > & ) const

References BVector_Sig().

◆ size()

template<typename T>
unsigned long BVector_Sig< T >::size ( ) const

◆ vec_info()

template<typename T>
const char * BVector_Sig< T >::vec_info ( )
static

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