Skip to content

Commit 0ceee18

Browse files
committed
backup with single solve_ivp function
1 parent 28c17f1 commit 0ceee18

File tree

178 files changed

+1069
-584
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+1069
-584
lines changed

docs/mat2vec_C_doc.html

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!--
77
This HTML was auto-generated from MATLAB code.
88
To make changes, update the MATLAB code and republish this document.
9-
--><title>mat2vec_C</title><meta name="generator" content="MATLAB 9.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-08-30"><meta name="DC.source" content="mat2vec_C_doc.m"><style type="text/css">
9+
--><title>mat2vec_C</title><meta name="generator" content="MATLAB 9.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-09-17"><meta name="DC.source" content="mat2vec_C_doc.m"><style type="text/css">
1010
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
1111

1212
html { min-height:100%; margin-bottom:1px; }
@@ -67,9 +67,8 @@
6767

6868

6969

70-
</style></head><body><div class="content"><h1><tt>mat2vec_C</tt></h1><!--introduction--><p>Transforms the condition function for a matrix-valued IVP into the condition function for its corresponding vector-valued IVP.</p><p><a href="index.html">Back to IVP Solver Toolbox Contents</a>.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Syntax</a></li><li><a href="#2">Description</a></li><li><a href="#4">Input/Output Parameters</a></li><li><a href="#5">Note</a></li><li><a href="#6">See also</a></li></ul></div><h2 id="1">Syntax</h2><pre class="language-matlab">Cv = mat2vec_C(Cm)
71-
Cv = mat2vec_C(Cm,p)
72-
</pre><h2 id="2">Description</h2><p><tt>Cv = mat2vec_C(Cm)</tt> transforms the condition function <img src="mat2vec_C_doc_eq00129393535309650535.png" alt="$C(t,\mathbf{M})$" style="width:37px;height:11px;"> (where <img src="mat2vec_C_doc_eq03500430948250792091.png" alt="$C:\mathrm{R}\times\mathrm{R}^{p\times p}\to\mathrm{B}$" style="width:86px;height:9px;">) for a matrix-valued IVP into a condition function <img src="mat2vec_C_doc_eq08442474580442073854.png" alt="$C(t,\mathbf{y})$" style="width:32px;height:11px;"> (where <img src="mat2vec_C_doc_eq08809622711522139656.png" alt="$C:\mathrm{R}\times\mathrm{R}^{p^{2}}\to\mathrm{B}$" style="width:79px;height:11px;">) (where <img src="mat2vec_C_doc_eq15557481901179112500.png" alt="$\mathbf{f}:\mathrm{R}\times\mathrm{R}^{p^{2}}\to\mathrm{R}^{p^{2}}$" style="width:83px;height:11px;">) for its corresponding vector-valued IVP. It is assumed that <img src="mat2vec_C_doc_eq01518063970584319034.png" alt="$\mathbf{M}$" style="width:12px;height:8px;"> is a square matrix.</p><p><tt>Cv = mat2vec_C(Cm,p)</tt> transforms the condition function <img src="mat2vec_C_doc_eq00129393535309650535.png" alt="$C(t,\mathbf{M})$" style="width:37px;height:11px;"> (where <img src="mat2vec_C_doc_eq09727063517930851148.png" alt="$C:\mathrm{R}\times\mathrm{R}^{p\times r}\to\mathrm{B}$" style="width:86px;height:9px;">) for a matrix-valued IVP into a condition function <img src="mat2vec_C_doc_eq08442474580442073854.png" alt="$C(t,\mathbf{y})$" style="width:32px;height:11px;"> (where <img src="mat2vec_C_doc_eq11074000726716562484.png" alt="$C:\mathrm{R}\times\mathrm{R}^{pr}\to\mathrm{B}$" style="width:80px;height:8px;">) (where <img src="mat2vec_C_doc_eq00831713686490939019.png" alt="$\mathbf{f}:\mathrm{R}\times\mathrm{R}^{pr}\to\mathrm{R}^{p^{2}}$" style="width:84px;height:11px;">) for its corresponding vector-valued IVP.</p><h2 id="4">Input/Output Parameters</h2><p>
70+
</style></head><body><div class="content"><h1><tt>mat2vec_C</tt></h1><!--introduction--><p>Transforms the condition function for a matrix-valued IVP into the condition function for its corresponding vector-valued IVP.</p><p><a href="index.html">Back to IVP Solver Toolbox Contents</a>.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Syntax</a></li><li><a href="#2">Description</a></li><li><a href="#3">Input/Output Parameters</a></li><li><a href="#4">See also</a></li></ul></div><h2 id="1">Syntax</h2><pre class="language-matlab">Cv = mat2vec_C(Cm,p)
71+
</pre><h2 id="2">Description</h2><p><tt>Cv = mat2vec_C(Cm,p)</tt> transforms the condition function <img src="mat2vec_C_doc_eq00129393535309650535.png" alt="$C(t,\mathbf{M})$" style="width:37px;height:11px;"> (where <img src="mat2vec_C_doc_eq09727063517930851148.png" alt="$C:\mathrm{R}\times\mathrm{R}^{p\times r}\to\mathrm{B}$" style="width:86px;height:9px;">) for a matrix-valued IVP into a condition function <img src="mat2vec_C_doc_eq08442474580442073854.png" alt="$C(t,\mathbf{y})$" style="width:32px;height:11px;"> (where <img src="mat2vec_C_doc_eq11074000726716562484.png" alt="$C:\mathrm{R}\times\mathrm{R}^{pr}\to\mathrm{B}$" style="width:80px;height:8px;">) for its corresponding vector-valued IVP.</p><h2 id="3">Input/Output Parameters</h2><p>
7372
<table border=1>
7473
<tr>
7574
<td></td>
@@ -90,7 +89,7 @@
9089
<tr>
9190
<td style="text-align:center"><TT>p</TT></td>
9291
<td style="text-align:center"><img src="https://latex.codecogs.com/svg.latex?\inline&space;p" title="" /></td>
93-
<td>(OPTIONAL) number of rows of state matrix</td>
92+
<td>number of rows of state matrix</td>
9493
<td style="text-align:center">1×1<BR>double</td>
9594
</tr>
9695
<tr>
@@ -103,34 +102,22 @@
103102
<td style="text-align:center">1×1<BR>function_handle</td>
104103
</tr>
105104
</table>
106-
</p><h2 id="5">Note</h2><div><ul><li>If <img src="mat2vec_C_doc_eq03729901751903020778.png" alt="$p$" style="width:6px;height:8px;"> is not input, it is assumed that the state matrix (<img src="mat2vec_C_doc_eq01518063970584319034.png" alt="$\mathbf{M}$" style="width:12px;height:8px;">) is a square matrix.</li></ul></div><h2 id="6">See also</h2><p><a href="mat2vec_ode_doc.html"><tt>mat2vec_ode</tt></a> | <a href="mat2vec_IC_doc.html"><tt>mat2vec_IC</tt></a> | <a href="vec2mat_sol_doc.html"><tt>vec2mat_sol</tt></a></p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2022a</a><br></p></div><!--
105+
</p><h2 id="4">See also</h2><p><a href="mat2vec_IC_doc.html"><tt>mat2vec_IC</tt></a> | <a href="mat2vec_ode_doc.html"><tt>mat2vec_ode</tt></a> | <a href="vec2mat_sol_doc.html"><tt>vec2mat_sol</tt></a></p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2022a</a><br></p></div><!--
107106
##### SOURCE BEGIN #####
108107
%% |mat2vec_C|
109108
% Transforms the condition function for a matrix-valued IVP into the
110109
% condition function for its corresponding vector-valued IVP.
111110
%
112111
% <index.html Back to IVP Solver Toolbox Contents>.
113112
%% Syntax
114-
% Cv = mat2vec_C(Cm)
115113
% Cv = mat2vec_C(Cm,p)
116114
%% Description
117-
% |Cv = mat2vec_C(Cm)| transforms the condition function
118-
% $C(t,\mathbf{M})$ (where $C:\mathrm{R}\times\mathrm{R}^{p\times p}\to\mathrm{B}$)
119-
% for a matrix-valued IVP into a condition function
120-
% $C(t,\mathbf{y})$ (where
121-
% $C:\mathrm{R}\times\mathrm{R}^{p^{2}}\to\mathrm{B}$)
122-
% (where
123-
% $\mathbf{f}:\mathrm{R}\times\mathrm{R}^{p^{2}}\to\mathrm{R}^{p^{2}}$) for
124-
% its corresponding vector-valued IVP. It is assumed that $\mathbf{M}$ is a
125-
% square matrix.
126-
%%
127115
% |Cv = mat2vec_C(Cm,p)| transforms the condition function
128116
% $C(t,\mathbf{M})$ (where $C:\mathrm{R}\times\mathrm{R}^{p\times r}\to\mathrm{B}$)
129117
% for a matrix-valued IVP into a condition function
130118
% $C(t,\mathbf{y})$ (where
131-
% $C:\mathrm{R}\times\mathrm{R}^{pr}\to\mathrm{B}$)
132-
% (where $\mathbf{f}:\mathrm{R}\times\mathrm{R}^{pr}\to\mathrm{R}^{p^{2}}$)
133-
% for its corresponding vector-valued IVP.
119+
% $C:\mathrm{R}\times\mathrm{R}^{pr}\to\mathrm{B}$) for its corresponding
120+
% vector-valued IVP.
134121
%% Input/Output Parameters
135122
% <html>
136123
% <table border=1>
@@ -153,7 +140,7 @@
153140
% <tr>
154141
% <td style="text-align:center"><TT>p</TT></td>
155142
% <td style="text-align:center"><img src="https://latex.codecogs.com/svg.latex?\inline&space;p" title="" /></td>
156-
% <td>(OPTIONAL) number of rows of state matrix</td>
143+
% <td>number of rows of state matrix</td>
157144
% <td style="text-align:center">1×1<BR>double</td>
158145
% </tr>
159146
% <tr>
@@ -167,12 +154,9 @@
167154
% </tr>
168155
% </table>
169156
% </html>
170-
%% Note
171-
% * If $p$ is not input, it is assumed that the state matrix ($\mathbf{M}$)
172-
% is a square matrix.
173157
%% See also
174-
% <mat2vec_ode_doc.html |mat2vec_ode|> |
175158
% <mat2vec_IC_doc.html |mat2vec_IC|> |
159+
% <mat2vec_ode_doc.html |mat2vec_ode|> |
176160
% <vec2mat_sol_doc.html |vec2mat_sol|>
177161
##### SOURCE END #####
178162
--></body></html>
0 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading
0 Bytes
Loading

