Intermediate data class. More...
#include <array.h>
Public Member Functions | |
array_proxy (array &par, af_index_t *ssss, bool linear=false) | |
array_proxy (const array_proxy &other) | |
~array_proxy () | |
operator array () const | |
operator array () | |
array_proxy & | operator= (const array_proxy &a) |
array_proxy & | operator= (const array &a) |
array_proxy & | operator= (const double &a) |
array_proxy & | operator= (const cdouble &a) |
array_proxy & | operator= (const cfloat &a) |
array_proxy & | operator= (const float &a) |
array_proxy & | operator= (const int &a) |
array_proxy & | operator= (const unsigned &a) |
array_proxy & | operator= (const bool &a) |
array_proxy & | operator= (const char &a) |
array_proxy & | operator= (const unsigned char &a) |
array_proxy & | operator= (const long &a) |
array_proxy & | operator= (const unsigned long &a) |
array_proxy & | operator= (const long long &a) |
array_proxy & | operator= (const unsigned long long &a) |
array_proxy & | operator+= (const array_proxy &a) |
array_proxy & | operator+= (const array &a) |
array_proxy & | operator+= (const double &a) |
array_proxy & | operator+= (const cdouble &a) |
array_proxy & | operator+= (const cfloat &a) |
array_proxy & | operator+= (const float &a) |
array_proxy & | operator+= (const int &a) |
array_proxy & | operator+= (const unsigned &a) |
array_proxy & | operator+= (const bool &a) |
array_proxy & | operator+= (const char &a) |
array_proxy & | operator+= (const unsigned char &a) |
array_proxy & | operator+= (const long &a) |
array_proxy & | operator+= (const unsigned long &a) |
array_proxy & | operator+= (const long long &a) |
array_proxy & | operator+= (const unsigned long long &a) |
array_proxy & | operator-= (const array_proxy &a) |
array_proxy & | operator-= (const array &a) |
array_proxy & | operator-= (const double &a) |
array_proxy & | operator-= (const cdouble &a) |
array_proxy & | operator-= (const cfloat &a) |
array_proxy & | operator-= (const float &a) |
array_proxy & | operator-= (const int &a) |
array_proxy & | operator-= (const unsigned &a) |
array_proxy & | operator-= (const bool &a) |
array_proxy & | operator-= (const char &a) |
array_proxy & | operator-= (const unsigned char &a) |
array_proxy & | operator-= (const long &a) |
array_proxy & | operator-= (const unsigned long &a) |
array_proxy & | operator-= (const long long &a) |
array_proxy & | operator-= (const unsigned long long &a) |
array_proxy & | operator*= (const array_proxy &a) |
array_proxy & | operator*= (const array &a) |
array_proxy & | operator*= (const double &a) |
array_proxy & | operator*= (const cdouble &a) |
array_proxy & | operator*= (const cfloat &a) |
array_proxy & | operator*= (const float &a) |
array_proxy & | operator*= (const int &a) |
array_proxy & | operator*= (const unsigned &a) |
array_proxy & | operator*= (const bool &a) |
array_proxy & | operator*= (const char &a) |
array_proxy & | operator*= (const unsigned char &a) |
array_proxy & | operator*= (const long &a) |
array_proxy & | operator*= (const unsigned long &a) |
array_proxy & | operator*= (const long long &a) |
array_proxy & | operator*= (const unsigned long long &a) |
array_proxy & | operator/= (const array_proxy &a) |
array_proxy & | operator/= (const array &a) |
array_proxy & | operator/= (const double &a) |
array_proxy & | operator/= (const cdouble &a) |
array_proxy & | operator/= (const cfloat &a) |
array_proxy & | operator/= (const float &a) |
array_proxy & | operator/= (const int &a) |
array_proxy & | operator/= (const unsigned &a) |
array_proxy & | operator/= (const bool &a) |
array_proxy & | operator/= (const char &a) |
array_proxy & | operator/= (const unsigned char &a) |
array_proxy & | operator/= (const long &a) |
array_proxy & | operator/= (const unsigned long &a) |
array_proxy & | operator/= (const long long &a) |
array_proxy & | operator/= (const unsigned long long &a) |
array_proxy & | operator= (const short &a) |
array_proxy & | operator= (const unsigned short &a) |
array_proxy & | operator+= (const short &a) |
array_proxy & | operator+= (const unsigned short &a) |
array_proxy & | operator-= (const short &a) |
array_proxy & | operator-= (const unsigned short &a) |
array_proxy & | operator*= (const short &a) |
array_proxy & | operator*= (const unsigned short &a) |
array_proxy & | operator/= (const short &a) |
array_proxy & | operator/= (const unsigned short &a) |
af_array | get () |
af_array | get () const |
dim_t | elements () const |
template<typename T > | |
T * | host () const |
void | host (void *ptr) const |
dtype | type () const |
dim4 | dims () const |
dim_t | dims (unsigned dim) const |
unsigned | numdims () const |
size_t | bytes () const |
size_t | allocated () const |
array | copy () const |
bool | isempty () const |
bool | isscalar () const |
bool | isvector () const |
bool | isrow () const |
bool | iscolumn () const |
bool | iscomplex () const |
bool | isreal () const |
bool | isdouble () const |
bool | issingle () const |
bool | ishalf () const |
bool | isrealfloating () const |
bool | isfloating () const |
bool | isinteger () const |
bool | isbool () const |
bool | issparse () const |
void | eval () const |
array | as (dtype type) const |
array | T () const |
array | H () const |
template<typename T > | |
T | scalar () const |
template<typename T > | |
T * | device () const |
void | unlock () const |
void | lock () const |
bool | isLocked () const |
array::array_proxy | row (int index) |
const array::array_proxy | row (int index) const |
array::array_proxy | rows (int first, int last) |
const array::array_proxy | rows (int first, int last) const |
array::array_proxy | col (int index) |
const array::array_proxy | col (int index) const |
array::array_proxy | cols (int first, int last) |
const array::array_proxy | cols (int first, int last) const |
array::array_proxy | slice (int index) |
const array::array_proxy | slice (int index) const |
array::array_proxy | slices (int first, int last) |
const array::array_proxy | slices (int first, int last) const |
Intermediate data class.
Used for assignment and indexing.
array_proxy | ( | array & | par, |
af_index_t * | ssss, | ||
bool | linear = false |
||
) |
array_proxy | ( | const array_proxy & | other | ) |
~array_proxy | ( | ) |
size_t allocated | ( | ) | const |
size_t bytes | ( | ) | const |
array::array_proxy col | ( | int | index | ) |
const array::array_proxy col | ( | int | index | ) | const |
array::array_proxy cols | ( | int | first, |
int | last | ||
) |
const array::array_proxy cols | ( | int | first, |
int | last | ||
) | const |
array copy | ( | ) | const |
T * device | ( | ) | const |
dim4 dims | ( | ) | const |
dim_t dims | ( | unsigned | dim | ) | const |
dim_t elements | ( | ) | const |
void eval | ( | ) | const |
af_array get | ( | ) |
af_array get | ( | ) | const |
array H | ( | ) | const |
T * host | ( | ) | const |
void host | ( | void * | ptr | ) | const |
bool isbool | ( | ) | const |
bool iscolumn | ( | ) | const |
bool iscomplex | ( | ) | const |
bool isdouble | ( | ) | const |
bool isempty | ( | ) | const |
bool isfloating | ( | ) | const |
bool ishalf | ( | ) | const |
bool isinteger | ( | ) | const |
bool isLocked | ( | ) | const |
bool isrealfloating | ( | ) | const |
bool isrow | ( | ) | const |
bool isscalar | ( | ) | const |
bool issingle | ( | ) | const |
bool issparse | ( | ) | const |
bool isvector | ( | ) | const |
void lock | ( | ) | const |
unsigned numdims | ( | ) | const |
operator array | ( | ) |
operator array | ( | ) | const |
array_proxy & operator*= | ( | const array & | a | ) |
array_proxy & operator*= | ( | const array_proxy & | a | ) |
array_proxy & operator*= | ( | const bool & | a | ) |
array_proxy & operator*= | ( | const cdouble & | a | ) |
array_proxy & operator*= | ( | const cfloat & | a | ) |
array_proxy & operator*= | ( | const char & | a | ) |
array_proxy & operator*= | ( | const double & | a | ) |
array_proxy & operator*= | ( | const float & | a | ) |
array_proxy & operator*= | ( | const int & | a | ) |
array_proxy & operator*= | ( | const long & | a | ) |
array_proxy & operator*= | ( | const long long & | a | ) |
array_proxy & operator*= | ( | const short & | a | ) |
array_proxy & operator*= | ( | const unsigned & | a | ) |
array_proxy & operator*= | ( | const unsigned char & | a | ) |
array_proxy & operator*= | ( | const unsigned long & | a | ) |
array_proxy & operator*= | ( | const unsigned long long & | a | ) |
array_proxy & operator*= | ( | const unsigned short & | a | ) |
array_proxy & operator+= | ( | const array & | a | ) |
array_proxy & operator+= | ( | const array_proxy & | a | ) |
array_proxy & operator+= | ( | const bool & | a | ) |
array_proxy & operator+= | ( | const cdouble & | a | ) |
array_proxy & operator+= | ( | const cfloat & | a | ) |
array_proxy & operator+= | ( | const char & | a | ) |
array_proxy & operator+= | ( | const double & | a | ) |
array_proxy & operator+= | ( | const float & | a | ) |
array_proxy & operator+= | ( | const int & | a | ) |
array_proxy & operator+= | ( | const long & | a | ) |
array_proxy & operator+= | ( | const long long & | a | ) |
array_proxy & operator+= | ( | const short & | a | ) |
array_proxy & operator+= | ( | const unsigned & | a | ) |
array_proxy & operator+= | ( | const unsigned char & | a | ) |
array_proxy & operator+= | ( | const unsigned long & | a | ) |
array_proxy & operator+= | ( | const unsigned long long & | a | ) |
array_proxy & operator+= | ( | const unsigned short & | a | ) |
array_proxy & operator-= | ( | const array & | a | ) |
array_proxy & operator-= | ( | const array_proxy & | a | ) |
array_proxy & operator-= | ( | const bool & | a | ) |
array_proxy & operator-= | ( | const cdouble & | a | ) |
array_proxy & operator-= | ( | const cfloat & | a | ) |
array_proxy & operator-= | ( | const char & | a | ) |
array_proxy & operator-= | ( | const double & | a | ) |
array_proxy & operator-= | ( | const float & | a | ) |
array_proxy & operator-= | ( | const int & | a | ) |
array_proxy & operator-= | ( | const long & | a | ) |
array_proxy & operator-= | ( | const long long & | a | ) |
array_proxy & operator-= | ( | const short & | a | ) |
array_proxy & operator-= | ( | const unsigned & | a | ) |
array_proxy & operator-= | ( | const unsigned char & | a | ) |
array_proxy & operator-= | ( | const unsigned long & | a | ) |
array_proxy & operator-= | ( | const unsigned long long & | a | ) |
array_proxy & operator-= | ( | const unsigned short & | a | ) |
array_proxy & operator/= | ( | const array & | a | ) |
array_proxy & operator/= | ( | const array_proxy & | a | ) |
array_proxy & operator/= | ( | const bool & | a | ) |
array_proxy & operator/= | ( | const cdouble & | a | ) |
array_proxy & operator/= | ( | const cfloat & | a | ) |
array_proxy & operator/= | ( | const char & | a | ) |
array_proxy & operator/= | ( | const double & | a | ) |
array_proxy & operator/= | ( | const float & | a | ) |
array_proxy & operator/= | ( | const int & | a | ) |
array_proxy & operator/= | ( | const long & | a | ) |
array_proxy & operator/= | ( | const long long & | a | ) |
array_proxy & operator/= | ( | const short & | a | ) |
array_proxy & operator/= | ( | const unsigned & | a | ) |
array_proxy & operator/= | ( | const unsigned char & | a | ) |
array_proxy & operator/= | ( | const unsigned long & | a | ) |
array_proxy & operator/= | ( | const unsigned long long & | a | ) |
array_proxy & operator/= | ( | const unsigned short & | a | ) |
array_proxy & operator= | ( | const array & | a | ) |
array_proxy & operator= | ( | const array_proxy & | a | ) |
array_proxy & operator= | ( | const bool & | a | ) |
array_proxy & operator= | ( | const cdouble & | a | ) |
array_proxy & operator= | ( | const cfloat & | a | ) |
array_proxy & operator= | ( | const char & | a | ) |
array_proxy & operator= | ( | const double & | a | ) |
array_proxy & operator= | ( | const float & | a | ) |
array_proxy & operator= | ( | const int & | a | ) |
array_proxy & operator= | ( | const long & | a | ) |
array_proxy & operator= | ( | const long long & | a | ) |
array_proxy & operator= | ( | const short & | a | ) |
array_proxy & operator= | ( | const unsigned & | a | ) |
array_proxy & operator= | ( | const unsigned char & | a | ) |
array_proxy & operator= | ( | const unsigned long & | a | ) |
array_proxy & operator= | ( | const unsigned long long & | a | ) |
array_proxy & operator= | ( | const unsigned short & | a | ) |
array::array_proxy row | ( | int | index | ) |
const array::array_proxy row | ( | int | index | ) | const |
array::array_proxy rows | ( | int | first, |
int | last | ||
) |
const array::array_proxy rows | ( | int | first, |
int | last | ||
) | const |
T scalar | ( | ) | const |
array::array_proxy slice | ( | int | index | ) |
const array::array_proxy slice | ( | int | index | ) | const |
array::array_proxy slices | ( | int | first, |
int | last | ||
) |
const array::array_proxy slices | ( | int | first, |
int | last | ||
) | const |
array T | ( | ) | const |
dtype type | ( | ) | const |
void unlock | ( | ) | const |