orthovalMj

j-th orthogonal evaluation for M matrices.


Syntax
   F = orthovalMj(j, M, domain, basis)

Description
   F = orthovalMj(j, M, domain, basis) returns the value of 
   a polynomial evaluated (orthogonally) at Pj(M).

Inputs
   j      = j-th polynomial (integer scalar).
   M      = input for eval (sparse matrix).
   domain = domain [a b] of orthogonality (double vector).
   basis  = orthogonal polynomial basis (integer scalar or char).
            1 or 'ChebyshevT' to Chebyshev of first kind, 
            2 or 'ChebyshevU' to Chebyshev of second kind, 
            3 or 'LegendreP' to Legendre, 
            4 or 'HermiteH' to Hermite,
            5 or 'LaguerreL' to Laguerre and
            6 or 'GegenbauerC' to Gegenbauer.

Output
   F      = Pj(M) (double matrix).

See also
  orthovalv, orthovalvj, orthovalM and orthovald.