nk
1.0.0
C++ Numerical Computing Runtime
Toggle main menu visibility
Loading...
Searching...
No Matches
options.hpp
Go to the documentation of this file.
1
3
// toolboxes/ode/include/nk/ode/options.hpp
4
//
5
// odeset / odeget — assembled options struct passed to the ode* solvers.
6
//
7
// Reference:
8
// • Shampine & Reichelt, "The MATLAB ODE Suite", SIAM J. Sci. Comput.
9
// 18(1), 1997.
10
11
#pragma once
12
13
#include <memory_resource>
14
#include <nk/value/value.hpp>
15
16
namespace
nk::ode {
17
20
21
37
Value
odeset
(
const
Value
*args, std::size_t nargs,
38
std::pmr::memory_resource *mr =
nullptr
);
39
45
Value
odeget
(
const
Value
&opts,
const
Value
&name,
46
const
Value
&default_v, std::pmr::memory_resource *mr =
nullptr
);
47
48
50
}
// namespace nk::ode
nk::Value
Core MATLAB-compatible multidimensional array and scalar value type.
Definition
value.hpp:61
nk::ode::odeset
Value odeset(const Value *args, std::size_t nargs, std::pmr::memory_resource *mr=nullptr)
Build / extend an ODE options struct (odeset(...)).
nk::ode::odeget
Value odeget(const Value &opts, const Value &name, const Value &default_v, std::pmr::memory_resource *mr=nullptr)
Read a single field from an ODE options struct (val = odeget(opts, 'Name'[, default])).
src
toolboxes
ode
include
nk
ode
options.hpp
Generated by
1.17.0