braincell.quad.state

Contents

braincell.quad.state#

braincell.quad.state(value, **kwargs)#

Allocate the integrable hidden state class the current host wants.

Parameters:
  • value (ArrayLike) – Initial value, normally a brainunit.Quantity.

  • **kwargs – Forwarded to the state constructor.

Returns:

A DiffEqGroupState inside state_grouping() (i.e. within a braincell.Cell), otherwise a DiffEqSingleState.

Return type:

DiffEqState

See also

state_grouping

Scope that selects the class.

hidden_state

The non-integrable counterpart.