About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/polynom.tm.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 polynom Context: slangrtl

Synopsis

Evaluate a polynomial

Syntax

Double_Type polynom(Double_Type a, b, ...c, Integer_Type n, Double_Type
x)

Description

The polynom function returns the value of the polynomial expression:

     ax^n + bx^(n - 1) + ... c

The polynom function should be extended to work with complex and array data types. The current implementation is limited to Double_Type quantities.

See Also

slangrtl
exp
Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.