29#ifndef FNFT__KDV_SCATTER_H
30#define FNFT__KDV_SCATTER_H
137#ifdef FNFT_ENABLE_SHORT_NAMES
138#define kdv_scatter_bound_states(...) fnft__kdv_scatter_bound_states(__VA_ARGS__)
139#define kdv_scatter_matrix(...) fnft__kdv_scatter_matrix(__VA_ARGS__)
Properties of the discretizations for the Korteweg-de Vries equation.
Miscellaneous functions used in the FNFT library.
fnft_kdv_discretization_t
Enum that specifies discretizations and methods used to compute nonlinear Fourier transforms for the ...
Definition fnft_kdv_discretization_t.h:116
FNFT_INT fnft__kdv_scatter_bound_states(const FNFT_UINT D, FNFT_COMPLEX const *const q, FNFT_COMPLEX const *const r, FNFT_REAL const *const T, FNFT_UINT const K, FNFT_COMPLEX *const bound_states, FNFT_COMPLEX *const a_vals, FNFT_COMPLEX *const aprime_vals, FNFT_COMPLEX *const b, FNFT_INT *const Ws, fnft_kdv_discretization_t const discretization, FNFT_UINT const skip_b_flag)
Computes , and for complex values assuming that they are very close to the true bound-states.
FNFT_INT fnft__kdv_scatter_matrix(const FNFT_UINT D, FNFT_COMPLEX const *const q, FNFT_COMPLEX const *const r, const FNFT_REAL eps_t, const FNFT_INT kappa, const FNFT_UINT K, FNFT_COMPLEX const *const lambda, FNFT_COMPLEX *const result, FNFT_INT *const W, fnft_kdv_discretization_t const discretization, const FNFT_UINT derivative_flag)
Computes the scattering matrix and its derivative.
size_t FNFT_UINT
Definition fnft_numtypes.h:62
double complex FNFT_COMPLEX
Definition fnft_numtypes.h:47
int32_t FNFT_INT
Definition fnft_numtypes.h:56
double FNFT_REAL
Definition fnft_numtypes.h:40