GammaLib
2.1.0.dev
|
N-dimensional array class implementation. More...
Go to the source code of this file.
Macros | |
#define | G_OP_ADD "GNdarray::operator+=(GNdarray&)" |
#define | G_OP_SUB "GNdarray::operator-=(GNdarray&)" |
#define | G_OP_MUL "GNdarray::operator*=(GNdarray&)" |
#define | G_OP_DIV "GNdarray::operator/=(GNdarray&)" |
#define | G_SHAPE "GNdarray::shape(std::vector<int>&)" |
#define | G_AT1 "GNdarray::at(int&)" |
#define | G_AT2 "GNdarray::at(int&, int&)" |
#define | G_AT3 "GNdarray::at(int&, int&, int&)" |
#define | G_ATN "GNdarray::at(std::vector<int>&)" |
Functions | |
double | min (const GNdarray &array) |
Computes minimum array element. More... | |
double | max (const GNdarray &array) |
Computes maximum array element. More... | |
double | sum (const GNdarray &array) |
Computes array sum. More... | |
GNdarray | acos (const GNdarray &array) |
Computes arccos of array elements. More... | |
GNdarray | acosh (const GNdarray &array) |
Computes acosh of array elements. More... | |
GNdarray | asin (const GNdarray &array) |
Computes arcsin of array elements. More... | |
GNdarray | asinh (const GNdarray &array) |
Computes asinh of array elements. More... | |
GNdarray | atan (const GNdarray &array) |
Computes arctan of array elements. More... | |
GNdarray | atanh (const GNdarray &array) |
Computes atanh of array elements. More... | |
GNdarray | cos (const GNdarray &array) |
Computes cosine of array elements. More... | |
GNdarray | cosh (const GNdarray &array) |
Computes cosh of array elements. More... | |
GNdarray | exp (const GNdarray &array) |
Computes exponential of array elements. More... | |
GNdarray | abs (const GNdarray &array) |
Computes absolute of array elements. More... | |
GNdarray | log (const GNdarray &array) |
Computes natural logarithm of array elements. More... | |
GNdarray | sign (const GNdarray &array) |
Computes sign of array elements. More... | |
GNdarray | log10 (const GNdarray &array) |
Computes base10 logarithm of array elements. More... | |
GNdarray | sin (const GNdarray &array) |
Computes sine of array elements. More... | |
GNdarray | sinh (const GNdarray &array) |
Computes sinh of array elements. More... | |
GNdarray | sqrt (const GNdarray &array) |
Computes square root of array elements. More... | |
GNdarray | tan (const GNdarray &array) |
Computes tangens of array elements. More... | |
GNdarray | tanh (const GNdarray &array) |
Computes tanh of array elements. More... | |
GNdarray | pow (const GNdarray &array, const double &power) |
Computes tanh of array elements. More... | |
N-dimensional array class implementation.
Definition in file GNdarray.cpp.
#define G_AT1 "GNdarray::at(int&)" |
Definition at line 42 of file GNdarray.cpp.
Referenced by GNdarray::at().
#define G_AT2 "GNdarray::at(int&, int&)" |
Definition at line 43 of file GNdarray.cpp.
Referenced by GNdarray::at().
#define G_AT3 "GNdarray::at(int&, int&, int&)" |
Definition at line 44 of file GNdarray.cpp.
Referenced by GNdarray::at().
#define G_ATN "GNdarray::at(std::vector<int>&)" |
Definition at line 45 of file GNdarray.cpp.
Referenced by GNdarray::at().
#define G_OP_ADD "GNdarray::operator+=(GNdarray&)" |
Definition at line 37 of file GNdarray.cpp.
Referenced by GNdarray::operator+=().
#define G_OP_DIV "GNdarray::operator/=(GNdarray&)" |
Definition at line 40 of file GNdarray.cpp.
Referenced by GNdarray::operator/=().
#define G_OP_MUL "GNdarray::operator*=(GNdarray&)" |
Definition at line 39 of file GNdarray.cpp.
Referenced by GNdarray::operator*=().
#define G_OP_SUB "GNdarray::operator-=(GNdarray&)" |
Definition at line 38 of file GNdarray.cpp.
Referenced by GNdarray::operator-=().
#define G_SHAPE "GNdarray::shape(std::vector<int>&)" |
Definition at line 41 of file GNdarray.cpp.
Referenced by GNdarray::shape().
Computes absolute of array elements.
[in] | array | Array. |
Definition at line 1227 of file GNdarray.cpp.
References abs(), and GNdarray::m_data.
Computes arccos of array elements.
[in] | array | Array. |
Definition at line 1038 of file GNdarray.cpp.
References gammalib::acos(), and GNdarray::m_data.
Computes acosh of array elements.
[in] | array | Array. |
Definition at line 1059 of file GNdarray.cpp.
References acosh(), and GNdarray::m_data.
Computes arcsin of array elements.
[in] | array | Array. |
Definition at line 1080 of file GNdarray.cpp.
References asin(), and GNdarray::m_data.
Computes asinh of array elements.
[in] | array | Array. |
Definition at line 1101 of file GNdarray.cpp.
References asinh(), and GNdarray::m_data.
Computes arctan of array elements.
[in] | array | Array. |
Definition at line 1122 of file GNdarray.cpp.
References atan(), and GNdarray::m_data.
Computes atanh of array elements.
[in] | array | Array. |
Definition at line 1143 of file GNdarray.cpp.
References atanh(), and GNdarray::m_data.
Computes cosine of array elements.
[in] | array | Array. |
Definition at line 1164 of file GNdarray.cpp.
References cos(), and GNdarray::m_data.
Computes cosh of array elements.
[in] | array | Array. |
Definition at line 1185 of file GNdarray.cpp.
References cosh(), and GNdarray::m_data.
Computes exponential of array elements.
[in] | array | Array. |
Definition at line 1206 of file GNdarray.cpp.
References exp(), and GNdarray::m_data.
Computes natural logarithm of array elements.
[in] | array | Array. |
Definition at line 1248 of file GNdarray.cpp.
References log(), and GNdarray::m_data.
Computes base10 logarithm of array elements.
[in] | array | Array. |
Definition at line 1310 of file GNdarray.cpp.
References log10(), and GNdarray::m_data.
double max | ( | const GNdarray & | array | ) |
Computes maximum array element.
[in] | array | Array. |
Definition at line 990 of file GNdarray.cpp.
References GNdarray::m_data.
double min | ( | const GNdarray & | array | ) |
Computes minimum array element.
[in] | array | Array. |
Definition at line 961 of file GNdarray.cpp.
References GNdarray::m_data.
Computes tanh of array elements.
[in] | array | Array. |
[in] | power | Power. |
Definition at line 1437 of file GNdarray.cpp.
References GNdarray::m_data, and pow().
Computes sign of array elements.
[in] | array | Array. |
Definition at line 1269 of file GNdarray.cpp.
References GNdarray::m_data.
Referenced by GFft::transform().
Computes sine of array elements.
[in] | array | Array. |
Definition at line 1331 of file GNdarray.cpp.
References GNdarray::m_data, and sin().
Computes sinh of array elements.
[in] | array | Array. |
Definition at line 1352 of file GNdarray.cpp.
References GNdarray::m_data, and sinh().
Computes square root of array elements.
[in] | array | Array. |
Definition at line 1373 of file GNdarray.cpp.
References GNdarray::m_data, and sqrt().
double sum | ( | const GNdarray & | array | ) |
Computes array sum.
[in] | array | Array. |
Definition at line 1019 of file GNdarray.cpp.
References GNdarray::m_data.
Computes tangens of array elements.
[in] | array | Array. |
Definition at line 1394 of file GNdarray.cpp.
References GNdarray::m_data, and tan().
Computes tanh of array elements.
[in] | array | Array. |
Definition at line 1415 of file GNdarray.cpp.
References GNdarray::m_data, and tanh().