affine_dependent#

diffeqzoo.ivps.affine_dependent(*, initial_values=(1.0, 1.0), time_span=(0.0, 1.0), A=((1, 0), (0, 1)), b=(0, 0))[source]#

Construct an IVP with an affine vector field.

In Python code, this means f(y, A, b) = A @ y + b.

By default, this is a 2d-problem. Change the initial value to make this a multidimensional problem.