public class QuasiRegular
extends java.lang.Object
Constructor and Description |
---|
QuasiRegular() |
Modifier and Type | Method and Description |
---|---|
static float[] |
convertQuasiGrid(float[] quasi,
int[] linePts,
int nx,
int ny,
GribData.InterpolationMethod interpolationMethod) |
static void |
cubicSpline(float[] inpt,
int iIdx,
double[] y2d,
double x,
float[] outpt,
int oIdx) |
static int |
getMax(int[] vals) |
static void |
linear(float[] inpt,
int iIdx,
double x,
float[] outpt,
int oIdx,
int npoints) |
static void |
secondDerivative(float[] inpt,
int idx,
int n,
double x1d,
double xnd,
double[] y2d) |
public static float[] convertQuasiGrid(float[] quasi, int[] linePts, int nx, int ny, GribData.InterpolationMethod interpolationMethod)
quasi
- input datalinePts
- npts in each linenx
- num parellels or undefinedny
- num parellels or undefinedpublic static int getMax(int[] vals)
public static void secondDerivative(float[] inpt, int idx, int n, double x1d, double xnd, double[] y2d)
public static void cubicSpline(float[] inpt, int iIdx, double[] y2d, double x, float[] outpt, int oIdx)
public static void linear(float[] inpt, int iIdx, double x, float[] outpt, int oIdx, int npoints)