matlab(3)

πŸ“¦
version 1.1.2 Β· 3 versions
, in fedora 43

πŸ’– matlab(3) πŸ’–

okay bestie, welcome to the MEPACK manual page for matlab(3) β€” yes she's a section 3 page and yes she's iconic πŸ’…


✨ NAME ✨

matlab β€” the MATLAB / GNU Octave Interface πŸ¦‹

so here's the tea: MEPACK ships an interface for MATLAB and GNU Octave. it's optional, meaning its build has to be turned on separately β€” go peek at Installation for the deets. and once upon a time that interface gets built (once it exists, basically), the files live in

${BUILDDIR}/matlab/matlab

for the MATLAB interface, and in

${BUILDDIR}/matlab/octave

for the GNU Octave interface. you gotta add those paths to your MATLAB or GNU Octave search path, no cap. 🫢


πŸ“ Documentation Update πŸ“

the docs are maintained as part of the source code, same way they do it in GNU Octave. so if you wanna extract (and update) the currently extracted documentation, you have to build the GNU Octave interface and then run

make update-matlab-doc

afterwards. then mepack can be reconfigured for use with MATLAB. πŸ’«

this step is only required if the documentation was changed, bestie. by default MEPACK ships the latest version of the MATLAB documentation, so like… chill. 😌

🧚 Interface Functions 🧚

the MATLAB and GNU Octave interface gives you access to all the basic routines of MEPACK. every single function has a detailed help page, and you reach it with

help mepack_XXXXXX

now here's the lineup, bestie β€” the following interfaces exist for general coefficient matrices:

  • mepack_csylv β€” Solve the generalized coupled Sylvester equation (CSYLV) $(AR m LB=E,CR m LD = F)$.
  • mepack_csylv_dual β€” Solve the generalized coupled Sylvester equation (CSYLV_DUAL) $(AR + CL = E, m RB m LD =F)$.
  • mepack_glyap β€” Solve the generalized Lyapunov equation (GLYAP) $AXB^{T} + BXA^T = Y$.
  • mepack_gstein β€” Solve the generalized Stein equation (GSTEIN) $AXA^T - EXE^T = Y$.
  • mepack_gsylv β€” Solve the generalized Sylvester equation (GSYLV) $AXB m CXD = Y$.
  • mepack_lyap β€” Solve the standard Lyapunov equation (LYAP) $AX + XA^T = Y$.
  • mepack_stein β€” Solve the standard Stein equation (STEIN) $AXA^T - X = Y$.
  • mepack_sylv2 β€” Solve the discrete-time Sylvester equation (SYLV2) $AXB - X = Y$.
  • mepack_sylv β€” Solve the standard Sylvester equation (SYLV) $AXm XB = Y$.

and the following interfaces are available for (quasi-) triangular coefficient matrices:

  • mepack_tgcsylv β€” Solve the generalized coupled Sylvester equation (CSYLV) $(AR m LB=E,CR m LD = F)$.
  • mepack_tgcsylv_dual β€” Solve the generalized coupled Sylvester equation (CSYLV_DUAL) $(AR + CL = E, m RB m LD =F)$.
  • mepack_tglyap β€” Solve the generalized Lyapunov equation (GLYAP) $AXB^{T} + BXA^T = Y$.
  • mepack_tgstein β€” Solve the generalized Stein equation (GSTEIN) $AXA^T - EXE^T = Y$.
  • mepack_tgsylv β€” Solve the generalized Sylvester equation (GSYLV) $AXB m CXD = Y$.
  • mepack_trlyap β€” Solve the standard Lyapunov equation (LYAP) $AX + XA^T = Y$.
  • mepack_trstein β€” Solve the standard Stein equation (STEIN) $AXA^T - X = Y$.
  • mepack_trsylv2 β€” Solve the discrete-time Sylvester equation (SYLV2) $AXB - X = Y$.
  • mepack_trsylv β€” Solve the standard Sylvester equation (SYLV) $AXm XB = Y$.

and last but absolutely not least, the following routines implement the iterative refinement strategy πŸ‘‘

  • mepack_csylv_refine β€” Solve the generalized coupled Sylvester equation (CSYLV) $(AR m LB=E,CR m LD = F)$.
  • mepack_csylv_dual_refine β€” Solve the generalized coupled Sylvester equation (CSYLV_DUAL) $(AR + CL = E, m RB m LD =F)$.
  • mepack_glyap_refine β€” Solve the generalized Lyapunov equation (GLYAP) $AXB^{T} + BXA^T = Y$.
  • mepack_gstein_refine β€” Solve the generalized Stein equation (GSTEIN) $AXA^T - EXE^T = Y$.
  • mepack_gsylv_refine β€” Solve the generalized Sylvester equation (GSYLV) $AXB m CXD = Y$.
  • mepack_lyap_refine β€” Solve the standard Lyapunov equation (LYAP) $AX + XA^T = Y$.
  • mepack_stein_refine β€” Solve the standard Stein equation (STEIN) $AXA^T - X = Y$.
  • mepack_sylv2_refine β€” Solve the discrete-time Sylvester equation (SYLV2) $AXB - X = Y$.
  • mepack_sylv_refine β€” Solve the standard Sylvester equation (SYLV) $AXm XB = Y$.

and that's the whole page, bestie, we ate and left no crumbs πŸ’…βœ¨ Version 1.1.2, dated Thu Oct 9 2025 00:00:00, and yes it's the matlab(3) page from MEPACK β€” mwah, love u, go solve something πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from