powered by
logspace(x1, x2, n = 50) logseq(x1, x2, n = 100)
n
x1
x2
10^x1
10^x2
If $n < 2$, the result will be the ending point x2. For logspace(), if x2 = pi, the endpoint will be pi and not 10^pi!
logspace()
x2 = pi
pi
10^pi
logspace
seq
logspace(1, pi, 36) logseq(0.05, 1, 20)
Run the code above in your browser using DataLab