Tensorium
|
Placeholder Chebyshev spectral method class. More...
#include <Spectral.hpp>
Public Types | |
using | Tensor2D = tensorium::Tensor<T, 2> |
using | VectorT = tensorium::Vector<T> |
Static Public Member Functions | |
static void | compute (const VectorT &X, T h, Tensor2D &result) |
Dummy computation using Chebyshev-like cosine weights. | |
Placeholder Chebyshev spectral method class.
This is a demonstration implementation for Chebyshev-based operator application.
T | Scalar type |
using tensorium::SpectalChebyshev< T >::Tensor2D = tensorium::Tensor<T, 2> |
using tensorium::SpectalChebyshev< T >::VectorT = tensorium::Vector<T> |
|
inlinestatic |
Dummy computation using Chebyshev-like cosine weights.
Fills the result matrix with \( \cos(X_i X_j) \cdot h \)
X | Input vector (length must match dim) |
h | Scaling factor |
result | Output 2D tensor |
References tensorium::Tensor< K, Rank >::fill(), tensorium::Tensor< K, Rank >::resize(), and X().