systems.base.numerical_integration.get_method_info
systems.base.numerical_integration.get_method_info(method, backend='numpy')
Get comprehensive information about a method.
Parameters
| method |
str |
Method name (canonical or backend-specific) |
required |
| backend |
Backend |
Target backend |
'numpy' |
Returns
|
dict |
Dictionary with method information: - original_name : str - Method name as provided - normalized_name : str - Backend-specific normalized name - backend : str - Target backend - is_sde : bool - Whether method is for SDEs - is_fixed_step : bool - Whether method uses fixed time stepping - is_adaptive : bool - Whether method uses adaptive time stepping - is_available : bool - Whether method exists for backend - category : str - Method category (e.g., ‘deterministic_fixed_step’) |
Examples
>>> info = get_method_info('euler_maruyama', 'torch')
>>> print(info)
{
'original_name': 'euler_maruyama',
'normalized_name': 'euler',
'backend': 'torch',
'is_sde': True,
'is_fixed_step': True,
'is_adaptive': False,
'is_available': True,
'category': 'sde_fixed_step'
}