Jampack
Class Parameters
- java.lang.Object
-
- Jampack.Parameters
-
public class Parameters extends java.lang.ObjectParameter is a class containing global parameters for Jampack.
-
-
Constructor Summary
Constructors Constructor and Description Parameters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidadjustBaseIndex(Zdiagmat A)Adjust the base index of a Zdiagmat to make it conform to the default.static voidadjustBaseIndex(Zmat A)Adjust the base index of a Zmat to make it conform to the default.static intgetBaseIndex()Returns the base indexstatic voidsetBaseIndex(int bx)Resets the default base index.static voidsetHistory()Sets the history flag.static voidsetOutputParams(int width, int frac, int pagewidth)Changes the output parameters.static voidunsetHistory()Unsets the history flag.
-
-
-
Method Detail
-
getBaseIndex
public static int getBaseIndex()
Returns the base index
-
setBaseIndex
public static void setBaseIndex(int bx) throws JampackExceptionResets 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 widthfrac- The new number of places to the right of the decimalpagewidth- The new page width
-
-
DMelt 3.0 © DataMelt by jWork.ORG