legendrePpoints

Legendre points in [a b].


Syntax
   [x, w] = legendrePpoints(n, domain)

Description
   x = legendrePpoints(N, domain) returns the Legendre points in the domain
   [a, b]. This function was adapted to Tau Toolbox in 21/04/2016 from 
   Greg von Winckel algorithm 25/02/2004.

Inputs
   n      = number of points in [a b] (integer).
   domain = domain [a b] (double vector).

Output
   x      = Legendre points in [a b] (double vector).
   w      = Legendre weigts in [a b] (double vector).

See also
  chebyshevTpoints, chebyshevUpoints and gegenbauerCpoints.