factor
factor(n)
Input: n · Output: no output
What it is
Prime factors of the positive integer n, ascending and with multiplicity, as a Vec whose product is n; factor(1) is [1]. Errors: n < 1, a non-integer, n > 2^53, or a Vec argument.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
factor(n) | n Vecnot documented yet | not documented yet | — |
Examples
No documentation example calls this form yet. The Core maths chapter is where one belongs.