org.jmat.function
Class MatrixFunctionExpression

java.lang.Object
  |
  +--org.jmat.function.Function
        |
        +--org.jmat.function.MatrixFunction
              |
              +--org.jmat.function.MatrixFunctionExpression
All Implemented Interfaces:
CommandLinePrintable, StringPrintable

public class MatrixFunctionExpression
extends MatrixFunction


Field Summary
 
Fields inherited from class org.jmat.function.Function
argNumber
 
Constructor Summary
MatrixFunctionExpression(java.lang.String exp, java.lang.String vars)
           
MatrixFunctionExpression(java.lang.String exp, java.lang.String[] vars)
           
 
Method Summary
 Matrix eval(AbstractDoubleArray value)
           
 Matrix eval(AbstractDoubleArray[] values)
           
 void toCommandLine(java.lang.String title)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jmat.function.Function
checkArgNumber, getArgNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatrixFunctionExpression

public MatrixFunctionExpression(java.lang.String exp,
                                java.lang.String[] vars)

MatrixFunctionExpression

public MatrixFunctionExpression(java.lang.String exp,
                                java.lang.String vars)
Method Detail

eval

public Matrix eval(AbstractDoubleArray[] values)
Specified by:
eval in class MatrixFunction

eval

public Matrix eval(AbstractDoubleArray value)

toString

public java.lang.String toString()
Specified by:
toString in interface StringPrintable
Specified by:
toString in class Function

toCommandLine

public void toCommandLine(java.lang.String title)
Specified by:
toCommandLine in interface CommandLinePrintable
Specified by:
toCommandLine in class Function