|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wisc.ssec.mcidasv.data.adde.sgp4.MathUtils
public class MathUtils
Various Math functions; many of them for vector and matrix operations for 3 dimensions.
Constructor Summary | |
---|---|
MathUtils()
|
Method Summary | |
---|---|
static double |
dot(double[] a,
double[] b)
dot product for 3D vectors |
static double[][] |
mult(double[][] a,
double[][] b)
multiply two matrices 3x3 |
static double |
norm(double[] a)
vector 2-norm |
static double[] |
sub(double[] a,
double[] b)
vector subtraction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MathUtils()
Method Detail |
---|
public static double norm(double[] a)
a
- vector of length 3
public static double dot(double[] a, double[] b)
a
- 3x1 vectorb
- 3x1 vector
public static double[][] mult(double[][] a, double[][] b)
a
- 3x3 matrixb
- 3x3 matrix
public static double[] sub(double[] a, double[] b)
a
- vector of length 3b
- vector of length 3
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |