UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

8 lines 391 B
export var sylvesterDocs = { name: 'sylvester', category: 'Algebra', syntax: ['sylvester(A,B,C)'], description: 'Solves the real-valued Sylvester equation AX+XB=C for X', examples: ['sylvester([[-1, -2], [1, 1]], [[-2, 1], [-1, 2]], [[-3, 2], [3, 0]])', 'A = [[-1, -2], [1, 1]]; B = [[2, -1], [1, -2]]; C = [[-3, 2], [3, 0]]', 'sylvester(A, B, C)'], seealso: ['schur', 'lyap'] };