|
| template<typename T > |
| void | madness::change_tensor_type (GenTensor< T > &t, const TensorArgs &targs) |
| | change representation to targ.tt
|
| |
| template<class Q , class T > |
| GenTensor< Q > | madness::convert (const GenTensor< T > &other) |
| | type conversion implies a deep copy
|
| |
| template<typename R , typename Q > |
| GenTensor< TENSOR_RESULT_TYPE(R, Q)> | madness::general_transform (const GenTensor< R > &t, const Tensor< Q > c[]) |
| |
| template<typename Q , typename R > |
| bool | madness::is_same_tensor_type (const GenTensor< R > &rhs, const GenTensor< Q > &lhs) |
| |
| template<typename T , typename Q > |
| IsSupported< TensorTypeData< Q >, GenTensor< T > >::type | madness::operator* (const Q &x, const GenTensor< T > &t) |
| | The class defines tensor op scalar ... here define scalar op tensor.
|
| |
| template<class T , class Q > |
| GenTensor< TENSOR_RESULT_TYPE(T, Q)> | madness::outer (const GenTensor< T > &t1, const GenTensor< Q > &t2, const TensorArgs final_tensor_args=TensorArgs(-1.0, TT_2D)) |
| | outer product of two Tensors, yielding a low rank tensor
|
| |
| template<class T , class Q > |
| GenTensor< TENSOR_RESULT_TYPE(T, Q)> | madness::outer (const Tensor< T > &lhs2, const Tensor< Q > &rhs2, const TensorArgs final_tensor_args) |
| | outer product of two Tensors, yielding a low rank tensor
|
| |
| template<class T > |
| GenTensor< T > | madness::reduce (std::list< GenTensor< T > > &addends, double eps, bool are_optimal=false) |
| | add all the GenTensors of a given list
|
| |
| template<typename R , typename Q > |
| GenTensor< TENSOR_RESULT_TYPE(R, Q)> | madness::transform (const GenTensor< R > &t, const Tensor< Q > &c) |
| |
| template<typename R , typename Q > |
| GenTensor< TENSOR_RESULT_TYPE(R, Q)> | madness::transform_dir (const GenTensor< R > &t, const Tensor< Q > &c, const int axis) |
| |