|
mptensor v0.5.1
Parallel Library for Tensor Network Methods
|
| template<typename MatrixType > | |
| Tensor< MatrixType > | mptensor::operator+ (Tensor< MatrixType > rhs) |
| Unary plus. | |
| template<typename MatrixType > | |
| Tensor< MatrixType > | mptensor::operator- (Tensor< MatrixType > rhs) |
| Unary minus. | |
| template<typename MatrixType > | |
| Tensor< MatrixType > | mptensor::operator+ (Tensor< MatrixType > lhs, const Tensor< MatrixType > &rhs) |
| Addition. | |
| template<typename MatrixType > | |
| Tensor< MatrixType > | mptensor::operator- (Tensor< MatrixType > lhs, const Tensor< MatrixType > &rhs) |
| Subtraction. | |
| template<typename MatrixType , typename D > | |
| Tensor< MatrixType > | mptensor::operator* (Tensor< MatrixType > lhs, D rhs) |
| Tensor-scalar multiplication. | |
| template<typename MatrixType , typename D > | |
| Tensor< MatrixType > | mptensor::operator/ (Tensor< MatrixType > lhs, D rhs) |
| Scalar division. | |
| template<typename MatrixType , typename D > | |
| Tensor< MatrixType > | mptensor::operator* (D lhs, Tensor< MatrixType > rhs) |
| Scalar-tensor multiplication. | |
Functions for arithmetic operations.
|
inline |
Scalar-tensor multiplication.
|
inline |
Tensor-scalar multiplication.
|
inline |
Addition.
|
inline |
Unary plus.
|
inline |
Subtraction.
|
inline |
Unary minus.
|
inline |
Scalar division.