xerus
a general purpose tensor library
xerus::Tensor Member List

This is the complete list of members for xerus::Tensor, including all inherited members.

add_sparse_to_full(const std::shared_ptr< value_t > &_denseData, const value_t _factor, const std::shared_ptr< const std::map< size_t, value_t >> &_sparseData)xerus::Tensorprotectedstatic
add_sparse_to_sparse(const std::shared_ptr< std::map< size_t, value_t >> &_sum, const value_t _factor, const std::shared_ptr< const std::map< size_t, value_t >> &_summand)xerus::Tensorprotectedstatic
all_entries_valid() constxerus::Tensor
apply_factor()xerus::Tensor
at(const size_t _position)xerus::Tensor
cat(const size_t _position) constxerus::Tensor
count_non_zero_entries(const value_t _eps=std::numeric_limits< value_t >::epsilon()) constxerus::Tensor
degree() constxerus::Tensor
dense_copy() constxerus::Tensor
dimensionsxerus::Tensor
DimensionTuple typedefxerus::Tensor
dirac(DimensionTuple _dimensions, const MultiIndex &_position)xerus::Tensorstatic
dirac(DimensionTuple _dimensions, const size_t _position)xerus::Tensorstatic
ensure_own_data()xerus::Tensor
ensure_own_data_and_apply_factor()xerus::Tensor
ensure_own_data_no_copy()xerus::Tensor
factorxerus::Tensor
fix_mode(const size_t _mode, const size_t _slatePosition)xerus::Tensor
frob_norm() constxerus::Tensor
get_dense_data()xerus::Tensor
get_internal_dense_data()xerus::Tensor
get_internal_sparse_data()xerus::Tensor
get_sparse_data()xerus::Tensor
get_unsanitized_dense_data()xerus::Tensor
get_unsanitized_dense_data() constxerus::Tensor
get_unsanitized_sparse_data()xerus::Tensor
get_unsanitized_sparse_data() constxerus::Tensor
has_factor() constxerus::Tensor
identity(DimensionTuple _dimensions)xerus::Tensorstatic
Initialisation enum namexerus::Tensor
is_dense() constxerus::Tensor
is_sparse() constxerus::Tensor
kronecker(DimensionTuple _dimensions)xerus::Tensorstatic
modify_diagonal_entries(const std::function< void(value_t &)> &_f)xerus::Tensor
modify_diagonal_entries(const std::function< void(value_t &, const size_t)> &_f)xerus::Tensor
modify_entries(const std::function< void(value_t &)> &_f)xerus::Tensor
modify_entries(const std::function< void(value_t &, const size_t)> &_f)xerus::Tensor
modify_entries(const std::function< void(value_t &, const MultiIndex &)> &_f)xerus::Tensor
MultiIndex typedefxerus::Tensor
multiIndex_to_position(const MultiIndex &_multiIndex, const DimensionTuple &_dimensions)xerus::Tensorstatic
offset_add(const Tensor &_other, const std::vector< size_t > &_offsets)xerus::Tensor
one_norm() constxerus::Tensor
ones(DimensionTuple _dimensions)xerus::Tensorstatic
operator()(args... _args)xerus::Tensorinline
operator()(args... _args) constxerus::Tensorinline
operator()(const std::vector< Index > &_indices)xerus::Tensor
operator()(std::vector< Index > &&_indices)xerus::Tensor
operator()(const std::vector< Index > &_indices) constxerus::Tensor
operator()(std::vector< Index > &&_indices) constxerus::Tensor
operator*=(const value_t _factor)xerus::Tensor
operator+=(const Tensor &_other)xerus::Tensor
operator-=(const Tensor &_other)xerus::Tensor
operator/=(const value_t _divisor)xerus::Tensor
operator=(const Tensor &_other)=defaultxerus::Tensor
operator=(Tensor &&_other)=defaultxerus::Tensor
operator=(const TensorNetwork &_network)xerus::Tensor
operator[](const size_t _position)xerus::Tensor
operator[](const size_t _position) constxerus::Tensor
operator[](const MultiIndex &_positions)xerus::Tensor
operator[](const MultiIndex &_positions) constxerus::Tensor
override_dense_data()xerus::Tensor
override_sparse_data()xerus::Tensor
perform_trace(size_t _firstMode, size_t _secondMode)xerus::Tensor
plus_minus_equal(Tensor &_me, const Tensor &_other)xerus::Tensorprotectedstatic
position_to_multiIndex(size_t _position, const DimensionTuple &_dimensions)xerus::Tensorstatic
random(DimensionTuple _dimensions, distribution &_dist=xerus::misc::defaultNormalDistribution, generator &_rnd=xerus::misc::randomEngine)xerus::Tensorinlinestatic
random(std::initializer_list< size_t > &&_dimensions, distribution &_dist=xerus::misc::defaultNormalDistribution, generator &_rnd=xerus::misc::randomEngine)xerus::Tensorinlinestatic
random(DimensionTuple _dimensions, const size_t _N, distribution &_dist=xerus::misc::defaultNormalDistribution, generator &_rnd=xerus::misc::randomEngine)xerus::Tensorinlinestatic
random(std::initializer_list< size_t > &&_dimensions, const size_t _N, distribution &_dist, generator &_rnd)xerus::Tensorinlinestatic
random_orthogonal(DimensionTuple _dimensions1, DimensionTuple _dimensions2, generator &_rnd=xerus::misc::randomEngine)xerus::Tensorinlinestatic
reinterpret_dimensions(DimensionTuple _newDimensions)xerus::Tensor
remove_slate(const size_t _mode, const size_t _pos)xerus::Tensor
reorder_cost() constxerus::Tensor
representationxerus::Tensor
Representation enum namexerus::Tensor
reset(DimensionTuple _newDim, const Representation _representation, const Initialisation _init=Initialisation::Zero)xerus::Tensor
reset(DimensionTuple _newDim, const Initialisation _init=Initialisation::Zero)xerus::Tensor
reset()xerus::Tensor
reset(DimensionTuple _newDim, const std::shared_ptr< value_t > &_newData)xerus::Tensor
reset(DimensionTuple _newDim, std::unique_ptr< value_t[]> &&_newData)xerus::Tensor
reset(DimensionTuple _newDim, std::map< size_t, value_t > &&_newData)xerus::Tensor
resize_mode(const size_t _mode, const size_t _newDim, size_t _cutPos=~0ul)xerus::Tensor
sizexerus::Tensor
sparse_copy() constxerus::Tensor
sparsity() constxerus::Tensor
sparsityFactorxerus::Tensorstatic
Tensor(const Representation _representation=Representation::Sparse)xerus::Tensorexplicit
Tensor(const Tensor &_other)=defaultxerus::Tensor
Tensor(Tensor &&_other) noexcept=defaultxerus::Tensor
Tensor(DimensionTuple _dimensions, const Representation _representation=Representation::Sparse, const Initialisation _init=Initialisation::Zero)xerus::Tensorexplicit
Tensor(Vec &&_dimensions, SPtr &&_data)xerus::Tensorinlineexplicit
Tensor(DimensionTuple _dimensions, std::unique_ptr< value_t[]> &&_data)xerus::Tensorexplicit
Tensor(DimensionTuple _dimensions, const std::function< value_t()> &_f)xerus::Tensorexplicit
Tensor(DimensionTuple _dimensions, const std::function< value_t(const size_t)> &_f)xerus::Tensorexplicit
Tensor(DimensionTuple _dimensions, const std::function< value_t(const MultiIndex &)> &_f)xerus::Tensorexplicit
Tensor(DimensionTuple _dimensions, const size_t _N, const std::function< std::pair< size_t, value_t >(size_t, size_t)> &_f)xerus::Tensor
to_string() constxerus::Tensor
use_dense_representation()xerus::Tensor
use_dense_representation_if_desirable()xerus::Tensor
use_sparse_representation(const value_t _eps=std::numeric_limits< value_t >::epsilon())xerus::Tensor