| template<template< typename > class Matrix, typename C > |
| Tensor< Matrix, C > | mptensor::operator+ (Tensor< Matrix, C > rhs) |
| | Unary plus.
|
| |
| template<template< typename > class Matrix, typename C > |
| Tensor< Matrix, C > | mptensor::operator- (Tensor< Matrix, C > rhs) |
| | Unary minus.
|
| |
| template<template< typename > class Matrix, typename C > |
| Tensor< Matrix, C > | mptensor::operator+ (Tensor< Matrix, C > lhs, const Tensor< Matrix, C > &rhs) |
| | Addition.
|
| |
| template<template< typename > class Matrix, typename C > |
| Tensor< Matrix, C > | mptensor::operator- (Tensor< Matrix, C > lhs, const Tensor< Matrix, C > &rhs) |
| | Subtraction.
|
| |
| template<template< typename > class Matrix, typename C , typename D > |
| Tensor< Matrix, C > | mptensor::operator* (Tensor< Matrix, C > lhs, D rhs) |
| | Tensor-scalar multiplication.
|
| |
| template<template< typename > class Matrix, typename C , typename D > |
| Tensor< Matrix, C > | mptensor::operator/ (Tensor< Matrix, C > lhs, D rhs) |
| | Scalar division.
|
| |
| template<template< typename > class Matrix, typename C , typename D > |
| Tensor< Matrix, C > | mptensor::operator* (D lhs, Tensor< Matrix, C > rhs) |
| | Scalar-tensor multiplication.
|
| |
Functions for arithmetic operations.
◆ operator*() [1/2]
Scalar-tensor multiplication.
◆ operator*() [2/2]
Tensor-scalar multiplication.
◆ operator+() [1/2]
◆ operator+() [2/2]
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ operator/()