CEIL235 Next number with only 2,3 and 5 factors
Usage: nceil=ceil235(n);
CEIL235(n) returns the next number greater than or equal to n,
which can be written as a product of powers of 2, 3 and 5.
The algorithm will look up the best size in a table, which is computed
the first time the function is run. If the input size is larger than the
largest value in the table, the input size will be reduced by factors of
2, until it is in range.
[nceil,table]=CEIL235(n) additionally returns the table used for lookup.
Examples:
---------
Return the first number larger or equal to 19 that can be written
solely as products of powers of 2, 3 and 5*:
ceil235(19)
Url: http://ltfat.github.io/doc/fourier/ceil235.html
See also: floor235, ceil23, nextfastfft.
Package: ltfat