UNPKG

ant-utils

Version:
12 lines 348 B
/** * Solve an equation, up to cubic equation ax^3 + bx^2 + cx + d = 0 * * @param a x^3 * @param b x^2 * @param c x * @param d constant * @returns solutions, real roots only * @requires Decimal */ export declare function solveEquation(a: Decimal, b: Decimal, c: Decimal, d: Decimal): Decimal[]; //# sourceMappingURL=solve-equation.d.ts.map