org.jscience.mathematics.algebraic
Class AbstractBandedMatrix

java.lang.Object
  extended by org.jscience.mathematics.algebraic.AbstractHypermatrix
      extended by org.jscience.mathematics.algebraic.AbstractMatrix
          extended by org.jscience.mathematics.algebraic.AbstractSquareMatrix
              extended by org.jscience.mathematics.algebraic.AbstractBandedMatrix
All Implemented Interfaces:
java.io.Serializable, Algebra.Member, BandedMatrix, Ring.Member, AbelianGroup.Member, Hypermatrix, Matrix, Module.Member, VectorSpace.Member, SquareMatrix, Member
Direct Known Subclasses:
AbstractTriangularMatrix, AbstractTridiagonalMatrix

public abstract class AbstractBandedMatrix
extends AbstractSquareMatrix
implements BandedMatrix

This class defines an interface for Banded Matrices (see interface).

See Also:
Serialized Form

Constructor Summary
AbstractBandedMatrix(int rows, int k1, int k2)
          Constructs a matrix.
 
Method Summary
 int getK1()
          DOCUMENT ME!
 int getK2()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.mathematics.algebraic.AbstractSquareMatrix
isSymmetric
 
Methods inherited from class org.jscience.mathematics.algebraic.AbstractMatrix
getElement, getInvalidElementMsg, numColumns, numRows, print, print, print, print, toArray, toArray
 
Methods inherited from class org.jscience.mathematics.algebraic.AbstractHypermatrix
getDimensions, numDimensions, numElements, numElements, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jscience.mathematics.algebraic.SquareMatrix
isSymmetric
 
Methods inherited from interface org.jscience.mathematics.algebraic.Matrix
getColumn, getElement, getRow, numColumns, numRows, toArray, transpose
 
Methods inherited from interface org.jscience.mathematics.algebraic.Hypermatrix
getDimensions, getElement, numDimensions, numElements, numElements, toArray, toArray
 
Methods inherited from interface org.jscience.mathematics.algebraic.modules.VectorSpace.Member
scalarDivide
 
Methods inherited from interface org.jscience.mathematics.algebraic.modules.Module.Member
scalarMultiply
 
Methods inherited from interface org.jscience.mathematics.algebraic.groups.AbelianGroup.Member
add, negate, subtract
 
Methods inherited from interface org.jscience.mathematics.algebraic.fields.Ring.Member
multiply
 

Constructor Detail

AbstractBandedMatrix

public AbstractBandedMatrix(int rows,
                            int k1,
                            int k2)
Constructs a matrix.

Parameters:
rows - DOCUMENT ME!
Throws:
IllegalDimensionException - DOCUMENT ME!
Method Detail

getK1

public int getK1()
DOCUMENT ME!

Specified by:
getK1 in interface BandedMatrix
Returns:
DOCUMENT ME!

getK2

public int getK2()
DOCUMENT ME!

Specified by:
getK2 in interface BandedMatrix
Returns:
DOCUMENT ME!