Returns the average of a set of values. Depends on the Add
and Divide classes to perform the calculation.
Namespace:
SingularSys.Jep.FunctionsAssembly: Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)
Syntax
C# |
---|
public Object AverageOp( ArrayList vals ) |
Visual Basic (Declaration) |
---|
Public Function AverageOp ( _ vals As ArrayList _ ) As Object |
Visual C++ |
---|
public: Object^ AverageOp( ArrayList^ vals ) |
Parameters
- vals
- Type: System.Collections..::.ArrayList
Values to be averaged
Return Value
the average of valsExceptions
Exception | Condition |
---|---|
SingularSys.Jep..::.EvaluationException |