Package org.ejml.equation
Class ManagerFunctions
java.lang.Object
org.ejml.equation.ManagerFunctions
Centralized place to create new instances of operations and functions. Must call
setManagerTemp(org.ejml.equation.ManagerTempVariables) before any other functions.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCreates new instances of functions from a single variablestatic interfaceCreates a new instance of functions from two variables -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd1(String name, ManagerFunctions.Input1 function) Adds a function, with a single input, to the listvoidaddN(String name, ManagerFunctions.InputN function) Adds a function, with a two inputs, to the listCreate a new instance of a single input function from an operator characterCreate a new instance of single input functionsCreate a new instance of single input functionsCreate a new instance of a two input function from an operator characterbooleanReturns true if the string matches the name of a functionvoidsetManagerTemp(ManagerTempVariables managerTemp)
-
Field Details
-
managerTemp
-
-
Constructor Details
-
ManagerFunctions
public ManagerFunctions()
-
-
Method Details
-
isFunctionName
Returns true if the string matches the name of a function -
create
Create a new instance of single input functions- Parameters:
name- function namevar0- Input variable- Returns:
- Resulting operation
-
create
Create a new instance of single input functions- Parameters:
name- function namevars- Input variables- Returns:
- Resulting operation
-
create
Create a new instance of a single input function from an operator character- Parameters:
op- Which operationinput- Input variable- Returns:
- Resulting operation
-
create
Create a new instance of a two input function from an operator character- Parameters:
op- Which operationleft- Input variable on leftright- Input variable on right- Returns:
- Resulting operation
-
setManagerTemp
-
add1
Adds a function, with a single input, to the list- Parameters:
name- Name of functionfunction- Function factory
-
addN
Adds a function, with a two inputs, to the list- Parameters:
name- Name of functionfunction- Function factory
-
getManagerTemp
-