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


next up previous contents index
Next: functional.masks - Function Up: functional - Tool Previous: functional.par - Function


functional.setpar - Function



Package utility
Module functionals
Tool functional


Set a single parameter


Synopsis
setpar(n, v)


Arguments

n in parameter index
    Allowed: integer
    Default: 1
v in parameter values to be set
    Allowed: value
    Default: 1


Returns
value array or fail


Description

Set a parameter value, and return the new suite of values



Example
- a:=dfs.gaussian1d()
- a.setparameters([2,1,3])
T 
- a.parameters()           
[2 1 3]  
- a.setpar(2,5)
[2 5 3]





next up previous contents index
Next: functional.masks - Function Up: functional - Tool Previous: functional.par - 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