docs/mat2vec_IC_doc.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!--
77
This HTML was auto-generated from MATLAB code.
88
To make changes, update the MATLAB code and republish this document.
9-
--><title>mat2vec_IC</title><meta name="generator" content="MATLAB 9.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-08-30"><meta name="DC.source" content="mat2vec_IC_doc.m"><style type="text/css">
9+
--><title>mat2vec_IC</title><meta name="generator" content="MATLAB 9.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-09-17"><meta name="DC.source" content="mat2vec_IC_doc.m"><style type="text/css">
1010
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
1111

1212
html { min-height:100%; margin-bottom:1px; }
@@ -92,7 +92,7 @@
9292
<td style="text-align:center">pr×1<BR>double</td>
9393
</tr>
9494
</table>
95-
</p><h2 id="4">See also</h2><p><a href="mat2vec_ode_doc.html"><tt>mat2vec_ode</tt></a> | <a href="mat2vec_C_doc.html"><tt>mat2vec_C</tt></a> | <a href="vec2mat_sol_doc.html"><tt>vec2mat_sol</tt></a></p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2022a</a><br></p></div><!--
95+
</p><h2 id="4">See also</h2><p><a href="mat2vec_C_doc.html"><tt>mat2vec_C</tt></a> | <a href="mat2vec_ode_doc.html"><tt>mat2vec_ode</tt></a> | <a href="vec2mat_sol_doc.html"><tt>vec2mat_sol</tt></a></p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2022a</a><br></p></div><!--
9696
##### SOURCE BEGIN #####
9797
%% |mat2vec_IC|
9898
% Transforms the initial condition for a matrix-valued IVP into the initial
@@ -102,9 +102,10 @@
102102
%% Syntax
103103
% y0 = mat2vec_IC(M0)
104104
%% Description
105-
% |y0 = mat2vec_IC(M0)| transforms the initial condition $\mathbf{M}_{0}\in\mathrm{R}^{p\times r}$
106-
% for a matrix-valued IVP into the initial condition $\mathbf{y}_{0}\in\mathrm{R}^{pr}$
107-
% for the corresponding vector-valued IVP.
105+
% |y0 = mat2vec_IC(M0)| transforms the initial condition
106+
% $\mathbf{M}_{0}\in\mathrm{R}^{p\times r}$ for a matrix-valued IVP into
107+
% the initial condition $\mathbf{y}_{0}\in\mathrm{R}^{pr}$ for the
108+
% corresponding vector-valued IVP.
108109
%% Input/Output Parameters
109110
% <html>
110111
% <table border=1>
@@ -132,8 +133,8 @@
132133
% </table>
133134
% </html>
134135
%% See also
135-
% <mat2vec_ode_doc.html |mat2vec_ode|> |
136136
% <mat2vec_C_doc.html |mat2vec_C|> |
137+
% <mat2vec_ode_doc.html |mat2vec_ode|> |
137138
% <vec2mat_sol_doc.html |vec2mat_sol|>
138139
##### SOURCE END #####
139140
--></body></html>
0 Bytes
Loading
0 Bytes
Loading

