|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.display3d.simple3d.utils.VectorAlgebra
public class VectorAlgebra
Some utility functions
Constructor Summary | |
---|---|
VectorAlgebra()
|
Method Summary | |
---|---|
static double[] |
crossProduct(double[] u,
double[] v)
|
static double |
norm(double[] u)
|
static double[] |
normalize(double[] u)
|
static double[] |
normalTo(double[] vector)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VectorAlgebra()
Method Detail |
---|
public static double norm(double[] u)
public static double[] crossProduct(double[] u, double[] v)
public static double[] normalize(double[] u)
public static double[] normalTo(double[] vector)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |