bcParserObjC  1.1
Math Parser for Objective C, iOS and OSX
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<Function> Protocol Reference

Function defines the interface that describes a function that can be used as a user defined function in a MathParser instance. More...

Inherited by __if, __max, __min, __sum, OneParameterFunc, TwoParameterFunc, and ZeroParameterFunc.

Instance Methods

(double) - run:
 Execute the function with the given array of parameters and return the result as a double.
 
(int) - getNumberOfParameters
 Return the number of parameters that this function accepts. More...
 

Detailed Description

Function defines the interface that describes a function that can be used as a user defined function in a MathParser instance.

Method Documentation

- (int) getNumberOfParameters

Return the number of parameters that this function accepts.

-1 means the function can take any number of parameters, for example sum(x,y,z,...)


The documentation for this protocol was generated from the following file: