Package dev.nm.analysis.function.matrix
Class R1toConstantMatrix
- java.lang.Object
-
- dev.nm.analysis.function.matrix.R1toMatrix
-
- dev.nm.analysis.function.matrix.R1toConstantMatrix
-
- All Implemented Interfaces:
Function<Vector,Matrix>
,RntoMatrix
public class R1toConstantMatrix extends R1toMatrix
A constant matrix function maps a real number to a constant matrix: \(R^n \rightarrow A\).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface dev.nm.analysis.function.Function
Function.EvaluationException
-
-
Constructor Summary
Constructors Constructor Description R1toConstantMatrix(Matrix A)
Construct a constant matrix function.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableMatrix
evaluate(double x)
Evaluate f(x) = A.-
Methods inherited from class dev.nm.analysis.function.matrix.R1toMatrix
dimensionOfDomain, dimensionOfRange, evaluate
-
-
-
-
Constructor Detail
-
R1toConstantMatrix
public R1toConstantMatrix(Matrix A)
Construct a constant matrix function.- Parameters:
A
- the constant matrix
-
-
Method Detail
-
evaluate
public ImmutableMatrix evaluate(double x)
Description copied from class:R1toMatrix
Evaluate f(x) = A.- Specified by:
evaluate
in classR1toMatrix
- Parameters:
x
- x- Returns:
- f(x)
-
-