Repository navigation
Polynomial (package)
Paul edited this page Nov 24, 2026
·
2 revisions
Number is a package of functions for PapajScript. This package contains basic mathematical functions for polynomials. It was released on December 14, 2024.
Notes:
- If you do not want to type
Polynomial.every time, just type@use(Number)before. However, if you want to stop using the package, type@unuse(Polynomial). - The
Polynomial.degreefunction returns-1in case of the polynomialP(x) = 0/
| Package Function | Syntax | Output type | Purpose | Since |
|---|---|---|---|---|
| Polynomial.polyval | POL1 ENT1 function | Entity | Return the value of the polynomial for the specified argument | 0.5.4 |
| Polynomial.degree | POl1 function | Number | Return the degree of polynomial | 0.5.4 |
| Polynomial.roots | POL1 function | Array | Return all the roots of polynomial | 0.5.4 |
| Polynomial.realRoots | POL1 function | Array | Return real roots of polynomial | 0.5.4 |
| Polynomial.derivative | POL1 function | Polynomial | Derivative of polynomial | 0.5.4 |
| Polynomial.integral | POL1 function | Polynomial | Integral of polynomial | 0.5.4 |
| Polynomial.int | POL1 function | Polynomial | Alias for Polynomial.integral
|
0.5.4 |
Versions of Papaj:
Pre-builds: Bereshit (v.0.0.1), Shemot (v.0.0.2)
Aleph (v.0.1.0), Bet (v.0.2.0), Gimel (v.0.2.1), Dalet (v.0.3.0)
Hey (v.0.3.1), Vav (v.0.4.0), Zain (v.0.4.1), Chet (v.0.4.2), Tet (v.0.4.3)
Yod (v.0.5.0), Khaf (v.0.5.1), Lamed (v.0.5.2), Mem (v.0.5.3), Nun (v.0.5.4), Samech (v.0.5.5)
Development version: Leviathan
Packages of Papaj:
Vanilla, Array, Console, Date, Math, Number, Polynomial, String
Structures of Papaj:
Conditional, Entity, Loop, Variable
Array, Boolean, DateTime, Exception, LogicalExpression, Function, Number, Null, Polynomial, String
Home, PapajScript, Papaj (interpreter), Papaj REPL