Expression demo
const matrix = ExpressionParser.parse('{{1,2,3},{4,5,6},{7,8,9}}').matrix; const eigenvalues = Expression.getEigenvalues(matrix); const y = Expression.getFormaDeJordan(matrix, eigenvalues); document.getElementById('output').innerHTML = '' + '
' + new Expression.Matrix(matrix).toMathML() + '
=
' + new Expression.Matrix(y.P).toMathML() + '
×
' + new Expression.Matrix(y.J).toMathML() + '
×
' + new Expression.Matrix(y.P_INVERSED).toMathML() + '
';
eval