saving . . . saved Linspace has been deleted. Linspace has been hidden .
Linspace
Title
Question
Kindly explain clearly about Linspace?

Python Getting-started-with-ipython 00-01 min 0-10 sec 25-05-19, 12:11 p.m. vaduganathan

Answers:

numpy.linspace:Returns number spaces evenly w.r.t interval. Similar to arangebut instead of step it uses sample number.

Example:

numpy.linspace(start, stop, num=50, endpoint = True, retstep = False, dtype = None):

Parameters:
-> start:[optional] start of interval range. By default start = 0
-> stop:end of interval range
-> retstep:If True, return (samples, step). By default retstep = False
-> num:[int, optional] No. of samples to generate
-> dtype:type of output array. 

25-05-19, 12:20 p.m. iakashchavan


Log-in to answer to this question.