types.backends.get_backend_default_method
types.backends.get_backend_default_method(backend, is_stochastic=False)
Get default integration method for backend.
Parameters
| backend |
Backend |
Computational backend |
required |
| is_stochastic |
bool |
Whether system is stochastic |
False |
Returns
|
str |
Default method name for this backend |
Examples
>>> get_backend_default_method('numpy', is_stochastic=False)
'RK45'
>>> get_backend_default_method('numpy', is_stochastic=True)
'EM'
>>> get_backend_default_method('torch', is_stochastic=True)
'euler'