All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jampack.Parameters

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

public class Parameters
extends Object
Parameter is a class containing global parameters for Jampack.


Variable Index

 o BaseIndex
The base index
 o BaseIndexNotChangeable
Flag allowing only one change in base index
 o History
The history flag indicating whether to save decompositions
 o OutputFieldWidth
Output field width.
 o OutputFracPlaces
Number of places to the right of the decimal point.
 o PageWidth
Output page width

Constructor Index

 o Parameters()

Method Index

 o adjustBaseIndex(Zdiagmat)
Adjust the base index of a Zdiagmat to make it conform to the default.
 o adjustBaseIndex(Zmat)
Adjust the base index of a Zmat to make it conform to the default.
 o getBaseIndex()
Returns the base index
 o setBaseIndex(int)
Resets the default base index.
 o setHistory()
Sets the history flag.
 o setOutputParams(int, int, int)
Changes the output parameters.
 o unsetHistory()
Unsets the history flag.

Variables

 o BaseIndex
 protected static int BaseIndex
The base index

 o BaseIndexNotChangeable
 protected static boolean BaseIndexNotChangeable
Flag allowing only one change in base index

 o History
 protected static boolean History
The history flag indicating whether to save decompositions

 o OutputFieldWidth
 protected static int OutputFieldWidth
Output field width.

 o OutputFracPlaces
 protected static int OutputFracPlaces
Number of places to the right of the decimal point.

 o PageWidth
 protected static int PageWidth
Output page width

Constructors

 o Parameters
 public Parameters()

Methods

 o getBaseIndex
 public static int getBaseIndex()
Returns the base index

 o setBaseIndex
 public static void setBaseIndex(int bx) throws JampackException
Resets the default base index.

Parameters:
xb - The new base index
Throws: JampackException
Thrown when the base indices are not changable.
 o adjustBaseIndex
 public static void adjustBaseIndex(Zmat A)
Adjust the base index of a Zmat to make it conform to the default.

 o adjustBaseIndex
 public static void adjustBaseIndex(Zdiagmat A)
Adjust the base index of a Zdiagmat to make it conform to the default.

 o setHistory
 public static void setHistory()
Sets the history flag.

 o unsetHistory
 public static void unsetHistory()
Unsets the history flag.

 o setOutputParams
 public static void setOutputParams(int width,
                                    int frac,
                                    int pagewidth)
Changes the output parameters. Nonpositive parameters are ignored.

Parameters:
width - The new field width
frac - The new number of places to the right of the decimal
pagewidth - The new page width

All Packages  Class Hierarchy  This Package  Previous  Next  Index