comparison scripts/specfun/factor.m @ 19630:0e1f5a750d00

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Tue, 20 Jan 2015 10:24:46 -0500
parents 0f9c5a15c8fa 446c46af4b42
children 4197fc428c7d
comparison
equal deleted inserted replaced
19626:37d37297acf8 19630:0e1f5a750d00
25 ## where every element of @var{pf} is a prime number. If @code{@var{q} == 1}, 25 ## where every element of @var{pf} is a prime number. If @code{@var{q} == 1},
26 ## return 1. 26 ## return 1.
27 ## 27 ##
28 ## With two output arguments, return the unique prime factors @var{pf} and 28 ## With two output arguments, return the unique prime factors @var{pf} and
29 ## their multiplicities. That is, @code{prod (@var{pf} .^ @var{n}) == @var{q}}. 29 ## their multiplicities. That is, @code{prod (@var{pf} .^ @var{n}) == @var{q}}.
30 ## 30 ##
31 ## Implementation Note: The input @var{q} must be less than 31 ## Implementation Note: The input @var{q} must be less than
32 ## @code{bitmax} (9.0072e+15) in order to factor correctly. 32 ## @code{bitmax} (9.0072e+15) in order to factor correctly.
33 ## @seealso{gcd, lcm, isprime, primes} 33 ## @seealso{gcd, lcm, isprime, primes}
34 ## @end deftypefn 34 ## @end deftypefn
35 35