Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
perazz committed Sep 26, 2023
1 parent 86b64ed commit 6262b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function | type | Description
`primes_mask(lo,hi)` | `logical(LP)` | Logical mask ranged `(1:hi-lo+1)` flagging the prime numbers in the range from `lo` to `hi`.
`next_prime(n)` | `integer(IP)` | Returns the first prime number `p_i > n`
`next_prime(n,i)` | `integer(IP)` | Returns the $i$-th ($i \ge 1$) prime number larger than $n$.
`prime_factors(n,f)` | `integer(IP)` | Returns all prime factors, and their multiplicities, of an integer.:
`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]`.

Building, using
===============
Expand Down

0 comments on commit 6262b1d

Please sign in to comment.