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.
-
BaseIndex
- The base index
-
BaseIndexNotChangeable
- Flag allowing only one change in base index
-
History
- The history flag indicating whether to save decompositions
-
OutputFieldWidth
- Output field width.
-
OutputFracPlaces
- Number of places to the right of the decimal point.
-
PageWidth
- Output page width
-
Parameters()
-
-
adjustBaseIndex(Zdiagmat)
- Adjust the base index of a Zdiagmat to make it conform to
the default.
-
adjustBaseIndex(Zmat)
- Adjust the base index of a Zmat to make it conform to
the default.
-
getBaseIndex()
- Returns the base index
-
setBaseIndex(int)
- Resets the default base index.
-
setHistory()
- Sets the history flag.
-
setOutputParams(int, int, int)
- Changes the output parameters.
-
unsetHistory()
- Unsets the history flag.
BaseIndex
protected static int BaseIndex
- The base index
BaseIndexNotChangeable
protected static boolean BaseIndexNotChangeable
- Flag allowing only one change in base index
History
protected static boolean History
- The history flag indicating whether to save decompositions
OutputFieldWidth
protected static int OutputFieldWidth
- Output field width.
OutputFracPlaces
protected static int OutputFracPlaces
- Number of places to the right of the decimal point.
PageWidth
protected static int PageWidth
- Output page width
Parameters
public Parameters()
getBaseIndex
public static int getBaseIndex()
- Returns the base index
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.
adjustBaseIndex
public static void adjustBaseIndex(Zmat A)
- Adjust the base index of a Zmat to make it conform to
the default.
adjustBaseIndex
public static void adjustBaseIndex(Zdiagmat A)
- Adjust the base index of a Zdiagmat to make it conform to
the default.
setHistory
public static void setHistory()
- Sets the history flag.
unsetHistory
public static void unsetHistory()
- Unsets the history flag.
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