New icons, removing debug

This commit is contained in:
Adsooi 2020-12-26 19:35:38 +01:00
parent 422aa5b4c7
commit 8b4f2baccb
5 changed files with 318 additions and 7 deletions

View file

@ -137,12 +137,7 @@ class Sequence extends Expression {
}
}
var test = new Sequence('u', {0: '0', 1: 'π'}, 2, '3*u[n]')
console.log(test)
for(var i=0; i<20; i++) {
//console.log('u' + Utils.textsub(i) + ' = ' + test.simplify(i))
console.log('u' + Utils.textsub(i) + ' = ' + test.execute(i))
}
// Domains
class Domain {
constructor() {}

View file

@ -237,7 +237,6 @@ function simplifyExpression(str) {
return str
}
console.log(simplifyExpression("(4 * (4 * pi + pi)) + pi"))
function makeExpressionReadable(str) {
var replacements = [