FNFT
|
Computes the polynomial approximation of the combined scattering matrix. More...
Go to the source code of this file.
Functions | |
FNFT_UINT | fnft__kdv_fscatter_numel (FNFT_UINT D, fnft_kdv_discretization_t discretization) |
Returns the length of transfer_matrix to be allocated based on the number of samples and discretization. | |
FNFT_INT | fnft__kdv_fscatter (const FNFT_UINT D, FNFT_COMPLEX const *const q, FNFT_COMPLEX const *const r, const FNFT_REAL eps_t, const FNFT_INT kappa, FNFT_COMPLEX *const result, FNFT_UINT *const deg_ptr, FNFT_INT *const W_ptr, fnft_kdv_discretization_t const discretization) |
Fast computation of polynomial approximation of the combined scattering matrix. | |
Computes the polynomial approximation of the combined scattering matrix.
FNFT_UINT fnft__kdv_fscatter_numel | ( | FNFT_UINT | D, |
fnft_kdv_discretization_t | discretization | ||
) |
Returns the length of transfer_matrix to be allocated based on the number of samples and discretization.
This routine returns the length 4*D*(kdv_discretization_degree(discretization) + 1) to be allocated based on the number of samples and discretization of type discretization.
[in] | D | Number of samples. |
[in] | discretization | Type of discretization from fnft_kdv_discretization_t. |