Learn R Programming

m2r (version 1.0.3)

factor_n: Factor an integer into primes

Description

Factor an integer into primes

Usage

factor_n(n, code = FALSE, ...)

factor_n.(n, code = FALSE, ...)

Value

a data frame with integer columns prime and power or m2_pointer referencing the factorization in M2.

Arguments

n

an integer or a polynomial

code

return only the M2 code? (default: FALSE)

...

...