{
}
-
+
/**
* Creates a new Matrix object containing a copy of the supplied array values.
* For example
if (iter == maxIter)
{
throw new Exception(MessageManager.formatMessage(
- "exception.matrix_too_many_iteration", new String[] {
- "tqli", Integer.valueOf(maxIter).toString() }));
+ "exception.matrix_too_many_iteration", new String[]
+ { "tqli", Integer.valueOf(maxIter).toString() }));
}
else
{
{
f = getValue(k - 1, i);
setValue(k - 1, i, (s * getValue(k - 1, i - 1)) + (c * f));
- setValue(k - 1, i - 1, (c * getValue(k - 1, i - 1)) - (s * f));
+ setValue(k - 1, i - 1,
+ (c * getValue(k - 1, i - 1)) - (s * f));
}
}
if (iter == maxIter)
{
throw new Exception(MessageManager.formatMessage(
- "exception.matrix_too_many_iteration", new String[] {
- "tqli2", Integer.valueOf(maxIter).toString() }));
+ "exception.matrix_too_many_iteration", new String[]
+ { "tqli2", Integer.valueOf(maxIter).toString() }));
}
else
{
*
* @param ps
* DOCUMENT ME!
- * @param format TODO
+ * @param format
+ * TODO
*/
@Override
public void printE(PrintStream ps, String format)
{
return e;
}
-
+
@Override
- public int height() {
+ public int height()
+ {
return rows;
}