public class CoreCommon
extends java.lang.Object
implements nxm.sys.inc.Constants, nxm.sys.inc.DataTypes
| Modifier and Type | Class and Description |
|---|---|
static class |
CoreCommon.CxByte |
static class |
CoreCommon.CxDouble |
static class |
CoreCommon.CxFloat |
static class |
CoreCommon.CxShort |
static class |
CoreCommon.SxDouble |
static class |
CoreCommon.SxFloat |
static class |
CoreCommon.SxShort |
static class |
CoreCommon.TypeDef |
static class |
CoreCommon.VxDouble |
static class |
CoreCommon.VxFloat |
static class |
CoreCommon.VxShort |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY |
static int |
BUFFER |
static int |
BUFSTR |
static byte[] |
cvbb |
static int |
FLGS |
static int |
FLOW |
static int |
FORM |
static int |
FUNC |
static int |
IMPL |
static int |
MCID |
static int |
PACKET |
static int |
SCID |
static int |
STREAM |
static int |
VBPR |
ANGULAR_VELOCITY_PRECESSING_COR, B1G, B1K, B1M, B1T, B64K, CYC2RAD, DEF_EARTH_ANGULAR_VELOCITY, DEG2METERS, DEG2RAD, E, EARTH_ANGULAR_VELOCITY, EARTH_ECCENTRICITY, EARTH_EQUATORIAL_RADIUS, EARTH_FLATTENING_FACTOR, EARTH_GRAV_CONSTANT_W_ATMOS, EARTH_GRAV_CONSTANT_W_ATMOS_ORIG, EARTH_GRAV_CONSTANT_WO_ATMOS, EARTH_GRAV_CONSTANT_WO_ATMOS_ORIG, FEET2METERS, HALFPI, IAU_EARTH_ANGULAR_VELOCITY, LN2DB, LN2LOG, LNTEN, MASS_OF_EARTH_W_ATMOS, METERS2DEG, METERS2FEET, METERS2NM, METERS2SM, NM2FEET, NM2METERS, PI, POLAR_RADIUS_IN_METERS, POLAR_RADIUS_OF_CURVATURE, RAD2CYC, RAD2DEG, SECOND_EARTH_ECCENTRICITY, SM2FEET, SM2METERS, SPEED_OF_LIGHT, TWOPIALAW, AMODE, ASCII, ASCII256, BMAX, BMIN, BOOL, BYTE, COMPLEX, CONVERT_TYPE_LIST, CRAY, DATA_MODE_LIST, DATA_TYPE_LIST, DMAX, DMIN, DOUBLE, EEEI, EXTENDED_DATA_TYPE_LIST, falseStates, FLOAT, FMAX, FMIN, IEEE, IMAX, IMIN, INT, JINT, LMAX, LMIN, LONG, MATRIX, modeList, MULT_DATA_MODE_LIST, NIBBLE, NMAX, NMIN, NONHOMOGENEOUS, NUMBER, numberTypes, NUMERIC_DATA_TYPE_LIST, numericTypeList, OBJECT, PACKED, QUAD, repList, RESULT_TYPE_LIST, SCALAR, STRING, TABLE, TRANSMATRIX, trueStates, typeList, UINT, ULAW, ULONG, VAX, VECTOR, XLONG, XMAX, XMIN, XMODE, XMVALUE, XMVALUE_KVLIST, XMVALUE_LIST, XMVALUE_TABLE| Constructor and Description |
|---|
CoreCommon() |
| Modifier and Type | Method and Description |
|---|---|
static int |
abs(int x) |
static void |
addcc(CoreCommon.CxFloat a,
CoreCommon.CxFloat b,
CoreCommon.CxFloat c) |
static double |
atan2(double x,
double y) |
static float |
atan2cf(float x,
float y) |
static float |
atan2f(float x,
float y) |
static int |
brev4(int val) |
static short |
bswap2(int x) |
static short |
bswap2(short x) |
static int |
bswap2s(int x) |
static int |
bswap4(int x) |
static double |
ceil(double x) |
static float |
ceilf(float x) |
static byte[] |
CF2bb(CoreCommon.CxFloat v) |
static void |
CF2CI(CoreCommon.CxFloat cf,
CoreCommon.CxShort ci) |
static int |
CF2L(float fx,
float fy) |
static void |
CI2CF(CoreCommon.CxShort ci,
CoreCommon.CxFloat cf) |
static float |
CI2Fx(int i) |
static float |
CI2Fy(int i) |
static int |
CI2L(short ix,
short iy) |
static double |
clip(double x,
double min,
double max) |
static float |
clipf(float x,
float min,
float max) |
static int |
clipl(int x,
int min,
int max) |
static double |
cos(double x) |
static double |
cosc(double x) |
static float |
coscf(double x) |
static float |
cosf(double x) |
static java.lang.String |
cpuDate() |
static double |
cpuTime() |
static void |
cpuWait(double sec) |
CoreCommon.CxByte |
CxByte() |
CoreCommon.CxDouble |
CxDouble_stk() |
CoreCommon.CxFloat |
CxFloat_stk() |
CoreCommon.CxShort |
CxShort_stk() |
static long |
d2dptx(double d) |
static float |
d2f(double d) |
static int |
d2fi(double f) |
static int |
d2i(double d) |
static long |
d2l(double d) |
static int |
d2wi(double f) |
static long |
d2x(double f) |
static double |
divdi(double x,
int y) |
static float |
divf(float x,
float y) |
static float |
divfi(float x,
int y) |
static float |
divfp2(float x,
int y) |
static double |
divii(int x,
int y) |
static double |
divp2(double x,
int y) |
static double |
dptx2d(long x) |
static void |
dupcc(CoreCommon.CxFloat a,
CoreCommon.CxFloat b) |
static byte[] |
f2bb(float v) |
static double |
f2d(float f) |
static int |
f2fptx(float f) |
static int |
f2i(float f) |
static short |
F2I(float f) |
static int |
F2K(float f) |
static int |
f2x(float f) |
static double |
fabs(double x) |
static float |
fabsf(float x) |
static double |
fi2d(int f) |
static int |
findListItem(java.lang.String sa,
java.lang.String sb,
int offset) |
static int |
fint(double x) |
static int |
fintf(float x) |
static double |
floor(double x) |
static float |
floorf(float x) |
static double |
fmax(double x,
double y) |
static float |
fmaxf(float x,
float y) |
static double |
fmin(double x,
double y) |
static float |
fminf(float x,
float y) |
static double |
fmod(double x,
double y) |
static float |
fmodf(float x,
float y) |
static int |
fp2i(float f) |
static float |
fptx2f(int x) |
static double |
frac(double x) |
static float |
fracf(float x) |
static int |
gatherBits(int val,
int i0,
int inc,
int n) |
static boolean |
getBit(int val,
int i) |
static boolean |
getBit(long val,
int i) |
static int |
getBits(int val,
int i2,
int i1) |
static int |
getBits(long val,
int i2,
int i1) |
static int |
getListBase(java.lang.String sa) |
static java.lang.String |
getListItem(java.lang.String sa,
int index,
int offset) |
static int |
getPABS(int cur,
int val,
int len) |
static long |
getPABS(long cur,
long val,
int len) |
static int |
getPBBS(int cur,
boolean val) |
static int |
getPBS(int cur,
int val,
int i2,
int i1) |
static long |
getPBS(long cur,
long val,
int i2,
int i1) |
static byte[] |
i2bb(int v) |
static double |
i2d(int i) |
static float |
i2f(int i) |
static float |
I2F(short s) |
static float |
i2fp(int i) |
static short |
i2s(int i) |
static int |
iabs(int x) |
static long |
ii2l(int ui,
int li) |
static int |
iLRS(int lrs) |
static int |
iLRSP(int lrs,
int lrsp) |
static int |
imax(int x,
int y) |
static int |
imin(int x,
int y) |
static int |
IN2P(int i) |
static double |
inv(double x) |
static float |
invf(float x) |
static float |
invfi(int x) |
static int |
IO2P(int i) |
static float |
K2F(int i) |
static double |
l2d(long l) |
static float |
L2F(int i) |
static int |
l2i(long l) |
static short |
l2s(long l) |
static long |
labs(long x) |
static int |
LN2P(int i) |
static int |
LO2P(int i) |
static double |
log10(double x) |
static float |
log10cf(CoreCommon.CxFloat v) |
static float |
log10f(float x) |
static double |
log2(double x) |
static float |
mag2f(CoreCommon.CxFloat a) |
static void |
msumccf(float[] ax,
float[] ay,
float[] bx,
float[] by,
CoreCommon.CxFloat c,
int n) |
static void |
msumcsf(float[] ax,
float[] ay,
float[] b,
CoreCommon.CxFloat c,
int n) |
static void |
msumf(float[] a,
float[] b,
CoreCommon.SxFloat c,
int n) |
static void |
mulcAc(CoreCommon.CxFloat[] a,
CoreCommon.CxFloat b,
CoreCommon.CxFloat[] c,
int n) |
static void |
mulcAcA(CoreCommon.CxFloat[] a,
CoreCommon.CxFloat[] b,
CoreCommon.CxFloat[] c,
int n) |
static void |
mulcc(CoreCommon.CxFloat a,
CoreCommon.CxFloat b,
CoreCommon.CxFloat c) |
static void |
mulccA(CoreCommon.CxFloat a,
CoreCommon.CxFloat[] b,
CoreCommon.CxFloat[] c,
int n) |
static void |
mulccj(CoreCommon.CxFloat a,
CoreCommon.CxFloat b,
CoreCommon.CxFloat c) |
static void |
mulcf(CoreCommon.CxFloat a,
float b,
CoreCommon.CxFloat c) |
static void |
mulcfrnc(CoreCommon.CxFloat a,
float b,
CoreCommon.CxFloat c) |
static double |
muldf(double x,
float y) |
static double |
muldi(double x,
int y) |
static void |
mulfc(float a,
CoreCommon.CxFloat b,
CoreCommon.CxFloat c) |
static void |
mulfcrnc(float a,
CoreCommon.CxFloat b,
CoreCommon.CxFloat c) |
static float |
mulff(float x,
float y) |
static float |
mulffrnc(float x,
float y) |
static float |
mulfi(float x,
int y) |
static float |
mulfp2(float x,
int y) |
static int |
mulif(int x,
float y) |
static double |
mulp2(double x,
int y) |
static void |
muxf(float x,
float y,
CoreCommon.CxFloat cx) |
static int |
ones(int x,
int n) |
static float |
phaseditherf() |
static void |
pol2recf(float amp,
float pf,
CoreCommon.CxFloat sc) |
static double |
pow(double x,
double y) |
static int |
pow2ge(int num) |
static int |
power2ge(int num) |
static float |
powf(float x,
float y) |
static void |
qrotcc(CoreCommon.CxFloat a,
int quad,
CoreCommon.CxFloat b) |
static int |
qwrap2z(CoreCommon.CxFloat a) |
static double |
round(double x) |
static float |
roundf(float x) |
static byte[] |
s2bb(short v) |
static int |
s2i(short s) |
static long |
s2l(short s) |
static double |
sclip(double x,
double mm) |
static float |
sclipf(float x,
float mm) |
static int |
sclipl(int x,
int mm) |
static int |
setBit(int val,
int i,
boolean valb) |
static long |
setBit(long val,
int i,
boolean valb) |
static byte |
setBits(byte val,
int i2,
int i1,
int valb) |
static int |
setBits(int val,
int i2,
int i1,
int valb) |
static long |
setBits(long val,
int i2,
int i1,
long valb) |
static short |
setBits(short val,
int i2,
int i1,
int valb) |
static double |
sin(double x) |
static double |
sinc(double x) |
static float |
sincf(double x) |
static void |
sincoscf(float pf,
CoreCommon.CxFloat sc) |
static float |
sinf(double x) |
static double |
sqrt(double x) |
static float |
sqrtf(float x) |
CoreCommon.SxDouble |
SxDouble_stk() |
CoreCommon.SxFloat |
SxFloat_stk() |
CoreCommon.SxShort |
SxShort_stk() |
static double |
tan(double x) |
static float |
tancf(double x) |
static float |
tanf(double x) |
CoreCommon.VxDouble |
VxDouble_stk() |
CoreCommon.VxFloat |
VxFloat_stk() |
CoreCommon.VxShort |
VxShort_stk() |
static double |
wrap(double x) |
static float |
wrapf(float x) |
public static final int FUNC
public static final int FORM
public static final int FLOW
public static final int IMPL
public static final int FLGS
public static final int SCID
public static final int MCID
public static final int VBPR
public static final int ARRAY
public static final int STREAM
public static final int BUFFER
public static final int BUFSTR
public static final int PACKET
public static byte[] cvbb
public CoreCommon.SxShort SxShort_stk()
public CoreCommon.SxFloat SxFloat_stk()
public CoreCommon.SxDouble SxDouble_stk()
public CoreCommon.CxByte CxByte()
public CoreCommon.CxShort CxShort_stk()
public CoreCommon.CxFloat CxFloat_stk()
public CoreCommon.CxDouble CxDouble_stk()
public CoreCommon.VxShort VxShort_stk()
public CoreCommon.VxFloat VxFloat_stk()
public CoreCommon.VxDouble VxDouble_stk()
public static boolean getBit(int val,
int i)
public static boolean getBit(long val,
int i)
public static int getBits(int val,
int i2,
int i1)
public static int getBits(long val,
int i2,
int i1)
public static int getPBS(int cur,
int val,
int i2,
int i1)
public static long getPBS(long cur,
long val,
int i2,
int i1)
public static int getPABS(int cur,
int val,
int len)
public static long getPABS(long cur,
long val,
int len)
public static int getPBBS(int cur,
boolean val)
public static int gatherBits(int val,
int i0,
int inc,
int n)
public static int setBit(int val,
int i,
boolean valb)
public static long setBit(long val,
int i,
boolean valb)
public static byte setBits(byte val,
int i2,
int i1,
int valb)
public static short setBits(short val,
int i2,
int i1,
int valb)
public static int setBits(int val,
int i2,
int i1,
int valb)
public static long setBits(long val,
int i2,
int i1,
long valb)
public static double cpuTime()
public static java.lang.String cpuDate()
public static void cpuWait(double sec)
public static int s2i(short s)
public static long s2l(short s)
public static short i2s(int i)
public static float i2f(int i)
public static float d2f(double d)
public static int d2i(double d)
public static long d2l(double d)
public static int f2i(float f)
public static int l2i(long l)
public static short l2s(long l)
public static double f2d(float f)
public static double i2d(int i)
public static double l2d(long l)
public static long ii2l(int ui,
int li)
public static int f2x(float f)
public static long d2x(double f)
public static int d2fi(double f)
public static int d2wi(double f)
public static double fi2d(int f)
public static float i2fp(int i)
public static int fp2i(float f)
public static int f2fptx(float f)
public static float fptx2f(int x)
public static long d2dptx(double d)
public static double dptx2d(long x)
public static short F2I(float f)
public static float I2F(short s)
public static float L2F(int i)
public static float K2F(int i)
public static int F2K(float f)
public static int CI2L(short ix,
short iy)
public static int CF2L(float fx,
float fy)
public static void CF2CI(CoreCommon.CxFloat cf, CoreCommon.CxShort ci)
public static void CI2CF(CoreCommon.CxShort ci, CoreCommon.CxFloat cf)
public static float CI2Fx(int i)
public static float CI2Fy(int i)
public static int IN2P(int i)
public static int LN2P(int i)
public static int IO2P(int i)
public static int LO2P(int i)
public static byte[] s2bb(short v)
public static byte[] i2bb(int v)
public static byte[] f2bb(float v)
public static byte[] CF2bb(CoreCommon.CxFloat v)
public static int imin(int x,
int y)
public static int imax(int x,
int y)
public static float fminf(float x,
float y)
public static float fmaxf(float x,
float y)
public static double fmin(double x,
double y)
public static double fmax(double x,
double y)
public static int abs(int x)
public static int iabs(int x)
public static long labs(long x)
public static float fabsf(float x)
public static double fabs(double x)
public static float sinf(double x)
public static float cosf(double x)
public static float tanf(double x)
public static float atan2f(float x,
float y)
public static float sincf(double x)
public static float coscf(double x)
public static float tancf(double x)
public static float atan2cf(float x,
float y)
public static float invf(float x)
public static float invfi(int x)
public static float sqrtf(float x)
public static float log10f(float x)
public static float roundf(float x)
public static float floorf(float x)
public static float fracf(float x)
public static float wrapf(float x)
public static float ceilf(float x)
public static float fmodf(float x,
float y)
public static float powf(float x,
float y)
public static int fintf(float x)
public static double sin(double x)
public static double cos(double x)
public static double sinc(double x)
public static double cosc(double x)
public static double tan(double x)
public static double atan2(double x,
double y)
public static double inv(double x)
public static double sqrt(double x)
public static double log10(double x)
public static double log2(double x)
public static double round(double x)
public static double floor(double x)
public static double ceil(double x)
public static double frac(double x)
public static double wrap(double x)
public static double fmod(double x,
double y)
public static double pow(double x,
double y)
public static double divii(int x,
int y)
public static double divdi(double x,
int y)
public static double divp2(double x,
int y)
public static double mulp2(double x,
int y)
public static float divf(float x,
float y)
public static float divfi(float x,
int y)
public static float divfp2(float x,
int y)
public static float mulfp2(float x,
int y)
public static double muldf(double x,
float y)
public static double muldi(double x,
int y)
public static float mulfi(float x,
int y)
public static float mulff(float x,
float y)
public static int mulif(int x,
float y)
public static int fint(double x)
public static void muxf(float x,
float y,
CoreCommon.CxFloat cx)
public static float phaseditherf()
public static double clip(double x,
double min,
double max)
public static float clipf(float x,
float min,
float max)
public static int clipl(int x,
int min,
int max)
public static double sclip(double x,
double mm)
public static float sclipf(float x,
float mm)
public static int sclipl(int x,
int mm)
public static short bswap2(int x)
public static short bswap2(short x)
public static int bswap2s(int x)
public static int bswap4(int x)
public static int brev4(int val)
public static int iLRS(int lrs)
public static int iLRSP(int lrs,
int lrsp)
public static int ones(int x,
int n)
public static int qwrap2z(CoreCommon.CxFloat a)
public static void qrotcc(CoreCommon.CxFloat a, int quad, CoreCommon.CxFloat b)
public static void dupcc(CoreCommon.CxFloat a, CoreCommon.CxFloat b)
public static void sincoscf(float pf,
CoreCommon.CxFloat sc)
public static void pol2recf(float amp,
float pf,
CoreCommon.CxFloat sc)
public static void addcc(CoreCommon.CxFloat a, CoreCommon.CxFloat b, CoreCommon.CxFloat c)
public static void mulfc(float a,
CoreCommon.CxFloat b,
CoreCommon.CxFloat c)
public static void mulcf(CoreCommon.CxFloat a, float b, CoreCommon.CxFloat c)
public static void mulcc(CoreCommon.CxFloat a, CoreCommon.CxFloat b, CoreCommon.CxFloat c)
public static void mulccj(CoreCommon.CxFloat a, CoreCommon.CxFloat b, CoreCommon.CxFloat c)
public static float mulffrnc(float x,
float y)
public static void mulfcrnc(float a,
CoreCommon.CxFloat b,
CoreCommon.CxFloat c)
public static void mulcfrnc(CoreCommon.CxFloat a, float b, CoreCommon.CxFloat c)
public static float mag2f(CoreCommon.CxFloat a)
public static float log10cf(CoreCommon.CxFloat v)
public static void mulccA(CoreCommon.CxFloat a, CoreCommon.CxFloat[] b, CoreCommon.CxFloat[] c, int n)
public static void mulcAc(CoreCommon.CxFloat[] a, CoreCommon.CxFloat b, CoreCommon.CxFloat[] c, int n)
public static void mulcAcA(CoreCommon.CxFloat[] a, CoreCommon.CxFloat[] b, CoreCommon.CxFloat[] c, int n)
public static int pow2ge(int num)
public static int power2ge(int num)
public static void msumf(float[] a,
float[] b,
CoreCommon.SxFloat c,
int n)
public static void msumcsf(float[] ax,
float[] ay,
float[] b,
CoreCommon.CxFloat c,
int n)
public static void msumccf(float[] ax,
float[] ay,
float[] bx,
float[] by,
CoreCommon.CxFloat c,
int n)
public static int getListBase(java.lang.String sa)
public static int findListItem(java.lang.String sa,
java.lang.String sb,
int offset)
public static java.lang.String getListItem(java.lang.String sa,
int index,
int offset)