Skip to content

Commit

Permalink
update split ode definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jan 25, 2018
1 parent 506d812 commit 47fe230
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docs/src/types/split_ode_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,26 @@

## Mathematical Specification of a Split ODE Problem

To define a `SplitODEProblem`, you simply need to give a tuple of
functions ``(f_1,f_2,\ldots,f_n)`` and the initial condition ``u₀`` which
To define a `SplitODEProblem`, you simply need to give a two functions
functions ``f_1`` and ``f_2`` along with an initial condition ``u₀`` which
define an ODE:

```math
\frac{du}{dt} = f_1(u,p,t) + f_2(u,p,t) + \ldots + f_n(u,p,t)
\frac{du}{dt} = f_1(u,p,t) + f_2(u,p,t)
```

`f` should be specified as `f(u,p,t)` (or in-place as `f(du,u,p,t)`), and `u₀` should
be an AbstractArray (or number) whose geometry matches the desired geometry of `u`.
Note that we are not limited to numbers or vectors for `u₀`; one is allowed to
provide `u₀` as arbitrary matrices / higher dimension tensors as well.

Many splits are at least partially linear. For how to define a function as linear,
see the documentation for the [DiffEqOperators](../../features/diffeq_operator.html).
Many splits are at least partially linear. That is the equation:

```math
\frac{du}{dt} = f_1(u,p,t) + f_2(u,p,t)
```

For how to define a function as linear, see the documentation for the [DiffEqOperators](../../features/diffeq_operator.html).

### Constructors

Expand Down

0 comments on commit 47fe230

Please sign in to comment.