The number of points to create.
The coordinates of the nodeset in the interval [-1,1]. The array has to have the length nPoints.