Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: functionalserver.oddpoly - Function Up: functionalserver - Tool Previous: functionalserver.gaussian2d - Function


functionalserver.poly - Function



Package utility
Module functionals
Tool functionalserver


Create a 1D polynomial function


Synopsis
poly(order, params)


Arguments

order in polynomial degree
    Allowed: integer
    Default: 0
params in factors of terms
    Allowed: numeric
    Default: all 1


Returns
Functional


Description

Create a polynomial of specified degree. The default parameters are all 1. (Note that using the generic functional function the parameters are all set to zero).



Example
- dfs.poly(2).f([1,2])
[3 7]  
- dfs.poly(2).state() 
[type=5, order=2, ndim=1, npar=3, params=[1 1 1] ] 
- dfs.poly(2).type() 
polynomial 
-





next up previous contents index
Next: functionalserver.oddpoly - Function Up: functionalserver - Tool Previous: functionalserver.gaussian2d - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15