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

Batching

All the matrix and vector traits in diffsol are implemented using batching, similar to the batching that you might be used to in several machine learning frameworks. This allows diffsol to solve nbatch ODEs in lockstep, which is particularly useful for solving many ODEs in parallel on the GPU.

This section covers configuring batches with OdeBuilder and working with batched vectors.