docs/mat2vec_fun_doc.html

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!--
77
This HTML was auto-generated from MATLAB code.
88
To make changes, update the MATLAB code and republish this document.
9-
--><title>mat2vec_ode</title><meta name="generator" content="MATLAB 9.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-08-30"><meta name="DC.source" content="mat2vec_fun_doc.m"><style type="text/css">
9+
--><title>mat2vec_ode</title><meta name="generator" content="MATLAB 9.12"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2022-09-17"><meta name="DC.source" content="mat2vec_fun_doc.m"><style type="text/css">
1010
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
1111

1212
html { min-height:100%; margin-bottom:1px; }
@@ -67,9 +67,8 @@
6767

6868

6969

70-
</style></head><body><div class="content"><h1><tt>mat2vec_ode</tt></h1><!--introduction--><p>Transforms a matrix-valued ODE into a vector-valued ODE.</p><p><a href="index.html">Back to IVP Solver Toolbox Contents</a>.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Syntax</a></li><li><a href="#2">Description</a></li><li><a href="#4">Input/Output Parameters</a></li><li><a href="#5">Note</a></li><li><a href="#6">See also</a></li></ul></div><h2 id="1">Syntax</h2><pre class="language-matlab">f = mat2vec_ode(F)
71-
f = mat2vec_ode(F,p)
72-
</pre><h2 id="2">Description</h2><p><tt>f = mat2vec_ode(F)</tt> transforms the matrix-valued ODE <img src="mat2vec_fun_doc_eq01774414981705130240.png" alt="$d\mathbf{M}/dt=\mathbf{F}(t,\mathbf{M})$" style="width:84px;height:11px;"> (where <img src="mat2vec_fun_doc_eq15903383774327063487.png" alt="$\mathbf{F}:\mathrm{R}\times\mathrm{R}^{p\times p}\to\mathrm{R}^{p\times p}$" style="width:100px;height:9px;"> into the vector-valued ODE <img src="mat2vec_fun_doc_eq11546780198861005830.png" alt="$d\mathbf{y}/dt=\mathbf{f}(t,\mathbf{y})$" style="width:71px;height:11px;"> (where <img src="mat2vec_fun_doc_eq15557481901179112500.png" alt="$\mathbf{f}:\mathrm{R}\times\mathrm{R}^{p^{2}}\to\mathrm{R}^{p^{2}}$" style="width:83px;height:11px;">). It is assumed that <img src="mat2vec_fun_doc_eq01518063970584319034.png" alt="$\mathbf{M}$" style="width:12px;height:8px;"> is a square matrix.</p><p><tt>f = mat2vec_ode(F,p)</tt> transforms the matrix-valued ODE <img src="mat2vec_fun_doc_eq01774414981705130240.png" alt="$d\mathbf{M}/dt=\mathbf{F}(t,\mathbf{M})$" style="width:84px;height:11px;"> (where <img src="mat2vec_fun_doc_eq14844018579718567230.png" alt="$\mathbf{F}:\mathrm{R}\times\mathrm{R}^{p\times r}\to\mathrm{R}^{p\times r}$" style="width:99px;height:9px;">) into the vector-valued ODE <img src="mat2vec_fun_doc_eq11546780198861005830.png" alt="$d\mathbf{y}/dt=\mathbf{f}(t,\mathbf{y})$" style="width:71px;height:11px;"> (where <img src="mat2vec_fun_doc_eq16176746348441022933.png" alt="$\mathbf{f}:\mathrm{R}\times\mathrm{R}^{pr}\to\mathrm{R}^{pr}$" style="width:85px;height:8px;">). <tt>p</tt> specifies the number of rows of <tt>M</tt>.</p><h2 id="4">Input/Output Parameters</h2><p>
70+
</style></head><body><div class="content"><h1><tt>mat2vec_ode</tt></h1><!--introduction--><p>Transforms a matrix-valued ODE into a vector-valued ODE.</p><p><a href="index.html">Back to IVP Solver Toolbox Contents</a>.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Syntax</a></li><li><a href="#2">Description</a></li><li><a href="#3">Input/Output Parameters</a></li><li><a href="#4">See also</a></li></ul></div><h2 id="1">Syntax</h2><pre class="language-matlab">f = mat2vec_ode(F,p)
71+
</pre><h2 id="2">Description</h2><p><tt>f = mat2vec_ode(F,p)</tt> transforms the matrix-valued ODE <img src="mat2vec_fun_doc_eq01774414981705130240.png" alt="$d\mathbf{M}/dt=\mathbf{F}(t,\mathbf{M})$" style="width:84px;height:11px;"> (where <img src="mat2vec_fun_doc_eq14844018579718567230.png" alt="$\mathbf{F}:\mathrm{R}\times\mathrm{R}^{p\times r}\to\mathrm{R}^{p\times r}$" style="width:99px;height:9px;">) into the vector-valued ODE <img src="mat2vec_fun_doc_eq11546780198861005830.png" alt="$d\mathbf{y}/dt=\mathbf{f}(t,\mathbf{y})$" style="width:71px;height:11px;"> (where <img src="mat2vec_fun_doc_eq16176746348441022933.png" alt="$\mathbf{f}:\mathrm{R}\times\mathrm{R}^{pr}\to\mathrm{R}^{pr}$" style="width:85px;height:8px;">). <tt>p</tt> specifies the number of rows of <tt>M</tt>.</p><h2 id="3">Input/Output Parameters</h2><p>
7372
<table border=1>
7473
<tr>
7574
<td></td>
@@ -90,7 +89,7 @@
9089
<tr>
9190
<td style="text-align:center"><TT>p</TT></td>
9291
<td style="text-align:center"><img src="https://latex.codecogs.com/svg.latex?\inline&space;p" title="" /></td>
93-
<td>(OPTIONAL) number of rows of state matrix</td>
92+
<td>number of rows of state matrix</td>
9493
<td style="text-align:center">1×1<BR>double</td>
9594
</tr>
9695
<tr>
@@ -103,23 +102,15 @@
103102
<td style="text-align:center">1×1<BR>function_handle</td>
104103
</tr>
105104
</table>
106-
</p><h2 id="5">Note</h2><div><ul><li>If <img src="mat2vec_fun_doc_eq03729901751903020778.png" alt="$p$" style="width:6px;height:8px;"> is not input, it is assumed that the state matrix (<img src="mat2vec_fun_doc_eq01518063970584319034.png" alt="$\mathbf{M}$" style="width:12px;height:8px;">) is a square matrix.</li></ul></div><h2 id="6">See also</h2><p><a href="mat2vec_IC_doc.html"><tt>mat2vec_IC</tt></a> | <a href="mat2vec_C_doc.html"><tt>mat2vec_C</tt></a> | <a href="vec2mat_sol_doc.html"><tt>vec2mat_sol</tt></a></p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2022a</a><br></p></div><!--
105+
</p><h2 id="4">See also</h2><p><a href="mat2vec_IC_doc.html"><tt>mat2vec_IC</tt></a> | <a href="mat2vec_C_doc.html"><tt>mat2vec_C</tt></a> | <a href="vec2mat_sol_doc.html"><tt>vec2mat_sol</tt></a></p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2022a</a><br></p></div><!--
107106
##### SOURCE BEGIN #####
108107
%% |mat2vec_ode|
109108
% Transforms a matrix-valued ODE into a vector-valued ODE.
110109
%
111110
% <index.html Back to IVP Solver Toolbox Contents>.
112111
%% Syntax
113-
% f = mat2vec_ode(F)
114112
% f = mat2vec_ode(F,p)
115113
%% Description
116-
% |f = mat2vec_ode(F)| transforms the matrix-valued ODE
117-
% $d\mathbf{M}/dt=\mathbf{F}(t,\mathbf{M})$ (where
118-
% $\mathbf{F}:\mathrm{R}\times\mathrm{R}^{p\times p}\to\mathrm{R}^{p\times p}$
119-
% into the vector-valued ODE $d\mathbf{y}/dt=\mathbf{f}(t,\mathbf{y})$
120-
% (where $\mathbf{f}:\mathrm{R}\times\mathrm{R}^{p^{2}}\to\mathrm{R}^{p^{2}}$).
121-
% It is assumed that $\mathbf{M}$ is a square matrix.
122-
%%
123114
% |f = mat2vec_ode(F,p)| transforms the matrix-valued ODE
124115
% $d\mathbf{M}/dt=\mathbf{F}(t,\mathbf{M})$ (where
125116
% $\mathbf{F}:\mathrm{R}\times\mathrm{R}^{p\times r}\to\mathrm{R}^{p\times r}$)
@@ -148,7 +139,7 @@
148139
% <tr>
149140
% <td style="text-align:center"><TT>p</TT></td>
150141
% <td style="text-align:center"><img src="https://latex.codecogs.com/svg.latex?\inline&space;p" title="" /></td>
151-
% <td>(OPTIONAL) number of rows of state matrix</td>
142+
% <td>number of rows of state matrix</td>
152143
% <td style="text-align:center">1×1<BR>double</td>
153144
% </tr>
154145
% <tr>
@@ -162,9 +153,6 @@
162153
% </tr>
163154
% </table>
164155
% </html>
165-
%% Note
166-
% * If $p$ is not input, it is assumed that the state matrix ($\mathbf{M}$)
167-
% is a square matrix.
168156
%% See also
169157
% <mat2vec_IC_doc.html |mat2vec_IC|> |
170158
% <mat2vec_C_doc.html |mat2vec_C|> |

0 commit comments

Comments
 (0)