ProGAL.math
Class Matrix.ImmutableMatrix

java.lang.Object
  extended by ProGAL.math.Matrix
      extended by ProGAL.math.Matrix.ImmutableMatrix
Enclosing class:
Matrix

public static class Matrix.ImmutableMatrix
extends Matrix


Nested Class Summary
 
Nested classes/interfaces inherited from class ProGAL.math.Matrix
Matrix.EigenvalueDecomposition, Matrix.ImmutableMatrix
 
Constructor Summary
Matrix.ImmutableMatrix(double[][] coords)
           
 
Method Summary
 Matrix addThis(Matrix m)
          Add the components of two matrices.
 Matrix invertThis()
          Invert this matrix (overwrites this and returns it).
 Matrix multiplyThis(double s)
          Multiply the components of this matrix by a scalar.
 Matrix multiplyThis(Matrix m)
          Multiply this matrix to another matrix.
 void set(int r, int c, double v)
           
 
Methods inherited from class ProGAL.math.Matrix
add, clone, create4x4ColumnMatrix, createColumnMatrix, createIdentityMatrix, createRandomMatrix, createRotationMatrix, createRowMatrix, determinant, equals, equals, expand, extend, get, getColumn, getCoords, getEigenvalueDecomposition, getM, getN, getRow, getSubmatrix, getTranspose, invert, isSquare, minor, multiply_Strassen, multiply, multiply, multiply, multiply, multiply, multiplyIn, multiplyIn, orthonormalizeThis, reduce, reduceThis, setColumn, setRow, setSubmatrix, subtract, subtractThis, toConsole, toConsole, toString, toString, transpose
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Matrix.ImmutableMatrix

public Matrix.ImmutableMatrix(double[][] coords)
Method Detail

set

public void set(int r,
                int c,
                double v)
Overrides:
set in class Matrix

multiplyThis

public Matrix multiplyThis(Matrix m)
Description copied from class: Matrix
Multiply this matrix to another matrix. This matrix is changed and then returned

Overrides:
multiplyThis in class Matrix

addThis

public Matrix addThis(Matrix m)
Description copied from class: Matrix
Add the components of two matrices. The result is stored in this matrix and then returned.

Overrides:
addThis in class Matrix

multiplyThis

public Matrix multiplyThis(double s)
Description copied from class: Matrix
Multiply the components of this matrix by a scalar. Changes and then returns this

Overrides:
multiplyThis in class Matrix

invertThis

public Matrix invertThis()
Description copied from class: Matrix
Invert this matrix (overwrites this and returns it).

Overrides:
invertThis in class Matrix