Public Member Functions | List of all members
ComplexModalVector Class Reference

A class for storing complex spectral coefficients on a spectral grid. More...

#include <ComplexModalVector.hpp>

Public Member Functions

 ComplexModalVector (const ComplexModalVector &)=default
 
 ComplexModalVector (ComplexModalVector &&)=default
 
ComplexModalVectoroperator= (const ComplexModalVector &)=default
 
ComplexModalVectoroperator= (ComplexModalVector &&)=default
 

Detailed Description

A class for storing complex spectral coefficients on a spectral grid.

Details

A ComplexModalVector holds an array of spectral coefficients represented as std::complex<double>s, and can be either owning (the array is deleted when the ComplexModalVector goes out of scope) or non-owning, meaning it just has a pointer to an array.

Only basic mathematical operations are supported with ComplexModalVectors. ComplexModalVectors may be added or subtracted and may be added or subtracted with ModalVectors, and the following unary operations are supported:

Also multiplication is supported with std::complex<double>s or doubles and ComplexModalVectors, and ComplexModalVectors can be divided by std::complex<double>s or doubles. Multiplication is supported with ComplexDiagonalModalOperators and ComplexModalVectors.


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