Go to the documentation of this file.
28 #ifndef FNFT__KDV_DISCRETIZATION_H
29 #define FNFT__KDV_DISCRETIZATION_H
148 #ifdef FNFT_ENABLE_SHORT_NAMES
149 #define kdv_discretization_degree(...) fnft__kdv_discretization_degree(__VA_ARGS__)
150 #define kdv_discretization_boundary_coeff(...) fnft__kdv_discretization_boundary_coeff(__VA_ARGS__)
151 #define kdv_discretization_to_akns_discretization(...) fnft__kdv_discretization_to_akns_discretization(__VA_ARGS__)
152 #define kdv_discretization_upsampling_factor(...) fnft__kdv_discretization_upsampling_factor(__VA_ARGS__)
153 #define kdv_discretization_lambda_to_z(...) fnft__kdv_discretization_lambda_to_z(__VA_ARGS__)
154 #define kdv_discretization_z_to_lambda(...) fnft__kdv_discretization_z_to_lambda(__VA_ARGS__)
Lists discretizations for the Korteweg-de Vries equation.
int32_t FNFT_INT
Definition: fnft_numtypes.h:56
size_t FNFT_UINT
Definition: fnft_numtypes.h:62
fnft_kdv_discretization_t
Enum that specifies discretizations used to compute nonlinear Fourier transforms for the Korteweg-de ...
Definition: fnft_kdv_discretization_t.h:96
FNFT_UINT fnft__kdv_discretization_upsampling_factor(fnft_kdv_discretization_t discretization)
This routine returns the scaling for effective number of samples based on the discretization.
Properties of the discretizations for the Korteweg-de Vries equation.
double complex FNFT_COMPLEX
Definition: fnft_numtypes.h:47
FNFT_INT fnft__kdv_discretization_lambda_to_z(const FNFT_UINT n, const FNFT_REAL eps_t, FNFT_COMPLEX *const vals, fnft_kdv_discretization_t discretization)
This routine maps from continuous-time domain to in the discrete-time domain based on the discretiz...
FNFT_INT fnft__kdv_discretization_z_to_lambda(const FNFT_UINT n, const FNFT_REAL eps_t, FNFT_COMPLEX *const vals, fnft_kdv_discretization_t discretization)
This routine maps from the discrete-time domain to in the continuous-time domain based on the discr...
double FNFT_REAL
Definition: fnft_numtypes.h:40
fnft__akns_discretization_t
Enum that specifies discretizations used to compute nonlinear Fourier transforms of systems that fit ...
Definition: fnft__akns_discretization_t.h:103
FNFT_UINT fnft__kdv_discretization_degree(fnft_kdv_discretization_t discretization)
This routine returns the max degree of the polynomials in a single scattering matrix or zero if the ...
FNFT_INT fnft__kdv_discretization_to_akns_discretization(fnft_kdv_discretization_t kdv_discretization, fnft__akns_discretization_t *const akns_discretization)
This routine returns akns discretization related to the given kdv discretization.
FNFT_REAL fnft__kdv_discretization_boundary_coeff(fnft_kdv_discretization_t discretization)
This routine returns the boundary coefficient based on the discretization.