public class ManagerFunctions
extends java.lang.Object
setManagerTemp(org.ejml.equation.ManagerTempVariables)
before any other functions.Modifier and Type | Class and Description |
---|---|
static interface |
ManagerFunctions.Input1
Creates new instances of functions from a single variable
|
static interface |
ManagerFunctions.InputN
Creates a new instance of functions from two variables
|
Modifier and Type | Field and Description |
---|---|
protected ManagerTempVariables |
managerTemp |
Constructor and Description |
---|
ManagerFunctions() |
Modifier and Type | Method and Description |
---|---|
void |
add1(java.lang.String name,
ManagerFunctions.Input1 function)
Adds a function, with a single input, to the list
|
void |
addN(java.lang.String name,
ManagerFunctions.InputN function)
Adds a function, with a two inputs, to the list
|
Operation.Info |
create(char op,
Variable input)
Create a new instance of a single input function from an operator character
|
Operation.Info |
create(java.lang.String name,
java.util.List<Variable> vars)
Create a new instance of single input functions
|
Operation.Info |
create(java.lang.String name,
Variable var0)
Create a new instance of single input functions
|
Operation.Info |
create(Symbol op,
Variable left,
Variable right)
Create a new instance of a two input function from an operator character
|
ManagerTempVariables |
getManagerTemp() |
boolean |
isFunctionName(java.lang.String s)
Returns true if the string matches the name of a function
|
void |
setManagerTemp(ManagerTempVariables managerTemp) |
protected ManagerTempVariables managerTemp
public boolean isFunctionName(java.lang.String s)
public Operation.Info create(java.lang.String name, Variable var0)
name
- function namevar0
- Input variablepublic Operation.Info create(java.lang.String name, java.util.List<Variable> vars)
name
- function namevars
- Input variablespublic Operation.Info create(char op, Variable input)
op
- Which operationinput
- Input variablepublic Operation.Info create(Symbol op, Variable left, Variable right)
op
- Which operationleft
- Input variable on leftright
- Input variable on rightpublic void setManagerTemp(ManagerTempVariables managerTemp)
managerTemp
- public void add1(java.lang.String name, ManagerFunctions.Input1 function)
name
- Name of functionfunction
- Function factorypublic void addN(java.lang.String name, ManagerFunctions.InputN function)
name
- Name of functionfunction
- Function factorypublic ManagerTempVariables getManagerTemp()