#include <aurostd_xtensor.h>
Public Member Functions | |
xtensor () | |
xtensor (const std::vector< int > &) | |
xtensor (const std::vector< int > &, const std::vector< int > &) | |
xtensor (const aurostd::xvector< int > &) | |
xtensor (const aurostd::xvector< int > &, const aurostd::xvector< int > &) | |
xtensor (const int &, const int &li=1) | |
xtensor (const _subtensor< utype > &) | |
xtensor (const xtensor< utype > &) | |
xtensor< utype > | operator= (const xtensor< utype > &) |
xtensor< utype > | operator= (const _subtensor< utype > &) |
~xtensor () | |
void | buildTensor (const std::vector< int > &, const std::vector< int > &) |
_subtensor< utype > | operator() (std::vector< int >) const |
_subtensor< utype > | operator() (aurostd::xvector< int >) const |
_subtensor< utype > | operator[] (int) const |
xtensor< utype > & | operator+= (utype) |
xtensor< utype > & | operator-= (utype) |
xtensor< utype > & | operator*= (utype) |
xtensor< utype > & | operator/= (utype) |
xtensor< utype > & | operator+= (const xtensor< utype > &) |
xtensor< utype > & | operator-= (const xtensor< utype > &) |
xtensor< utype > & | operator+= (const _subtensor< utype > &) |
xtensor< utype > & | operator-= (const _subtensor< utype > &) |
void | set (const utype &) |
void | set (const utype &, const int &) |
void | reset () |
void | clear () |
bool | sameShape (const xtensor< utype > &) const |
bool | sameShape (const _subtensor< utype > &) const |
utype | get (const int &) const |
void | abs () |
void | ceil () |
void | floor () |
void | nint () |
void | round (const utype &) |
void | sign () |
utype | max () |
utype | min () |
utype | sum () |
Public Attributes | |
int * | shape |
bool | is_cubic |
int | nelements |
uint | ndim |
int * | uindex |
int * | lindex |
int * | shifts |
Private Member Functions | |
bool | checkInit (const std::vector< int > &, const std::vector< int > &) |
Private Attributes | |
utype * | corpus |
char | size |
long int | tsize |
Definition at line 65 of file aurostd_xtensor.h.
aurostd::xtensor< utype >::xtensor | ( | ) |
Definition at line 584 of file aurostd_xtensor.cpp.
aurostd::xtensor< utype >::xtensor | ( | const std::vector< int > & | uind | ) |
Definition at line 593 of file aurostd_xtensor.cpp.
aurostd::xtensor< utype >::xtensor | ( | const std::vector< int > & | uind, |
const std::vector< int > & | lind ) |
Definition at line 601 of file aurostd_xtensor.cpp.
aurostd::xtensor< utype >::xtensor | ( | const aurostd::xvector< int > & | xuind | ) |
Definition at line 608 of file aurostd_xtensor.cpp.
aurostd::xtensor< utype >::xtensor | ( | const aurostd::xvector< int > & | xuind, |
const aurostd::xvector< int > & | xlind ) |
Definition at line 617 of file aurostd_xtensor.cpp.
aurostd::xtensor< utype >::xtensor | ( | const int & | ui, |
const int & | li = 1 ) |
Definition at line 626 of file aurostd_xtensor.cpp.
aurostd::xtensor< utype >::xtensor | ( | const _subtensor< utype > & | st | ) |
Definition at line 638 of file aurostd_xtensor.cpp.
aurostd::xtensor< utype >::xtensor | ( | const xtensor< utype > & | that | ) |
Definition at line 756 of file aurostd_xtensor.cpp.
aurostd::xtensor< utype >::~xtensor | ( | ) |
Definition at line 827 of file aurostd_xtensor.cpp.
xtensor< utype > aurostd::xtensor< utype >::operator= | ( | const xtensor< utype > & | that | ) |
Definition at line 782 of file aurostd_xtensor.cpp.
xtensor< utype > aurostd::xtensor< utype >::operator= | ( | const _subtensor< utype > & | st | ) |
Definition at line 817 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::buildTensor | ( | const std::vector< int > & | uind, |
const std::vector< int > & | lind ) |
Definition at line 664 of file aurostd_xtensor.cpp.
_subtensor< utype > aurostd::xtensor< utype >::operator() | ( | std::vector< int > | indices | ) | const |
Definition at line 897 of file aurostd_xtensor.cpp.
_subtensor< utype > aurostd::xtensor< utype >::operator() | ( | aurostd::xvector< int > | indices | ) | const |
Definition at line 920 of file aurostd_xtensor.cpp.
_subtensor< utype > aurostd::xtensor< utype >::operator[] | ( | int | i | ) | const |
Definition at line 942 of file aurostd_xtensor.cpp.
xtensor< utype > & aurostd::xtensor< utype >::operator+= | ( | utype | scalar | ) |
Definition at line 960 of file aurostd_xtensor.cpp.
xtensor< utype > & aurostd::xtensor< utype >::operator-= | ( | utype | scalar | ) |
Definition at line 970 of file aurostd_xtensor.cpp.
xtensor< utype > & aurostd::xtensor< utype >::operator*= | ( | utype | scalar | ) |
Definition at line 980 of file aurostd_xtensor.cpp.
xtensor< utype > & aurostd::xtensor< utype >::operator/= | ( | utype | scalar | ) |
Definition at line 990 of file aurostd_xtensor.cpp.
xtensor< utype > & aurostd::xtensor< utype >::operator+= | ( | const xtensor< utype > & | tensor | ) |
Definition at line 1002 of file aurostd_xtensor.cpp.
xtensor< utype > & aurostd::xtensor< utype >::operator-= | ( | const xtensor< utype > & | tensor | ) |
Definition at line 1030 of file aurostd_xtensor.cpp.
xtensor< utype > & aurostd::xtensor< utype >::operator+= | ( | const _subtensor< utype > & | st | ) |
Definition at line 1075 of file aurostd_xtensor.cpp.
xtensor< utype > & aurostd::xtensor< utype >::operator-= | ( | const _subtensor< utype > & | st | ) |
Definition at line 1111 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::set | ( | const utype & | value | ) |
Definition at line 1284 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::set | ( | const utype & | value, |
const int & | i ) |
Definition at line 1293 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::reset | ( | ) |
Definition at line 1300 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::clear | ( | ) |
Definition at line 1309 of file aurostd_xtensor.cpp.
|
nodiscard |
Definition at line 865 of file aurostd_xtensor.cpp.
|
nodiscard |
Definition at line 877 of file aurostd_xtensor.cpp.
|
nodiscard |
Definition at line 1316 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::abs | ( | ) |
Definition at line 1486 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::ceil | ( | ) |
Definition at line 1511 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::floor | ( | ) |
Definition at line 1536 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::nint | ( | ) |
Definition at line 1561 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::round | ( | const utype & | tol | ) |
Definition at line 1586 of file aurostd_xtensor.cpp.
void aurostd::xtensor< utype >::sign | ( | ) |
Definition at line 1611 of file aurostd_xtensor.cpp.
utype aurostd::xtensor< utype >::max | ( | ) |
Definition at line 1658 of file aurostd_xtensor.cpp.
utype aurostd::xtensor< utype >::min | ( | ) |
Definition at line 1686 of file aurostd_xtensor.cpp.
utype aurostd::xtensor< utype >::sum | ( | ) |
Definition at line 1714 of file aurostd_xtensor.cpp.
|
private |
Definition at line 844 of file aurostd_xtensor.cpp.
int* aurostd::xtensor< utype >::shape |
Definition at line 80 of file aurostd_xtensor.h.
bool aurostd::xtensor< utype >::is_cubic |
Definition at line 81 of file aurostd_xtensor.h.
int aurostd::xtensor< utype >::nelements |
Definition at line 82 of file aurostd_xtensor.h.
uint aurostd::xtensor< utype >::ndim |
Definition at line 83 of file aurostd_xtensor.h.
int* aurostd::xtensor< utype >::uindex |
Definition at line 84 of file aurostd_xtensor.h.
int* aurostd::xtensor< utype >::lindex |
Definition at line 85 of file aurostd_xtensor.h.
int* aurostd::xtensor< utype >::shifts |
Definition at line 86 of file aurostd_xtensor.h.
|
private |
Definition at line 126 of file aurostd_xtensor.h.
|
private |
Definition at line 128 of file aurostd_xtensor.h.
|
private |
Definition at line 129 of file aurostd_xtensor.h.