tennsS v1.53 Reference Manual

Copyright (C) 1997 - 2002 Mike Arnold, Altjira Software, mikea@altjira.com

Go to the previous, next section, table of contents.


Func

Class Func derived from Owned (size <68> bytes)

Implements a function that has a 1-dimensional output. The default operator for the object calculates the function, attempting to use any passed arguments as appropriate, and returns the calculated value. A profile of the function can also be generated over a specified 1-dimensional domain. The results can either be sent to an output stream together with commands suitable for plotting the results using gnuplot, or the results can be stored in an internal buffer for use by other objects in the system.


Configuration

value=<data> sets current value reset=<data> sets default/reset/initial/error value

Source Points

value the current value

Commands

gen [points=<uint>] [multiple=<bool>] [domain=<data:data>] [range=<data:data>] generate the function over the specified <domain> in the first parameter and include commands in the output suitable for plotting the results with gnuplot points=<uint> number of points to be generated multiple=<bool> whether multiple functions are being generated domain=<data:data> domain for the varied parameter range=<data:data> range for the plotting the output getvalue output the current value profile step=<data> limit=<data> generate the function over the specified domain [0:<limit>] in the first parameter and store the results in an internal buffer step=<data> the step size being the interval between points limit=<data> upper limit for the varied parameter descprof describe the generated profile stored in the internal buffer

Derived Classes


Go to the previous, next section, table of contents. Document generated Mon Jun 16 02:19:05 GMT 2003