Interface MatrixSingleDimensionFunctionEvaluatorListener
public interface MatrixSingleDimensionFunctionEvaluatorListener
Interface to define how matrix (multivariate) single dimension functions can be evaluated.
-
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(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.intGets number of columns of matrix result of function f.intgetRows()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.
-