Package javax.vecmath
Class GMatrix
java.lang.Object
javax.vecmath.GMatrix
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class GMatrix
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(GMatrix gMatrix)
void
add(GMatrix gMatrix, GMatrix gMatrix2)
java.lang.Object
clone()
void
copySubMatrix(int int1, int int2, int int3, int int4, int int5, int int6, GMatrix gMatrix)
boolean
epsilonEquals(GMatrix gMatrix, double double1)
boolean
epsilonEquals(GMatrix gMatrix, float float1)
boolean
equals(java.lang.Object object)
boolean
equals(GMatrix gMatrix)
void
get(GMatrix gMatrix)
void
get(Matrix3d matrix3d)
void
get(Matrix3f matrix3f)
void
get(Matrix4d matrix4d)
void
get(Matrix4f matrix4f)
void
getColumn(int int1, double[] doubleArray)
void
getColumn(int int1, GVector gVector)
double
getElement(int int1, int int2)
int
getNumCol()
int
getNumRow()
void
getRow(int int1, double[] doubleArray)
void
getRow(int int1, GVector gVector)
int
hashCode()
void
identityMinus()
void
invert()
void
invert(GMatrix gMatrix)
int
LUD(GMatrix gMatrix, GVector gVector)
void
mul(GMatrix gMatrix)
void
mul(GMatrix gMatrix, GMatrix gMatrix2)
void
mul(GVector gVector, GVector gVector2)
void
mulTransposeBoth(GMatrix gMatrix, GMatrix gMatrix2)
void
mulTransposeLeft(GMatrix gMatrix, GMatrix gMatrix2)
void
mulTransposeRight(GMatrix gMatrix, GMatrix gMatrix2)
void
negate()
void
negate(GMatrix gMatrix)
void
set(double[] doubleArray)
void
set(GMatrix gMatrix)
void
set(Matrix3d matrix3d)
void
set(Matrix3f matrix3f)
void
set(Matrix4d matrix4d)
void
set(Matrix4f matrix4f)
void
setColumn(int int1, double[] doubleArray)
void
setColumn(int int1, GVector gVector)
void
setElement(int int1, int int2, double double1)
void
setIdentity()
void
setRow(int int1, double[] doubleArray)
void
setRow(int int1, GVector gVector)
void
setScale(double double1)
void
setSize(int int1, int int2)
void
setZero()
void
sub(GMatrix gMatrix)
void
sub(GMatrix gMatrix, GMatrix gMatrix2)
int
SVD(GMatrix gMatrix, GMatrix gMatrix2, GMatrix gMatrix3)
java.lang.String
toString()
double
trace()
void
transpose()
void
transpose(GMatrix gMatrix)
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
GMatrix
public GMatrix(int int1, int int2) -
GMatrix
public GMatrix(int int1, int int2, double[] doubleArray) -
GMatrix
-
-
Method Details
-
mul
-
mul
-
mul
-
add
-
add
-
sub
-
sub
-
negate
public final void negate() -
negate
-
setIdentity
public final void setIdentity() -
setZero
public final void setZero() -
identityMinus
public final void identityMinus() -
invert
public final void invert() -
invert
-
copySubMatrix
public final void copySubMatrix(int int1, int int2, int int3, int int4, int int5, int int6, GMatrix gMatrix) -
setSize
public final void setSize(int int1, int int2) -
set
public final void set(double[] doubleArray) -
set
-
set
-
set
-
set
-
set
-
getNumRow
public final int getNumRow() -
getNumCol
public final int getNumCol() -
getElement
public final double getElement(int int1, int int2) -
setElement
public final void setElement(int int1, int int2, double double1) -
getRow
public final void getRow(int int1, double[] doubleArray) -
getRow
-
getColumn
public final void getColumn(int int1, double[] doubleArray) -
getColumn
-
get
-
get
-
get
-
get
-
get
-
setRow
public final void setRow(int int1, double[] doubleArray) -
setRow
-
setColumn
public final void setColumn(int int1, double[] doubleArray) -
setColumn
-
mulTransposeBoth
-
mulTransposeRight
-
mulTransposeLeft
-
transpose
public final void transpose() -
transpose
-
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
-
epsilonEquals
-
trace
public final double trace() -
SVD
-
LUD
-
setScale
public final void setScale(double double1) -
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-