Tensor
A C++ expression template library for computations on N dimensional tensors
|
Functions | |
template<typename E1 , typename E2 , typename T1 , typename T2 > | |
const ftl::TensorAddition< E1, E2, T1, T2 > | operator+ (ftl::TensorExpression< E1, T1 > const &x, ftl::TensorExpression< E2, T2 > const &y) |
Adds two tensor expressions. More... | |
template<typename E1 , typename E2 , typename T1 , typename T2 > | |
const ftl::TensorSubtraction< E1, E2, T1, T2 > | operator- (ftl::TensorExpression< E1, T1 > const &x, ftl::TensorExpression< E2, T2 > const &y) |
Subtracts two tensor expressions. More... | |
const ftl::TensorAddition<E1, E2, T1, T2> anonymous_namespace{tensor_operations.hpp}::operator+ | ( | ftl::TensorExpression< E1, T1 > const & | x, |
ftl::TensorExpression< E2, T2 > const & | y | ||
) |
Adds two tensor expressions.
[in] | x | The first expression to add |
[in] | y | The second expression to add |
E1 | The type of the first expression for the addition |
E2 | The type of the second expression for the addition |
T1 | The traits of the first tensors – for addition the traits for the returned tensor are the same as the first tensor for additio |
T2 | The traits of the second expression |
const ftl::TensorSubtraction<E1, E2, T1, T2> anonymous_namespace{tensor_operations.hpp}::operator- | ( | ftl::TensorExpression< E1, T1 > const & | x, |
ftl::TensorExpression< E2, T2 > const & | y | ||
) |
Subtracts two tensor expressions.
[in] | x | The first expression to subtract from |
[in] | y | The second expression to subtract with |
E1 | The type of the first expression for the subtraction |
E2 | The type of the second expression for the subtraction |
T1 | The traits of the first tensors – for subtraction the traits for the returned tensor are the same as the first tensor for additio |
T2 | The traits of the second expression |