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 | |

ComplexModalVector & | operator= (const ComplexModalVector &)=default |

ComplexModalVector & | operator= (ComplexModalVector &&)=default |

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

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 `ComplexModalVector`

s. `ComplexModalVector`

s may be added or subtracted and may be added or subtracted with `ModalVector`

s, and the following unary operations are supported:

- conj
- imag (which returns a
`ModalVector`

) - real (which returns a
`ModalVector`

)

Also multiplication is supported with `std::complex<double>`

s or doubles and `ComplexModalVector`

s, and `ComplexModalVector`

s can be divided by `std::complex<double>`

s or `double`

s. Multiplication is supported with `ComplexDiagonalModalOperator`

s and `ComplexModalVector`

s.

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

- src/DataStructures/ComplexModalVector.hpp

© Copyright 2017 - 2020 SXS Collaboration, Distributed under the MIT License