Jean Michel

Results 6 issues of Jean Michel

Here is a example of two number theory functions made fast by `eachfactor` ``` """ `prime_residues(n)` the numbers less than `n` and prime to `n` julia> [prime_residues(24)] 1-element Vector{Vector{Int64}}: [1,...

A very small issue: in the doc of `radical` it is rightly stated `radical(n::Integer)`. But in the source the function is `radical(n)` without any type restriction. It would be good...

playing around with `Factorizations` I noticed a bug ``` julia> print(factor(24)) Primes.Factorization(2 => 3, 3 => 1) julia> Primes.Factorization(2 => 3, 3 => 1) ERROR: MethodError: no method matching Primes.Factorization(::Pair{Int64,...

It seems to me that the submodule `NCurses` would see more uses and have more developers if it was a separate package from `TextUserInterfaces`. I would be willing to help...

The declaration for `printw` is ``` printw(str::T) ``` This is completely wrong. `printw` is like the C function `printf` so the first argument is the format string and it takes...

``` julia> @btime Base.power_by_squaring(m,2); setup=m=rand(1:10,100,100); 130.965 μs (3 allocations: 78.21 KiB) julia> VERSION v"1.11.5" ``` ``` julia> @btime Base.power_by_squaring(m,2); setup=m=rand(1:10,100,100); 262.153 μs (6 allocations: 156.42 KiB) julia> VERSION v"1.12.0-beta4" ```

performance
maths