Description Usage Arguments Details Value
These functions are used to reorganize the state vector state-wise resp. layer-wise.
1 2 3 4 5 | arrangeStateWise(x, nstates, nlayers)
arrangeLayerWise(x, nstates, nlayers)
layers2vector(x)
|
x |
state vector resp. state matrix |
nstates |
number of state variables |
nlayers |
number of layers |
Functions arrangeStateWise
and arrangeLayerWise
rearrange
state vectors from layer wise (ABCABCABC) to state wise (AAABBBCCC) and vice
versa, function layers2vector
creates a state vector from a matrix
(layers x variables).
rearranged vector of state variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.