#include <arrays.hh>
Public Member Functions | |
ArrayDeterminant (const concepts::Array< concepts::Mapping< F, dim > > *array) | |
void | resize (const uint sz) |
void | resizePreserve (const uint sz) |
void | zeros () |
Fills the memory with zeros. | |
operator F* () | |
Returns a pointer to the array. | |
operator const F * () const | |
Returns a pointer to the array. | |
const F & | operator[] (const int i) const |
Index operator. | |
F & | operator[] (const int i) |
Index operator. | |
template<class G > | |
Array< F > & | operator*= (const G n) |
Scaling operator. | |
template<class H > | |
Array< F > & | operator*= (const Array< H > &a) |
Multiplication operator. | |
Array< F > & | operator+= (const F n) |
Addition operator. | |
template<class H > | |
Array< F > & | operator+= (const Array< H > &a) |
Addition operator. | |
Array< F > & | operator-= (const F n) |
Subtraction operator. | |
template<class H > | |
Array< F > & | operator-= (const Array< H > &a) |
Subtraction operator. | |
Array< F > | operator- () const |
Negation operator. | |
Array< F > & | apply (F &fnc(F &)) |
template<class H > | |
Array< F > & | apply (const Array< H > &a, F fnc(const H &)) |
template<class H > | |
Array< F > & | apply (const Array< H > &a, F fnc(const H &, const F &)) |
uint | size () const |
Returns the requested size of the array. | |
uint | cursize () const |
Returns the size of the allocated memory. | |
int | memory () const |
Returns the memory usage in bytes. | |
Array< F > & | reverse () |
Reverse the order of the entries. | |
std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
F * | data_ |
Data. | |
uint | size_ |
Current real size of the array. | |
uint | n_ |
Requested size of the array. | |
Class, which calculates the determinant for each element of the array
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
Returns the requested size of the array.
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |