#include "aurostd_xtensor.h"
#include <cstddef>
#include <iostream>
#include <ostream>
#include <sstream>
#include <string>
#include <vector>
#include "aurostd.h"
#include "aurostd_automatic_template.h"
#include "aurostd_xerror.h"
#include "aurostd_xmatrix.h"
#include "aurostd_xscalar.h"
#include "aurostd_xvector.h"
#include "aflow_xhost.h"
Go to the source code of this file.
Namespaces | |
namespace | aurostd |
Macros | |
#define | _AUROSTD_XTENSOR_CPP_ |
#define | _DEBUG_XTENSOR_ false |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
#define | AST_TEMPLATE(utype) |
Functions | |
template<class utype> | |
xtensor< utype > | aurostd::operator+ (const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::operator- (const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::operator+ (const xtensor< utype > &tensor) |
template<class utype> | |
xtensor< utype > | aurostd::operator- (xtensor< utype > tensor) |
template<class utype> | |
xtensor< utype > | aurostd::operator* (xtensor< utype > tensor, const utype &scalar) |
template<class utype> | |
xtensor< utype > | aurostd::operator* (const utype &scalar, const xtensor< utype > &tensor) |
template<class utype> | |
xtensor< utype > | aurostd::operator/ (xtensor< utype > tensor, const utype &scalar) |
template<class utype> | |
xtensor< utype > | aurostd::operator+ (xtensor< utype > tensor1, const xtensor< utype > &tensor2) |
template<class utype> | |
xtensor< utype > | aurostd::operator- (xtensor< utype > tensor1, const xtensor< utype > &tensor2) |
template<class utype> | |
xtensor< utype > | aurostd::operator+ (const xtensor< utype > &tensor, const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::operator+ (const _subtensor< utype > &st, const xtensor< utype > &tensor) |
template<class utype> | |
xtensor< utype > | aurostd::operator+ (const _subtensor< utype > &st1, const _subtensor< utype > &st2) |
template<class utype> | |
xtensor< utype > | aurostd::operator- (const xtensor< utype > &tensor, const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::operator- (const _subtensor< utype > &st, const xtensor< utype > &tensor) |
template<class utype> | |
xtensor< utype > | aurostd::operator- (const _subtensor< utype > &st1, const _subtensor< utype > &st2) |
template<class utype> | |
std::vector< utype > | aurostd::xtensor2vector (xtensor< utype > &tensor) |
template<class utype> | |
std::vector< utype > | aurostd::xtensor2vector (const _subtensor< utype > &st) |
template<class utype> | |
xvector< utype > | aurostd::xtensor2xvector (xtensor< utype > &tensor) |
template<class utype> | |
xvector< utype > | aurostd::xtensor2xvector (const _subtensor< utype > &st) |
template<class utype> | |
xmatrix< utype > | aurostd::xtensor2xmatrix (xtensor< utype > &tensor) |
template<class utype> | |
xmatrix< utype > | aurostd::xtensor2xmatrix (const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::vector2xtensor (const std::vector< utype > &vec) |
template<class utype> | |
xtensor< utype > | aurostd::xvector2xtensor (const aurostd::xvector< utype > &xvec) |
template<class utype> | |
xtensor< utype > | aurostd::xmatrix2xtensor (const aurostd::xmatrix< utype > &xmat) |
template<class utype> | |
xtensor< utype > | aurostd::abs (xtensor< utype > tensor) |
template<class utype> | |
xtensor< utype > | aurostd::abs (const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::ceil (xtensor< utype > tensor) |
template<class utype> | |
xtensor< utype > | aurostd::ceil (const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::floor (xtensor< utype > tensor) |
template<class utype> | |
xtensor< utype > | aurostd::floor (const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::nint (xtensor< utype > tensor) |
template<class utype> | |
xtensor< utype > | aurostd::nint (const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::round (xtensor< utype > tensor, const utype &tol) |
template<class utype> | |
xtensor< utype > | aurostd::round (const _subtensor< utype > &st, const utype &tol) |
template<class utype> | |
xtensor< utype > | aurostd::sign (xtensor< utype > tensor) |
template<class utype> | |
xtensor< utype > | aurostd::sign (const _subtensor< utype > &st) |
template<class utype> | |
xtensor< utype > | aurostd::identity_tensor (const utype &_type, int n) |
template<class utype> | |
utype | aurostd::max (xtensor< utype > tensor) |
template<class utype> | |
utype | aurostd::max (const _subtensor< utype > &st) |
template<class utype> | |
utype | aurostd::min (xtensor< utype > tensor) |
template<class utype> | |
utype | aurostd::min (const _subtensor< utype > &st) |
template<class utype> | |
utype | aurostd::sum (xtensor< utype > tensor) |
template<class utype> | |
utype | aurostd::sum (const _subtensor< utype > &st) |
template<class utype> | |
utype | aurostd::trace (const xtensor< utype > &tensor) |
template<class utype> | |
utype | aurostd::trace (const _subtensor< utype > &st) |
int | aurostd::eijk (int i, int j, int k) |
int | aurostd::eijk (xvector< int > ijk) |
int | aurostd::estarijk (int i, int j, int k) |
int | aurostd::estarijk (xvector< int > ijk) |
Variables | |
static const std::string | _SUBTENSOR_ERR_PREFIX_ = "aurostd::_subtensor::" |
static const std::string | _XTENSOR_ERR_PREFIX_ = "aurostd::xtensor::" |
#define _AUROSTD_XTENSOR_CPP_ |
Definition at line 12 of file aurostd_xtensor.cpp.
#define _DEBUG_XTENSOR_ false |
Definition at line 32 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
#define AST_TEMPLATE | ( | utype | ) |
Definition at line 60 of file aurostd_xtensor.cpp.
|
static |
Definition at line 40 of file aurostd_xtensor.cpp.
|
static |
Definition at line 41 of file aurostd_xtensor.cpp.