<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_linspace(self):
 """ convert from arange to linspace """

        num = int((self.stop-self.start)/(self.step))
        return Linspace(self.start, self.stop-self.step, num)