Hermite.linspace(n=100, domain=None)

Return x,y values at equally spaced points in domain.

Returns x, y values at n linearly spaced points across domain. Here y is the value of the polynomial at the points x. By default the domain is the same as that of the Hermite instance. This method is intended mostly as a plotting aid.

Parameters :

n : int, optional

Number of point pairs to return. The default value is 100.

domain : {None, array_like}

If not None, the specified domain is used instead of that of the calling instance. It should be of the form [beg,end]. The default is None.

Returns :

x, y : ndarrays

x is equal to linspace(self.domain[0], self.domain[1], n) y is the polynomial evaluated at x.

New in version 1.5.0.