diff liboctave/array/dMatrix.cc @ 19099:d20c81d3cd21

Deprecate syl, add new function sylvester. * sylvester.cc: New function * syl.cc: Remove syl C++ function. * scriptss/deprecated/syl.m: m-file to replace syl.cc * NEWS: Announce new sylvester function. Announce deprecation of syl. * linalg.txi: Replace reference to syl with sylvester. * libinterp/corefcn/module.mk: Add sylvester.cc to build system. * scripts/deprecated/module.mk: Add syl.m to build system. * CMatrix.cc (Sylvester), dMatrix.cc (Sylvester), fCMatrix.cc (Sylvester), fMatrix.cc (Sylvester): Return +C rather than -C to conform to changed definition of Sylvester equation.
author Rik <rik@octave.org>
date Sun, 31 Aug 2014 21:05:38 -0700
parents 479d1d3cb5c3
children 65554f5847ac
line wrap: on
line diff
--- a/liboctave/array/dMatrix.cc	Sun Aug 31 21:41:33 2014 +0200
+++ b/liboctave/array/dMatrix.cc	Sun Aug 31 21:05:38 2014 -0700
@@ -3135,7 +3135,7 @@
 
   // FIXME: check info?
 
-  retval = -ua*cx*ub.transpose ();
+  retval = ua*cx*ub.transpose ();
 
   return retval;
 }