Tensorium
Loading...
Searching...
No Matches
tensorium::SpectalChebyshev< T > Class Template Reference

Placeholder Chebyshev spectral method class. More...

#include <Spectral.hpp>

Collaboration diagram for tensorium::SpectalChebyshev< T >:

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.
 

Detailed Description

template<typename T>
class tensorium::SpectalChebyshev< T >

Placeholder Chebyshev spectral method class.

This is a demonstration implementation for Chebyshev-based operator application.

Template Parameters
TScalar type

Member Typedef Documentation

◆ Tensor2D

◆ VectorT

Member Function Documentation

◆ compute()

template<typename T >
static void tensorium::SpectalChebyshev< T >::compute ( const VectorT & X,
T h,
Tensor2D & result )
inlinestatic

Dummy computation using Chebyshev-like cosine weights.

Fills the result matrix with \( \cos(X_i X_j) \cdot h \)

Parameters
XInput vector (length must match dim)
hScaling factor
resultOutput 2D tensor

References tensorium::Tensor< K, Rank >::fill(), tensorium::Tensor< K, Rank >::resize(), and X().

Here is the call graph for this function:

The documentation for this class was generated from the following file: