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 Details

    • GVector

      public GVector​(int int1)
    • GVector

      public GVector​(double[] doubleArray)
    • GVector

      public GVector​(GVector gVector)
    • GVector

      public GVector​(Tuple2f tuple2f)
    • GVector

      public GVector​(Tuple3f tuple3f)
    • GVector

      public GVector​(Tuple3d tuple3d)
    • GVector

      public GVector​(Tuple4f tuple4f)
    • GVector

      public GVector​(Tuple4d tuple4d)
    • GVector

      public GVector​(double[] doubleArray, int int1)
  • Method Details

    • norm

      public final double norm()
    • normSquared

      public final double normSquared()
    • normalize

      public final void normalize​(GVector gVector)
    • normalize

      public final void normalize()
    • scale

      public final void scale​(double double1, GVector gVector)
    • scale

      public final void scale​(double double1)
    • scaleAdd

      public final void scaleAdd​(double double1, GVector gVector, GVector gVector2)
    • add

      public final void add​(GVector gVector)
    • add

      public final void add​(GVector gVector, GVector gVector2)
    • sub

      public final void sub​(GVector gVector)
    • sub

      public final void sub​(GVector gVector, GVector gVector2)
    • mul

      public final void mul​(GMatrix gMatrix, GVector gVector)
    • mul

      public final void mul​(GVector gVector, GMatrix gMatrix)
    • 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

      public final void set​(GVector gVector)
    • set

      public final void set​(Tuple2f tuple2f)
    • set

      public final void set​(Tuple3f tuple3f)
    • set

      public final void set​(Tuple3d tuple3d)
    • set

      public final void set​(Tuple4f tuple4f)
    • set

      public final void set​(Tuple4d tuple4d)
    • 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 class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(GVector gVector)
    • equals

      public boolean equals​(java.lang.Object object)
      Overrides:
      equals in class java.lang.Object
    • epsilonEquals

      public boolean epsilonEquals​(GVector gVector, double double1)
    • dot

      public final double dot​(GVector gVector)
    • SVDBackSolve

      public final void SVDBackSolve​(GMatrix gMatrix, GMatrix gMatrix2, GMatrix gMatrix3, GVector gVector)
    • LUDBackSolve

      public final void LUDBackSolve​(GMatrix gMatrix, GVector gVector, GVector gVector2)
    • angle

      public final double angle​(GVector gVector)
    • interpolate

      public final void interpolate​(GVector gVector, GVector gVector2, float float1)
    • interpolate

      public final void interpolate​(GVector gVector, float float1)
    • interpolate

      public final void interpolate​(GVector gVector, GVector gVector2, double double1)
    • interpolate

      public final void interpolate​(GVector gVector, double double1)
    • clone

      public java.lang.Object clone()
      Overrides:
      clone in class java.lang.Object