Update rationalize definition

This commit is contained in:
DESKTOP-1F3J099\Brad
2018-06-10 18:19:21 -04:00
parent 42dd2665ea
commit bbd3382825
+2 -5
View File
@@ -435,11 +435,8 @@ declare namespace math {
* expression node (default)
* @returns The rational polynomial of expr
*/
rationalize(
expr: MathNode | string,
optional: object | boolean,
detailed: boolean
): object | MathNode;
rationalize(expr: MathNode | string, optional?: object | boolean, detailed?: true): { expression: MathNode | string, variables: string[], coefficients: MathType[] };
rationalize(expr: MathNode | string, optional?: object | boolean, detailed?: false): MathNode;
/**
* Simplify an expression tree.