Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::StiffArray< 1, F > Class Template Reference
Inheritance diagram for concepts::StiffArray< 1, F >:
concepts::OutputOperator

Public Member Functions

 StiffArray ()
 Constructor.
 
 StiffArray (const F &dft)
 
 StiffArray (const Array< F > &dft)
 
template<class H >
 StiffArray (const StiffArray< 1, H > &a, F fnc(const H &))
 
 StiffArray (const StiffArray< 1, F > &a)
 Copy constructor.
 
uint length ()
 
void zeros ()
 Fills the memory with zeros.
 
 operator F () const
 Type conversion.
 
const F & operator[] (const int i) const
 Index operator.
 
F & operator[] (const int i)
 Index operator.
 
StiffArray< 1, F > & operator*= (const F n)
 Scaling operator.
 
StiffArray< 1, F > & operator/= (const F n)
 Division operator.
 
StiffArray< 1, F > & operator= (const F n)
 Assignement operator.
 
StiffArray< 1, F > & operator+= (const F n)
 Addition operator.
 
StiffArray< 1, F > & operator-= (const F n)
 Subtraction operator.
 
StiffArray< 1, F > & apply (F &fnc(F &))
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

template<class F>
class concepts::StiffArray< 1, F >

Definition at line 163 of file stiffArray.hh.

Constructor & Destructor Documentation

◆ StiffArray() [1/5]

template<class F >
concepts::StiffArray< 1, F >::StiffArray ( )
inline

Constructor.

Definition at line 166 of file stiffArray.hh.

◆ StiffArray() [2/5]

template<class F >
concepts::StiffArray< 1, F >::StiffArray ( const F &  dft)
inline

Constructor.

Parameters
dftDefault value.

Definition at line 171 of file stiffArray.hh.

◆ StiffArray() [3/5]

template<class F >
concepts::StiffArray< 1, F >::StiffArray ( const Array< F > &  dft)
inline

Constructor.

Parameters
dataArray of size dim.

Definition at line 176 of file stiffArray.hh.

◆ StiffArray() [4/5]

template<class F >
template<class H >
concepts::StiffArray< 1, F >::StiffArray ( const StiffArray< 1, H > &  a,
F   fncconst H & 
)
inline

Constructor

Parameters
aStiff array with elements of type H
fncFunction which maps from H to F

Definition at line 186 of file stiffArray.hh.

◆ StiffArray() [5/5]

template<class F >
concepts::StiffArray< 1, F >::StiffArray ( const StiffArray< 1, F > &  a)
inline

Copy constructor.

Definition at line 190 of file stiffArray.hh.

◆ ~StiffArray()

template<class F >
concepts::StiffArray< 1, F >::~StiffArray ( )
inline

Definition at line 191 of file stiffArray.hh.

Member Function Documentation

◆ apply()

template<class F >
StiffArray< 1, F > & concepts::StiffArray< 1, F >::apply ( F &  fncF &)
inline

Application operator to each component, e.g. std::sin or std::conj

Definition at line 233 of file stiffArray.hh.

◆ info()

template<class F >
std::ostream & concepts::StiffArray< 1, F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 244 of file stiffArray.hh.

◆ length()

template<class F >
uint concepts::StiffArray< 1, F >::length ( )
inline

Definition at line 194 of file stiffArray.hh.

◆ operator F()

template<class F >
concepts::StiffArray< 1, F >::operator F ( ) const
inline

Type conversion.

Definition at line 198 of file stiffArray.hh.

◆ operator*=()

template<class F >
StiffArray< 1, F > & concepts::StiffArray< 1, F >::operator*= ( const F  n)
inline

Scaling operator.

Definition at line 212 of file stiffArray.hh.

◆ operator+=()

template<class F >
StiffArray< 1, F > & concepts::StiffArray< 1, F >::operator+= ( const F  n)
inline

Addition operator.

Definition at line 224 of file stiffArray.hh.

◆ operator-=()

template<class F >
StiffArray< 1, F > & concepts::StiffArray< 1, F >::operator-= ( const F  n)
inline

Subtraction operator.

Definition at line 228 of file stiffArray.hh.

◆ operator/=()

template<class F >
StiffArray< 1, F > & concepts::StiffArray< 1, F >::operator/= ( const F  n)
inline

Division operator.

Definition at line 216 of file stiffArray.hh.

◆ operator=()

template<class F >
StiffArray< 1, F > & concepts::StiffArray< 1, F >::operator= ( const F  n)
inline

Assignement operator.

Definition at line 220 of file stiffArray.hh.

◆ operator[]() [1/2]

template<class F >
F & concepts::StiffArray< 1, F >::operator[] ( const int  i)
inline

Index operator.

Definition at line 206 of file stiffArray.hh.

◆ operator[]() [2/2]

template<class F >
const F & concepts::StiffArray< 1, F >::operator[] ( const int  i) const
inline

Index operator.

Definition at line 201 of file stiffArray.hh.

◆ zeros()

template<class F >
void concepts::StiffArray< 1, F >::zeros ( )
inline

Fills the memory with zeros.

Definition at line 196 of file stiffArray.hh.


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