ctau
Class for coefficients of tau method.
Syntax
classdef ctau
Description
c = ctau(basis, domain, n) creates an object x called coefficients of
tau method.
Input
basis = orthogonal polynomial basis.
'ChebyshevT' to Chebyshev of first kind,
'ChebyshevU' to Chebyshev of second kind,
'LegendreP' to Legendre,
'HermiteH' to Hermite,
'LaguerreL' to Laguerre and
'GegenbauerC' to Gegenbauer.
domain = domain [a b], same interval of orthogonality of the basis.
n = dimension of the truncated matrices.
polinomial basis will have degree n-1.
alphaC = parameter for Gegenbauer polynomials.
Output
c = coefficients of tau method (ctau object).
Examples
x = itau('LegendreP', [0 10], 100) .............. customized inputs.
x = itau('LegendreP', [0 10]) ............................... n = 5.
x = itau('LegendreP') ................... domain = [-1 1] and n = 5.
x = itau .......... basis = 'ChebyshevT', domain = [-1 1] and n = 5.
See also
itau and dtau.
c = ctau(basis, domain, n) creates an object x called coefficients of tau method.
Input
basis = orthogonal polynomial basis.
'ChebyshevT' to Chebyshev of first kind,
'ChebyshevU' to Chebyshev of second kind,
'LegendreP' to Legendre,
'HermiteH' to Hermite,
'LaguerreL' to Laguerre and
'GegenbauerC' to Gegenbauer.
domain = domain [a b], same interval of orthogonality of the basis.
n = dimension of the truncated matrices.
polinomial basis will have degree n-1.
alphaC = parameter for Gegenbauer polynomials.
Output
c = coefficients of tau method (ctau object).
Examples
x = itau('LegendreP', [0 10], 100) .............. customized inputs.
x = itau('LegendreP', [0 10]) ............................... n = 5.
x = itau('LegendreP') ................... domain = [-1 1] and n = 5.
x = itau .......... basis = 'ChebyshevT', domain = [-1 1] and n = 5.
See also
itau and dtau.
c = coefficients of tau method (ctau object).
Examples
x = itau('LegendreP', [0 10], 100) .............. customized inputs.
x = itau('LegendreP', [0 10]) ............................... n = 5.
x = itau('LegendreP') ................... domain = [-1 1] and n = 5.
x = itau .......... basis = 'ChebyshevT', domain = [-1 1] and n = 5.
See also
itau and dtau.
itau and dtau.