Thanks Rajeshkumar.
செவ்., 6 ஜூலை, 2021, பிற்பகல் 1:56 அன்று, rajeshkumar p
எழுதியது:
>
>
> Hi,
>
> The below snippet will add few info:
>
> >>> import numpy as np
> >>> np.logspace(2, 4, num=1, base=10)
> array([100.])
>
> # Our result is 10**2
>
> >>> np.logspace(2, 4, num=2, base=10)
> array([
Hi,
The below snippet will add few info:
>>> import numpy as np
>>> np.logspace(2, 4, num=1, base=10)
array([100.])
# Our result is 10**2
>>> np.logspace(2, 4, num=2, base=10)
array([ 100., 1.])
# Our result is 10**2, 10**3
>>> np.logspace(2, 4, num=3, base=10)
array([ 100., 1000., 10
>
> It’s because you are looking at log space. Try linspace if you want it in
> between the numbers.
What is mean by log space?
Where to read about that?
___
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaip
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
wrote:
> Hello all,
>
> I am exploring logspace at numpy.
>
> reading here
> https://www.geeksforgeeks.org/numpy-logspace-python/
>
>
> import