concepts::StiffArray< 1, F > Class Template Reference
#include <stiffArray.hh>
Public Member Functions | |
StiffArray< 1, F > & | apply (F &fnc(F &)) |
Application operator to each component, e.g. More... | |
uint | length () |
operator F () const | |
Type conversion. More... | |
StiffArray< 1, F > & | operator*= (const F n) |
Scaling operator. More... | |
StiffArray< 1, F > & | operator+= (const F n) |
Addition operator. More... | |
StiffArray< 1, F > & | operator-= (const F n) |
Subtraction operator. More... | |
StiffArray< 1, F > & | operator/= (const F n) |
Division operator. More... | |
StiffArray< 1, F > & | operator= (const F n) |
Assignement operator. More... | |
F & | operator[] (const int i) |
Index operator. More... | |
const F & | operator[] (const int i) const |
Index operator. More... | |
StiffArray () | |
Constructor. More... | |
StiffArray (const Array< F > &dft) | |
Constructor. More... | |
StiffArray (const F &dft) | |
Constructor. More... | |
StiffArray (const StiffArray< 1, F > &a) | |
Copy constructor. More... | |
template<class H > | |
StiffArray (const StiffArray< 1, H > &a, F fnc(const H &)) | |
Constructor. More... | |
void | zeros () |
Fills the memory with zeros. More... | |
~StiffArray () | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
F | data_ |
Data. More... | |
Detailed Description
template<class F>
class concepts::StiffArray< 1, F >
Definition at line 163 of file stiffArray.hh.
Constructor & Destructor Documentation
◆ StiffArray() [1/5]
|
inline |
Constructor.
Definition at line 166 of file stiffArray.hh.
◆ StiffArray() [2/5]
|
inline |
◆ StiffArray() [3/5]
|
inline |
◆ StiffArray() [4/5]
|
inline |
Constructor.
- Parameters
-
a Stiff array with elements of type H fnc Function which maps from H to F
Definition at line 186 of file stiffArray.hh.
◆ StiffArray() [5/5]
|
inline |
Copy constructor.
Definition at line 190 of file stiffArray.hh.
◆ ~StiffArray()
|
inline |
Definition at line 191 of file stiffArray.hh.
Member Function Documentation
◆ apply()
|
inline |
Application operator to each component, e.g.
std::sin or std::conj
Definition at line 233 of file stiffArray.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 244 of file stiffArray.hh.
◆ length()
|
inline |
Definition at line 194 of file stiffArray.hh.
◆ operator F()
|
inline |
Type conversion.
Definition at line 198 of file stiffArray.hh.
◆ operator*=()
|
inline |
Scaling operator.
Definition at line 212 of file stiffArray.hh.
◆ operator+=()
|
inline |
Addition operator.
Definition at line 224 of file stiffArray.hh.
◆ operator-=()
|
inline |
Subtraction operator.
Definition at line 228 of file stiffArray.hh.
◆ operator/=()
|
inline |
Division operator.
Definition at line 216 of file stiffArray.hh.
◆ operator=()
|
inline |
Assignement operator.
Definition at line 220 of file stiffArray.hh.
◆ operator[]() [1/2]
|
inline |
Index operator.
Definition at line 206 of file stiffArray.hh.
◆ operator[]() [2/2]
|
inline |
Index operator.
Definition at line 201 of file stiffArray.hh.
◆ zeros()
|
inline |
Fills the memory with zeros.
Definition at line 196 of file stiffArray.hh.
Member Data Documentation
◆ data_
|
private |
Data.
Definition at line 240 of file stiffArray.hh.
The documentation for this class was generated from the following file:
- toolbox/stiffArray.hh