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