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
Modifier and TypeClassDescriptionstatic interface
Creates new instances of functions from a single variablestatic interface
Creates a new instance of functions from two variables -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add1
(String name, ManagerFunctions.Input1 function) Adds a function, with a single input, to the listvoid
addN
(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 characterboolean
Returns true if the string matches the name of a functionvoid
setManagerTemp
(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
-