rename functions
This commit is contained in:
@@ -35,9 +35,9 @@ func radicalUpdateMultiples(sieve []uint, p uint, n uint) {
|
||||
}
|
||||
|
||||
/*
|
||||
RadicalSieve computes rad(k) for k=1 to n, where rad(n) is the radical of n.
|
||||
Radical computes rad(k) for k=1 to n, where rad(n) is the radical of n.
|
||||
*/
|
||||
func RadicalSieve(n uint, buflen uint) chan uint {
|
||||
func Radical(n uint, buflen uint) chan uint {
|
||||
sieve := make([]uint, n)
|
||||
sieve[0] = 0
|
||||
for i := uint(1); i < n; i++ {
|
||||
|
||||
Reference in New Issue
Block a user