Hi,

It’s because you are looking at log space. Try linspace if you want it in
between the numbers.

Rgds

On Tue, 6 Jul 2021 at 2:18 PM Nithya Duraisamy <nithyadura...@gmail.com>
wrote:

> Hello all,
>
> I am exploring logspace at numpy.
>
> reading here
> https://www.geeksforgeeks.org/numpy-logspace-python/
>
>
> import numpy as geek
> # base = 11
> print("B\n", geek.logspace(2.0, 3.0, num=5, base = 11))
>
> The above code gives below output
>
>  [  121.           220.36039471   401.31159963   730.8527479   1331.
>   ]
>
>
> Why results are not between 2 and 3 and above 100 ?
>
> How to get these values manually using any calculator?
>
> Please help to understand this.
>
> Thanks.
> Nithya
> _______________________________________________
> Chennaipy mailing list
> Chennaipy@python.org
> https://mail.python.org/mailman/listinfo/chennaipy
>
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to