Interface DoubleExponentialMatrixSingleDimensionFunctionEvaluatorListener
public interface DoubleExponentialMatrixSingleDimensionFunctionEvaluatorListener
Interface to define how matrix (multivariate) single dimension functions can be evaluated in
Double Exponential Rule Quadrature function integrators.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluate
(double x, double delta, com.irurueta.algebra.Matrix result) Evaluates a single dimension function such as f(x) at provided point and returns the result.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
void evaluate(double x, double delta, com.irurueta.algebra.Matrix result) throws EvaluationException Evaluates a single dimension function such as f(x) at provided point and returns the result.- Parameters:
x
- point where function will be evaluated.delta
- value to handle singularities. If the function has no singularities, or the singularities are “mild” (e.g., no worse than logarithmic), this can be ignored.result
- matrix where function evaluation will be stored.- Throws:
EvaluationException
- raised 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.
-