mat2vec_IC

Transforms the initial condition for a matrix-valued IVP into the initial condition for its corresponding vector-valued IVP.

Back to IVP Solver Toolbox Contents.

Contents

Syntax

y0 = mat2vec_IC(M0)

Description

y0 = mat2vec_IC(M0) transforms the initial condition $\mathbf{M}_{0}\in\mathrm{R}^{p\times r}$ for a matrix-valued IVP into the initial condition $\mathbf{y}_{0}\in\mathrm{R}^{pr}$ for its corresponding vector-valued IVP.

Input/Output Parameters

Variable Symbol Description Format
Input M0 initial condition for matrix-valued IVP p×r
double
Output y0 initial condition for corresponding vector-valued IVP pr×1
double

See also

mat2vec_E | mat2vec_ODE | vec2mat_sol