Navigation

Operators and Keywords

Function List:

C++ API

syl.cc File Reference

#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "utils.h"

Include dependency graph for syl.cc:


Functions

 DEFUN_DLD (syl, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{x} =} syl (@var{a}, @var{b}, @var{c})\n\ Solve the Sylvester equation\n\ @iftex\n\ @tex\n\ $$\n\ A X + X B + C = 0\n\ $$\n\ @end tex\n\ @end iftex\n\ @ifnottex\n\ \n\ @example\n\ A X + X B + C = 0\n\ @end example\n\ @end ifnottex\n\ using standard @sc{lapack} subroutines. For example,\n\ \n\ @example\n\ @group\n\ syl ([1, 2; 3, 4], [5, 6; 7, 8], [9, 10; 11, 12])\n\ @result{} [ -0.50000, -0.66667; -0.66667, -0.50000 ]\n\ @end group\n\ @end example\n\ @end deftypefn")

Function Documentation

DEFUN_DLD ( syl  ,
args  ,
nargout   
)