You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ function | type | Description
16
16
`primes_mask(lo,hi)` | `logical(LP)` | Logical mask ranged `(1:hi-lo+1)` flagging the prime numbers in the range from `lo` to `hi`.
17
17
`next_prime(n)` | `integer(IP)` | Returns the first prime number `p_i > n`
18
18
`next_prime(n,i)` | `integer(IP)` | Returns the $i$-th ($i \ge 1$) prime number larger than $n$.
19
-
`prime_factors(n,f)` | `integer(IP)` | Returns all prime factors, and their multiplicities, of an integer.:
19
+
`prime_factors(n,f)` | `integer(IP)` | Returns all prime factors, and their multiplicities, of an integer. for example, $90=2\cdot3^2\cdot5$. `prime_factors(90,f)` returns `f(:,1) = [2,1]`, `f(:,2) = [3,2]`, `f(:,3) = [5,1]`.
0 commit comments