Handbook
Glossary
logspace[a..b) ( a b length base -- seq )
Vocabulary
math
.
extras
Inputs
a
a
number
b
a
number
length
an
integer
base
a
number
Outputs
seq
a
sequence
Word description
Return evenly spaced numbers on a log scaled interval
[base^a,base^b)
.
Definition
USING:
kernel
math.vectors
;
IN:
math.extras
:
logspace[a..b)
( a b length base -- seq )
[
linspace[a..b)
]
dip
swap
n^v
;