|
SpECTRE
v2025.08.19
|
a tensor product of one-dimensional MathFunctions More...
#include <TensorProduct.hpp>
Public Member Functions | |
| TensorProduct (double scale, std::array< std::unique_ptr< MathFunction< 1, Frame::Inertial > >, Dim > &&functions) | |
| TensorProduct (const TensorProduct &other) | |
| TensorProduct (TensorProduct &&)=default | |
| TensorProduct & | operator= (const TensorProduct &other) |
| TensorProduct & | operator= (TensorProduct &&)=default |
| template<typename T > | |
| Scalar< T > | operator() (const tnsr::I< T, Dim > &x) const |
| The value of the function. | |
| template<typename T > | |
| tnsr::i< T, Dim > | first_derivatives (const tnsr::I< T, Dim > &x) const |
| The partial derivatives of the function. | |
| template<typename T > | |
| tnsr::ii< T, Dim > | second_derivatives (const tnsr::I< T, Dim > &x) const |
| The second partial derivatives of the function. | |
Friends | |
| template<size_t LocalDim> | |
| bool | operator== (const TensorProduct< LocalDim > &lhs, const TensorProduct< LocalDim > &rhs) |
| template<size_t LocalDim> | |
| bool | operator!= (const TensorProduct< LocalDim > &lhs, const TensorProduct< LocalDim > &rhs) |
a tensor product of one-dimensional MathFunctions