public class StructuredConsole.PrintFunction extends NaryFunction
curNumberOfParameters, name, NaN, numberOfParameters
Constructor and Description |
---|
PrintFunction()
Constructor with default System.out for output and ", " for the separator.
|
PrintFunction(java.lang.String sep,
java.lang.String term)
Constructor with specified separator and terminator
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eval(java.lang.Object[] args)
Evaluate the function
|
run
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
public PrintFunction(java.lang.String sep, java.lang.String term)
sep
- separatorpublic PrintFunction()
public java.lang.Object eval(java.lang.Object[] args) throws EvaluationException
NaryFunction
eval
in class NaryFunction
args
- arguments to the functionEvaluationException
- if the calculation cannot be performedCopyright © 2018 Singular Systems http://www.singularsys.com/jep