[frames] | no frames]

# Class SinCos

source code

1, sin(pi*x), cos(pi*x), sin(2*pi*x), cos(2*pi*x)... orthonormal over (-1, 1) with weight 1.

Instance Methods

 __init__(self, n=None, x=None) Argument n is how many points you want the polynomials evaluated at. source code

 compute(self, n) source code

 wt_(self) source code

 P(self, i) Self.P(i) is the ith orthogonal polynomial. (Inherited from gmisclib.ortho_poly.ortho) source code

 expand(self, c) (Inherited from gmisclib.ortho_poly.ortho) source code

 wt(self) Weighting function to get orthonormality. (Inherited from gmisclib.ortho_poly.ortho) source code

 x_(self, m) Calculates the points at which the function is evaluated, if you want m evenly spaced points. (Inherited from gmisclib.ortho_poly.ortho) source code
 Class Variables __doc__ = `"""1, sin(pi*x), cos(pi*x), sin(2*pi*x), cos(2*pi*x)...` name = `'SinCos'` registry = `{}` (Inherited from gmisclib.ortho_poly.ortho)
 Method Details

### __init__(self, n=None, x=None)(Constructor)

source code

Argument n is how many points you want the polynomials evaluated at. The ordinates of the points are placed in self.x. You may alternatively specify the points as argument x, in which case the x_() function will never be called.

Overrides: ortho.__init__
(inherited documentation)

### compute(self, n)

source code
Overrides: ortho.compute

### wt_(self)

source code
Overrides: ortho.wt_

 Class Variable Details

### __doc__

Value:
 ```"""1, sin(pi*x), cos(pi*x), sin(2*pi*x), cos(2*pi*x)... orthonormal over (-1, 1) with weight 1.""" ```

 Generated by Epydoc 3.0.1 on Thu Sep 22 04:25:09 2011 http://epydoc.sourceforge.net