Interface MatrixSingleDimensionFunctionEvaluatorListener
public interface MatrixSingleDimensionFunctionEvaluatorListener
Interface to define how matrix (multivariate) single dimension functions can be evaluated.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluate
(double point, com.irurueta.algebra.Matrix result) Evaluates a matrix function such as f(x1) at provided point and returns the result as a matrix.int
Gets number of columns of matrix result of function f.int
getRows()
Gets number of rows of matrix result of function f.
-
Method Details
-
evaluate
Evaluates a matrix function such as f(x1) at provided point and returns the result as a matrix.- Parameters:
point
- point where function will be evaluated.result
- matrix where function evaluation will be stored.- Throws:
EvaluationException
- if something failed during the evaluation.
-
getRows
int getRows()Gets number of rows of matrix result of function f.- Returns:
- number of rows.
-
getColumns
int getColumns()Gets number of columns of matrix result of function f.- Returns:
- number of columns.
-