Maven module :un.api : api-math :
Class :
un.impl.math.AbstractMatrix
Extends/Implements :
un.api.math.transform.AbstractTransform
un.api.math.MatrixRW
Subclasses : -
Variables :
nbRow,
nbCol
Functions :
AbstractMatrix,
getNbRow,
getNbCol,
getInputDimensions,
getOutputDimensions,
getValuesCopy,
getRow,
getColumn,
getColumnTuple,
getLastColumn,
getLastColumnTuple,
getMatrix,
getMatrix,
getMatrix,
getMatrix,
set,
set,
set,
setRow,
setCol,
setMatrix,
setMatrix,
setMatrix,
setMatrix,
setToIdentity,
isIdentity,
add,
subtract,
scale,
multiply,
invert,
transpose,
add,
subtract,
scale,
multiply,
invert,
localInvert,
localAdd,
localSubtract,
localScale,
localScale,
localMultiply,
localTranslate,
dot,
transform,
transform,
transform,
transform,
transform,
transform,
transform,
transform,
transform,
norm1,
norm2,
normInf,
normF,
lu,
qr,
chol,
svd,
eig,
solve,
solveTranspose,
det,
rank,
cond,
trace,
toColumnPackedCopy,
toRowPackedCopy,
toArrayDouble,
toArrayDoubleColOrder,
toArrayFloat,
toArrayFloatColOrder,
toArrayFloatColOrder,
toChars,
getHash,
allEquals,
equals,
dArray
protected int
nbRow
protected int
nbCol
protected void
AbstractMatrix (int nbrow, int nbcol)
public int
getNbRow ()
public int
getNbCol ()
public int
getInputDimensions ()
public int
getOutputDimensions ()
public double[][]
getValuesCopy ()
public double[]
getRow (int row)
public double[]
getColumn (int col)
public Vector
getColumnTuple (int col)
public double[]
getLastColumn ()
public Vector
getLastColumnTuple ()
public MatrixRW
getMatrix (int i0, int i1, int j0, int j1)
public MatrixRW
getMatrix (int[] r, int[] c)
public MatrixRW
getMatrix (int i0, int i1, int[] c)
public MatrixRW
getMatrix (int[] r, int j0, int j1)
public void
set (Matrix toCopy)
public void
set (double[] values)
public void
set (double[][] values)
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 AbstractMatrix
setToIdentity ()
public boolean
isIdentity ()
public MatrixRW
add (Matrix other)
public MatrixRW
subtract (Matrix other)
public MatrixRW
scale (double scale)
public MatrixRW
multiply (Matrix other)
public MatrixRW
invert ()
public MatrixRW
transpose ()
public MatrixRW
add (Matrix other, MatrixRW buffer)
public MatrixRW
subtract (Matrix other, MatrixRW buffer)
public MatrixRW
scale (double scale, MatrixRW buffer)
public MatrixRW
multiply (Matrix other, MatrixRW buffer)
public MatrixRW
invert (MatrixRW buffer)
public AbstractMatrix
localInvert ()
public AbstractMatrix
localAdd (MatrixRW other)
public AbstractMatrix
localSubtract (MatrixRW other)
public AbstractMatrix
localScale (double[] tuple)
public AbstractMatrix
localScale (double scale)
public AbstractMatrix
localMultiply (Matrix other)
public void
localTranslate (Tuple translation)
public double
dot (Matrix other)
public double[]
transform (double[] vector)
public double[]
transform (double[] vector, double fillValue)
public Tuple
transform (Tuple vector)
public Tuple
transform (Tuple vector, double fillValue)
public double[]
transform (double[] source, int sourceOffset, double[] dest, int destOffset, int nbTuple)
public float[]
transform (float[] source, int sourceOffset, float[] dest, int destOffset, int nbTuple)
public Tuple
transform (Tuple vector, Tuple buffer)
public Tuple
transform (Tuple vector, Tuple buffer, double fillValue)
protected void
transform (double[] vector, double[] buffer, double fillValue)
public double
norm1 ()
public double
norm2 ()
public double
normInf ()
public double
normF ()
public LUDecomposition
lu ()
public QRDecomposition
qr ()
public CholeskyDecomposition
chol ()
public SingularValueDecomposition
svd ()
public EigenvalueDecomposition
eig ()
public MatrixRW
solve (MatrixRW B)
public MatrixRW
solveTranspose (MatrixRW B)
public double
det ()
public int
rank ()
public double
cond ()
public double
trace ()
public double[]
toColumnPackedCopy ()
public double[]
toRowPackedCopy ()
public double[]
toArrayDouble ()
public double[]
toArrayDoubleColOrder ()
public float[]
toArrayFloat ()
public float[]
toArrayFloatColOrder ()
public float[]
toArrayFloatColOrder (float[] array)
public Chars
toChars ()
public int
getHash ()
public boolean
allEquals (double scalar, double tolerance)
public boolean
equals (Object obj)
protected double[][]
dArray (Matrix matrix)
author Johann Sorel
aurhor Bertrand COTE