Package javax.vecmath
Class GVector
java.lang.Object
javax.vecmath.GVector
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class GVector
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
add(GVector gVector)
void
add(GVector gVector, GVector gVector2)
double
angle(GVector gVector)
java.lang.Object
clone()
double
dot(GVector gVector)
boolean
epsilonEquals(GVector gVector, double double1)
boolean
equals(java.lang.Object object)
boolean
equals(GVector gVector)
double
getElement(int int1)
int
getSize()
int
hashCode()
void
interpolate(GVector gVector, double double1)
void
interpolate(GVector gVector, float float1)
void
interpolate(GVector gVector, GVector gVector2, double double1)
void
interpolate(GVector gVector, GVector gVector2, float float1)
void
LUDBackSolve(GMatrix gMatrix, GVector gVector, GVector gVector2)
void
mul(GMatrix gMatrix, GVector gVector)
void
mul(GVector gVector, GMatrix gMatrix)
void
negate()
double
norm()
void
normalize()
void
normalize(GVector gVector)
double
normSquared()
void
scale(double double1)
void
scale(double double1, GVector gVector)
void
scaleAdd(double double1, GVector gVector, GVector gVector2)
void
set(double[] doubleArray)
void
set(GVector gVector)
void
set(Tuple2f tuple2f)
void
set(Tuple3d tuple3d)
void
set(Tuple3f tuple3f)
void
set(Tuple4d tuple4d)
void
set(Tuple4f tuple4f)
void
setElement(int int1, double double1)
void
setSize(int int1)
void
sub(GVector gVector)
void
sub(GVector gVector, GVector gVector2)
void
SVDBackSolve(GMatrix gMatrix, GMatrix gMatrix2, GMatrix gMatrix3, GVector gVector)
java.lang.String
toString()
void
zero()
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
GVector
public GVector(int int1) -
GVector
public GVector(double[] doubleArray) -
GVector
-
GVector
-
GVector
-
GVector
-
GVector
-
GVector
-
GVector
public GVector(double[] doubleArray, int int1)
-
-
Method Details
-
norm
public final double norm() -
normSquared
public final double normSquared() -
normalize
-
normalize
public final void normalize() -
scale
-
scale
public final void scale(double double1) -
scaleAdd
-
add
-
add
-
sub
-
sub
-
mul
-
mul
-
negate
public final void negate() -
zero
public final void zero() -
setSize
public final void setSize(int int1) -
set
public final void set(double[] doubleArray) -
set
-
set
-
set
-
set
-
set
-
set
-
getSize
public final int getSize() -
getElement
public final double getElement(int int1) -
setElement
public final void setElement(int int1, double double1) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
epsilonEquals
-
dot
-
SVDBackSolve
-
LUDBackSolve
-
angle
-
interpolate
-
interpolate
-
interpolate
-
interpolate
-
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-