Template Function libwalrus::hermite_multidimensional_cpp¶
Defined in File hermite_multidimensional.hpp
Function Documentation¶
-
template<typename
T
>
T *libwalrus
::
hermite_multidimensional_cpp
(const std::vector<T> &R, const std::vector<T> &y, const int &cutoff)¶ Returns the multidimensional Hermite polynomials \(H_k^{(R)}(y)\).
This implementation is based on the MATLAB code available at https://github.com/clementsw/gaussian-optics
- Parameters
R
: a flattened vector of size \(n^2\), representing a \(n\times n\) symmetric matrix.y
: a flattened vector of size \(n\).cutoff
: highest number of photons to be resolved.
libwalrus_cpp_api/function_namespacelibwalrus_1a8aabf83f774e37f74ca9fb789c9b93a2
Download Python script
Download Notebook
View on GitHub
Contents
Downloads