Template Function libwalrus::renorm_hermite_multidimensional_cpp¶
Defined in File hermite_multidimensional.hpp
Function Documentation¶
-
template<typename
T
>
T *libwalrus
::
renorm_hermite_multidimensional_cpp
(const std::vector<T> &R, const std::vector<T> &y, const int &cutoff)¶ Returns the normalized multidimensional Hermite polynomials \(\tilde{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_1a277d330426ebdb2ab5fb88363fa77116
Download Python script
Download Notebook
View on GitHub
Contents
Downloads