Maven module :un.api : api-math :
Class :
un.impl.math.DefaultMatrix
Extends/Implements :
un.impl.math.AbstractMatrix
Subclasses : -
Variables :
values
Functions :
create,
DefaultMatrix,
DefaultMatrix,
DefaultMatrix,
DefaultMatrix,
DefaultMatrix,
DefaultMatrix,
getValues,
getValuesCopy,
getRow,
getColumn,
getMatrix,
getMatrix,
getMatrix,
getMatrix,
get,
set,
setRow,
setCol,
setMatrix,
setMatrix,
setMatrix,
setMatrix,
setToIdentity,
isIdentity,
invert,
localInvert,
localAdd,
localSubtract,
localScale,
localScale,
localMultiply,
localTranslate,
transpose,
dot,
copy,
toArrayFloatColOrder,
allEquals,
equals,
transform
protected double[][]
values
public MatrixRW
create (int nbrow, int nbcol)
public void
DefaultMatrix (int nbrow, int nbcol)
protected void
DefaultMatrix (double m00, double m01, double m10, double m11)
protected void
DefaultMatrix (double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
protected void
DefaultMatrix (double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)
public void
DefaultMatrix (double[][] values)
public void
DefaultMatrix (Matrix m)
public double[][]
getValues ()
public double[][]
getValuesCopy ()
public double[]
getRow (int row)
public double[]
getColumn (int col)
public DefaultMatrix
getMatrix (int i0, int i1, int j0, int j1)
public DefaultMatrix
getMatrix (int[] r, int[] c)
public DefaultMatrix
getMatrix (int i0, int i1, int[] c)
public DefaultMatrix
getMatrix (int[] r, int j0, int j1)
public double
get (int row, int col)
public void
set (int row, int col, double value)
public void
setRow (int row, double[] values)
public void
setCol (int col, double[] values)
public void
setMatrix (int i0, int i1, int j0, int j1, Matrix X)
public void
setMatrix (int[] r, int[] c, Matrix X)
public void
setMatrix (int[] r, int j0, int j1, Matrix X)
public void
setMatrix (int i0, int i1, int[] c, Matrix X)
public DefaultMatrix
setToIdentity ()
public boolean
isIdentity ()
public MatrixRW
invert (MatrixRW buffer)
public DefaultMatrix
localInvert ()
public DefaultMatrix
localAdd (MatrixRW other)
public DefaultMatrix
localSubtract (MatrixRW other)
public DefaultMatrix
localScale (double[] tuple)
public DefaultMatrix
localScale (double scale)
public DefaultMatrix
localMultiply (Matrix other)
public void
localTranslate (Tuple translation)
public DefaultMatrix
transpose ()
public double
dot (Matrix other)
public DefaultMatrix
copy ()
public float[]
toArrayFloatColOrder (float[] array)
public boolean
allEquals (double scalar, double tolerance)
public boolean
equals (Object obj)
protected void
transform (double[] vector, double[] buffer, double fillValue)
aurhor Bertrand COTE