Lucas Egidio a2e85ca698
Added functions: schur, sylvester, and lyap (#2646)
* Added matrix functions `schur`, `sylvester` and  `lyap`

* Added docs for  `schur`, `sylvester` and  `lyap`

* Added unit tests for  `schur`, `sylvester` and  `lyap`

* Fixed lint and tests errors

* fixed typescript and added Matrix + Array tests

* lint fixed

* fixed example in sylvester.js doc

* Fixed docs and ci

* fixed definition of lyap and sylvester

* remark on diff defs for lyap

* rm a trailing space

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2022-11-17 17:16:21 +01:00

16 lines
307 B
JavaScript

export const lyapDocs = {
name: 'lyap',
category: 'Matrix',
syntax: [
'lyap(A,Q)'
],
description: 'Solves the Continuous-time Lyapunov equation AP+PA\'+Q=0 for P',
examples: [
'lyap([[-2, 0], [1, -4]], [[3, 1], [1, 3]])',
'lyap(A,Q)'
],
seealso: [
'schur', 'sylvester'
]
}