Package | Description |
---|---|
org.esa.snap.core.util.math |
Provides utility classes for mathematical operations.
|
Modifier and Type | Field and Description |
---|---|
static FX |
FX.ONE
The function f(x) = 1
|
static FX |
FX.X
The function f(x) = x
|
static FX |
FX.XX
The function f(x) = x 2
|
static FX |
FX.XXX
The function f(x) = x 3
|
static FX |
FX.XXXX
The function f(x) = x 4
|
Modifier and Type | Method and Description |
---|---|
static void |
Approximator.approximateFX(double[][] data,
int[] indices,
FX[] f,
double[] c)
Solves a linear equation system with each term having the form c * f(x).
|
static double |
Approximator.computeY(FX[] f,
double[] c,
double x)
Computes y(x) = sum(c[i] * f[i](x), i = 0, n - 1).
|
static double |
Approximator.getRMSE(double[][] data,
int[] indices,
FX[] f,
double[] c)
Returns the root mean square error (RMSE) for the approximation of the given data with a function given by y'(x)
=
c[0]*f[0](x) + c[1]*f[1](x) + c[2]*f[2](x) + ... + c[n-1]*f[n-1](x) . |
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.