Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
concepts::StiffArray< 1, F > Class Template Reference

#include <stiffArray.hh>

Inheritance diagram for concepts::StiffArray< 1, F >:
Inheritance graph
[legend]
Collaboration diagram for concepts::StiffArray< 1, F >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

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

Private Attributes

data_
 Data.

Detailed Description

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

Definition at line 154 of file stiffArray.hh.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 157 of file stiffArray.hh.

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

Constructor.

Parameters:
dftDefault value.

Definition at line 162 of file stiffArray.hh.

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

Constructor.

Parameters:
dataArray of size dim.

Definition at line 167 of file stiffArray.hh.

Here is the call graph for this function:

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 177 of file stiffArray.hh.

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

Copy constructor.

Definition at line 181 of file stiffArray.hh.

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

Definition at line 182 of file stiffArray.hh.


Member Function Documentation

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 224 of file stiffArray.hh.

template<class F >
std::ostream & concepts::StiffArray< 1, F >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 235 of file stiffArray.hh.

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

Definition at line 185 of file stiffArray.hh.

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

Type conversion.

Definition at line 189 of file stiffArray.hh.

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

Scaling operator.

Definition at line 203 of file stiffArray.hh.

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

Addition operator.

Definition at line 215 of file stiffArray.hh.

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

Subtraction operator.

Definition at line 219 of file stiffArray.hh.

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

Division operator.

Definition at line 207 of file stiffArray.hh.

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

Assignement operator.

Definition at line 211 of file stiffArray.hh.

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

Index operator.

Definition at line 192 of file stiffArray.hh.

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

Index operator.

Definition at line 197 of file stiffArray.hh.

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

Fills the memory with zeros.

Definition at line 187 of file stiffArray.hh.


Member Data Documentation

template<class F >
F concepts::StiffArray< 1, F >::data_ [private]

Data.

Definition at line 231 of file stiffArray.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)