-
Notifications
You must be signed in to change notification settings - Fork 364
L_1bh
Joris Gillis edited this page Apr 4, 2023
·
2 revisions
Performs 1d linear interpolation.
::
interp1d([float] x, DM v, [float] xq, str mode, bool equidistant) -> DM interp1d([float] x, SX v, [float] xq, str mode, bool equidistant) -> SX interp1d([float] x, MX v, [float] xq, str mode, bool equidistant) -> MX
The data-points to be interpolated are given as (x[i], v[i]). xq[j] is used as interplating value
Extra doc: https://github.com/casadi/casadi/wiki/L_1bh
Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L311
Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L311-L314
To edit, see writing tips.