All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jampack.Block

java.lang.Object
   |
   +----Jampack.Block

public class Block
extends Object
Block contains a static method for partitioning a matrix. into a block matrix.


Constructor Index

 o Block()

Method Index

 o o(Zmat, int[], int[])
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).

Constructors

 o Block
 public Block()

Methods

 o 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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index