jmathlib.toolbox.jmathlib.matrix._private.Jampack
Class Block

java.lang.Object
  extended by jmathlib.toolbox.jmathlib.matrix._private.Jampack.Block

public class Block
extends java.lang.Object

Block contains a static method for partitioning a matrix. into a block matrix.

Version:
Pre-alpha
Author:
G. W. Stewart

Constructor Summary
Block()
           
 
Method Summary
static Zmat[][] o(Zmat A, int[] ii, int[] jj)
          This method takes a Zmat A and two arrays ii and jj of length m and n and produces an (m-1)x(n-1) block matrix Zmat[m-1][n-1], whose (i,j)-element is A.get(ii[i], ii[i+1]-1, jj[j], jj[j+1]-1).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Block

public Block()
Method Detail

o

public static Zmat[][] o(Zmat A,
                         int[] ii,
                         int[] jj)
                  throws JampackException
This method takes a Zmat A and two arrays ii and jj of length m and n and produces an (m-1)x(n-1) block matrix Zmat[m-1][n-1], whose (i,j)-element is A.get(ii[i], ii[i+1]-1, jj[j], jj[j+1]-1). Throws a JampackException if

Parameters:
A - The matrix to be partitioned
ii[] - The row indices of the partition
jj[] - The column indices of the partition
Returns:
The block Zmat
Throws:
JampackException - Thrown if the submatrices are not conformable.

FOOTER

BOTTOM