org.ujmp.core.doublematrix.impl
Class BlockMatrixLayout

java.lang.Object
  extended by org.ujmp.core.doublematrix.impl.BlockMatrixLayout
All Implemented Interfaces:
Serializable

public final class BlockMatrixLayout
extends Object
implements Serializable

This class describes the layout (size, order) of a square block of data within a block matrix.

Author:
Frode Carlsen, Holger Arndt
See Also:
Serialized Form

Nested Class Summary
static class BlockMatrixLayout.BlockOrder
          Enum describing the layout of a block of data.
 
Field Summary
protected  int blockArea
          Total size of a block (area).
 BlockMatrixLayout.BlockOrder blockOrder
          Whether this block is laid out in row-major (true) or column-major (false) order.
 int blockStripe
          Length of one side (stripe) of a square block.
 int columns
          Number of columns of matrix.
 int rows
          Number of rows of matrix.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

blockArea

protected final int blockArea
Total size of a block (area).


blockStripe

public final int blockStripe
Length of one side (stripe) of a square block.


columns

public final int columns
Number of columns of matrix.


blockOrder

public final BlockMatrixLayout.BlockOrder blockOrder
Whether this block is laid out in row-major (true) or column-major (false) order.


rows

public final int rows
Number of rows of matrix.

Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.