(py)oscode
stable
Contents:
Introduction
Python interface reference
Using the C++ interface
C++ interface reference
Class Hierarchy
File Hierarchy
Full API
Classes and Structs
Template Struct LinearInterpolator
Class de_system
Class RKSolver
Class Solution
Class WKBSolver
Class WKBSolver1
Class WKBSolver2
Class WKBSolver3
(py)oscode
Docs
»
oscode
»
Template Struct LinearInterpolator
Edit on GitHub
Template Struct LinearInterpolator
¶
Defined in
File interpolator.hpp
Struct Documentation
¶
template
<
typename
X
=
double
*
,
typename
Y
=
std
::
complex
<
double
>
*
,
typename
InputIt_x
=
double
*
>
struct
LinearInterpolator
¶
Public Functions
inline
LinearInterpolator
(
)
¶
inline
LinearInterpolator
(
X
x
,
Y
y
,
int
even
)
¶
inline
void
set_interp_start
(
InputIt_x
x_start
)
¶
inline
void
set_interp_bounds
(
InputIt_x
lower_it
,
InputIt_x
upper_it
)
¶
inline
void
update_interp_bounds
(
)
¶
inline
void
update_interp_bounds_reverse
(
)
¶
inline
std
::
complex
<
double
>
operator
()
(
double
x
)
¶
inline
std
::
complex
<
double
>
expit
(
double
x
)
¶
inline
int
check_grid_fineness
(
int
N
)
¶
Public Members
int
sign_
¶
double
xstart
¶
double
dx
¶
X
x_
¶
Y
y_
¶
int
even_
¶
InputIt_x
x_lower_bound
¶
InputIt_x
x_upper_bound
¶
InputIt_x
x_lower_it
¶
InputIt_x
x_upper_it
¶
InputIt_x
x0_it
¶
double
x_lower
¶
double
x_upper
¶
double
h
¶
std
::
complex
<
double
>
y_lower
¶
std
::
complex
<
double
>
y_upper
¶