Functions
Class ExprFunction
Extends ExprElement
constructor (fn: string, args: Array<ExprElement>): ExprFunction
Name | Type | Default | Description |
fn | string | | |
args | Array<ExprElement> | … | |
readonly Property .args
Default value: ...
readonly Property .fn : string
Accessor .simplified : this
Method .collapse (): ExprFunction|ExprElement
Method .evaluate (vars: VarMap): number
Name | Type | Default | Description |
vars | VarMap | … | |
Method .substitute (vars: ExprMap): ExprFunction
Name | Type | Default | Description |
vars | ExprMap | … | |
Method .toMathML (custom: MathMLMap): string
Name | Type | Default | Description |
custom | MathMLMap | … | |
Method .toString (): string
Method .toVoice (custom: MathMLMap): string
Name | Type | Default | Description |
custom | MathMLMap | … | |
Class ExprTerm
Extends ExprElement
constructor (items: Array<ExprElement>): ExprTerm
Name | Type | Default | Description |
items | Array<ExprElement> | | |
Accessor .simplified : ExprElement
Method .collapse (): ExprElement
Method .evaluate (vars: VarMap): number
Name | Type | Default | Description |
vars | VarMap | … | |
Method .substitute (vars: ExprMap): ExprElement
Name | Type | Default | Description |
vars | ExprMap | … | |
Method .toMathML (custom: MathMLMap): string
Name | Type | Default | Description |
custom | MathMLMap | … | |
Method .toString (): string
Method .toVoice (custom: MathMLMap): string
Name | Type | Default | Description |
custom | MathMLMap | … | |