Class, which calculates the transpose matrix for each element of the array. More...
#include <arrays.hh>


Public Member Functions | |
| Array< concepts::Mapping< F, dim > > & | apply (concepts::Mapping< F, dim > &fnc(concepts::Mapping< F, dim > &)) |
| Application operator to each component, e.g. | |
| Array< concepts::Mapping< F, dim > > & | apply (const Array< H > &a, concepts::Mapping< F, dim >fnc(const H &)) |
| Application operator to each component. | |
| Array< concepts::Mapping< F, dim > > & | apply (const Array< H > &a, concepts::Mapping< F, dim >fnc(const H &, const concepts::Mapping< F, dim > &)) |
| Application operator to each component. | |
| ArrayMatrixTranspose (const concepts::Array< concepts::Mapping< F, dim > > *array) | |
| uint | cursize () const |
| Returns the size of the allocated memory. | |
| std::ostream & | info (std::ostream &os) const |
| int | memory () const |
| Returns the memory usage in bytes. | |
| operator concepts::Mapping< F, dim > * () | |
| Returns a pointer to the array. | |
| operator const concepts::Mapping< F, dim > * () const | |
| Returns a pointer to the array. | |
| Array< concepts::Mapping< F, dim > > & | operator*= (const G n) |
| Scaling operator. | |
| Array< concepts::Mapping< F, dim > > & | operator*= (const Array< H > &a) |
| Multiplication operator. | |
| Array< concepts::Mapping< F, dim > > & | operator+= (const concepts::Mapping< F, dim >n) |
| Addition operator. | |
| Array< concepts::Mapping< F, dim > > & | operator+= (const Array< H > &a) |
| Addition operator. | |
| Array< concepts::Mapping< F, dim > > | operator- () const |
| Negation operator. | |
| Array< concepts::Mapping< F, dim > > & | operator-= (const Array< H > &a) |
| Subtraction operator. | |
| Array< concepts::Mapping< F, dim > > & | operator-= (const concepts::Mapping< F, dim >n) |
| Subtraction operator. | |
| const concepts::Mapping< F, dim > & | operator[] (const int i) const |
| Index operator. | |
| concepts::Mapping< F, dim > & | operator[] (const int i) |
| Index operator. | |
| void | resize (const uint sz) |
| Resizes the array. | |
| void | resizePreserve (const uint sz) |
| Resizes the array. | |
| Array< concepts::Mapping< F, dim > > & | reverse () |
| Reverse the order of the entries. | |
| uint | size () const |
| Returns the requested size of the array. | |
| void | zeros () |
| Fills the memory with zeros. | |
Protected Attributes | |
| concepts::Mapping< F, dim > * | data_ |
| Data. | |
| uint | n_ |
| Requested size of the array. | |
| uint | size_ |
| Current real size of the array. | |
Class, which calculates the transpose matrix for each element of the array.
| concepts::ArrayMatrixTranspose< F, dim >::ArrayMatrixTranspose | ( | const concepts::Array< concepts::Mapping< F, dim > > * | array | ) | [inline] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::apply | ( | concepts::Mapping< F, dim > & | fncF & | ) | [inline, inherited] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::apply | ( | const Array< H > & | a, |
| concepts::Mapping< F, dim > | fncconst H & | ||
| ) | [inline, inherited] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::apply | ( | const Array< H > & | a, |
| concepts::Mapping< F, dim > | fncconst H &, const F & | ||
| ) | [inline, inherited] |
| uint concepts::Array< concepts::Mapping< F, dim > >::cursize | ( | ) | const [inline, inherited] |
| std::ostream& concepts::Array< concepts::Mapping< F, dim > >::info | ( | std::ostream & | os | ) | const [inherited] |
| int concepts::Array< concepts::Mapping< F, dim > >::memory | ( | ) | const [inline, inherited] |
| concepts::Array< concepts::Mapping< F, dim > >::operator concepts::Mapping< F, dim > * | ( | ) | [inline, inherited] |
| concepts::Array< concepts::Mapping< F, dim > >::operator const concepts::Mapping< F, dim > * | ( | ) | const [inline, inherited] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::operator*= | ( | const G | n | ) | [inline, inherited] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::operator*= | ( | const Array< H > & | a | ) | [inline, inherited] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::operator+= | ( | const Array< H > & | a | ) | [inline, inherited] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::operator+= | ( | const concepts::Mapping< F, dim > | n | ) | [inline, inherited] |
| Array<concepts::Mapping< F, dim > > concepts::Array< concepts::Mapping< F, dim > >::operator- | ( | ) | const [inline, inherited] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::operator-= | ( | const Array< H > & | a | ) | [inline, inherited] |
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::operator-= | ( | const concepts::Mapping< F, dim > | n | ) | [inline, inherited] |
| const concepts::Mapping< F, dim > & concepts::Array< concepts::Mapping< F, dim > >::operator[] | ( | const int | i | ) | const [inline, inherited] |
| concepts::Mapping< F, dim > & concepts::Array< concepts::Mapping< F, dim > >::operator[] | ( | const int | i | ) | [inline, inherited] |
| void concepts::Array< concepts::Mapping< F, dim > >::resize | ( | const uint | sz | ) | [inherited] |
Resizes the array.
A reallocation occurs only if the requested space is not available, ie. making the array smaller does not result in a reallocation. If a reallocation occurs, the data is not preserved.
| void concepts::Array< concepts::Mapping< F, dim > >::resizePreserve | ( | const uint | sz | ) | [inherited] |
Resizes the array.
Basically, it does the same as resize. But, if a reallocation occurs, the data is preserved.
| Array<concepts::Mapping< F, dim > >& concepts::Array< concepts::Mapping< F, dim > >::reverse | ( | ) | [inherited] |
Reverse the order of the entries.
| uint concepts::Array< concepts::Mapping< F, dim > >::size | ( | ) | const [inline, inherited] |
| void concepts::Array< concepts::Mapping< F, dim > >::zeros | ( | ) | [inline, inherited] |
concepts::Mapping< F, dim > * concepts::Array< concepts::Mapping< F, dim > >::data_ [protected, inherited] |
uint concepts::Array< concepts::Mapping< F, dim > >::n_ [protected, inherited] |
uint concepts::Array< concepts::Mapping< F, dim > >::size_ [protected, inherited] |