#include <stiffArray.hh>
Public Member Functions | |
| StiffArray () | |
| Constructor. | |
| StiffArray (const F &dft) | |
| StiffArray (const Array< F > &dft) | |
| template<class H > | |
| StiffArray (const StiffArray< dim, H > &a, F fnc(const H &)) | |
| template<class H > | |
| StiffArray (const StiffArray< dim, H > &a, const F &fnc(const H &)) | |
| StiffArray (const StiffArray< dim, F > &a) | |
| Copy constructor. | |
| uint | length () |
| void | zeros () |
| Fills the memory with zeros. | |
| operator F* () | |
| Returns a pointer to the data in the array. | |
| operator const F * () const | |
| Returns a pointer to the data in the array. | |
| F * | data () |
| Returns a pointer to the data in the array. | |
| const F * | data () const |
| Returns a pointer to the data in the array. | |
| operator Array< F > () const | |
| Array< F > | array_data () const |
| const F & | operator[] (const int i) const |
| Index operator. | |
| F & | operator[] (const int i) |
| Index operator. | |
| StiffArray< dim, F > & | operator*= (const F n) |
| Scaling operator. | |
| StiffArray< dim, F > & | operator/= (const F n) |
| Division operator. | |
| StiffArray< dim, F > & | operator= (const F n) |
| Assignement operator. | |
| StiffArray< dim, F > & | operator+= (const F n) |
| Addition operator. | |
| StiffArray< dim, F > & | operator-= (const F n) |
| Subtraction operator. | |
| StiffArray< dim, F > & | operator*= (const StiffArray< dim, F > &a) |
| Multiplication operator. | |
| StiffArray< dim, F > & | apply (F &fnc(F &)) |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
An array of objects of fix length, defined by template parameter dim.
Is almost similar to Array, but without methods for resizing.
Definition at line 29 of file stiffArray.hh.
|
inline |
Constructor.
Definition at line 32 of file stiffArray.hh.
|
inline |
|
inline |
|
inline |
Constructor
| a | Stiff array with elements of type H |
| fnc | Function which maps from H to F |
Definition at line 52 of file stiffArray.hh.
|
inline |
Constructor
| a | Stiff array with elements of type H |
| fnc | Function which maps from H to F, e.g. std::real |
Definition at line 63 of file stiffArray.hh.
|
inline |
Copy constructor.
Definition at line 69 of file stiffArray.hh.
|
inline |
Definition at line 72 of file stiffArray.hh.
|
inline |
Application operator to each component, e.g. std::sin or std::conj
Definition at line 140 of file stiffArray.hh.
|
inline |
Definition at line 92 of file stiffArray.hh.
|
inline |
Returns a pointer to the data in the array.
Definition at line 85 of file stiffArray.hh.
|
inline |
Returns a pointer to the data in the array.
Definition at line 87 of file stiffArray.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::MultiIndex< dim >.
Definition at line 152 of file stiffArray.hh.
|
inline |
Definition at line 77 of file stiffArray.hh.
|
inline |
Definition at line 90 of file stiffArray.hh.
|
inline |
Returns a pointer to the data in the array.
Definition at line 83 of file stiffArray.hh.
|
inline |
Returns a pointer to the data in the array.
Definition at line 81 of file stiffArray.hh.
|
inline |
Scaling operator.
Definition at line 108 of file stiffArray.hh.
|
inline |
Multiplication operator.
Definition at line 133 of file stiffArray.hh.
|
inline |
Addition operator.
Definition at line 123 of file stiffArray.hh.
|
inline |
Subtraction operator.
Definition at line 128 of file stiffArray.hh.
|
inline |
Division operator.
Definition at line 113 of file stiffArray.hh.
|
inline |
Assignement operator.
Definition at line 118 of file stiffArray.hh.
|
inline |
Index operator.
Definition at line 101 of file stiffArray.hh.
|
inline |
Index operator.
Definition at line 95 of file stiffArray.hh.
|
inline |
Fills the memory with zeros.
Definition at line 79 of file stiffArray.hh.