|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.analysis.function.matrix.R1toMatrix
public abstract class R1toMatrix
This abstract class represents a R2 → Matrix space function. It takes one real argument and outputs one matrix value. That is,
M = f(x)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.Function |
|---|
Function.EvaluationException |
| Constructor Summary | |
|---|---|
R1toMatrix()
|
|
| Method Summary | |
|---|---|
int |
dimension4Domain()
Get the number of variables of the function. |
int |
dimension4Range()
Get the dimension of the range space the function. |
Matrix |
evaluate(double... args)
A RntoMatrix function, f, takes a double array double[],
{x0, x1, ..., xn}
and maps it to a Matrix,
M = f(x0, x1, ..., xn) |
abstract Matrix |
evaluate(double x)
Compute f(x). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public R1toMatrix()
| Method Detail |
|---|
public int dimension4Domain()
FunctionFor example, for a univariate function, the domain dimension is 1. For a bivariate function, the domain dimension is 2.
dimension4Domain in interface Functionpublic int dimension4Range()
Function
For example, for a Rn->Rm function, the dimension of the range is m.
dimension4Range in interface Functionpublic Matrix evaluate(double... args)
RntoMatrixf, takes a double array double[],
and maps it to a Matrix,{x0,x1, ...,xn}
M = f(x0, x1, ..., xn)
evaluate in interface RntoMatrixargs - {x} = {x0, x1, ... xn}
M = f({x}) as outputpublic abstract Matrix evaluate(double x)
f(x).
x - x
f(x)
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||