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.f - Function Up: functional - Tool Previous: functional.state - Function


functional.copyfrom - Function



Package utility
Module functionals
Tool functional


Copy the complete state of a functional


Synopsis
copyfrom(funcin)


Arguments

funcin in functional to be copied from
    Allowed: functional
    Default: unset


Returns
bool or fail


Description

Show the complete state of the functional



Example
- a:=dfs.gaussian1d() 
- a.setparameters([2,1,3])
T 
- a.state()
[type=0, order=-1, ndim=1, npar=3, params=[2 1 3] , masks=[T T T] ] 
- b:=dfs.compiled('p0+p1*x0')
- b.state()
[type=13, order=-1, progtext=p0+p1*x0, ndim=1, npar=2,
	   params=[0 0], masks=[T T] ] 
- b.copyfrom(a)
T 
- b.state()
[type=0, order=-1, ndim=1, npar=3, params=[2 1 3] , masks=[T T T] ]





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