Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

SUNDIALS CVODE integration for maxima-numerics. Provides production-grade ODE solving via the SUNDIALS library from Lawrence Livermore National Laboratory.

Features:

  • CVODE solver — variable-order Adams (non-stiff) and BDF (stiff) methods
  • Event detection — zero-crossing rootfinding during integration
  • Two calling modes — expression mode (symbolic RHS) and function mode (callable RHS), matching the np_odeint conventions

Prerequisites

SUNDIALS v6.0+ must be installed on your system:

macOS:   brew install sundials
Debian:  sudo apt install libsundials-dev
Fedora:  sudo dnf install sundials-devel
Windows: vcpkg install sundials

Loading

(%i1) load("numerics")$
(%i2) load("numerics-sundials")$