jmathlib.toolbox.jmathlib.matrix._private.Jampack
Class Norm

java.lang.Object
  extended by jmathlib.toolbox.jmathlib.matrix._private.Jampack.Norm

public class Norm
extends java.lang.Object

Norm computes norms of matrices.

Comments: At this point only the Frobenius norm is calculated. Later the 1, 2, and infinity norms will be added.

Version:
Pre-alpha
Author:
G. W. Stewart

Constructor Summary
Norm()
           
 
Method Summary
static double fro(Z1 u)
          Computes the Frobenius norm of a Z1.
static double fro(Zdiagmat D)
          Computes the Frobenius norm of a Zdiagmat.
static double fro(Zmat A)
          Computes the Frobenius norm of a Zmat.
static double fro(Zmat A, int ii1, int ii2, int jj1, int jj2)
          Computes the Frobenius norm of a the submatrix (ii1:ii2, jj1,jj2) of a Zmat.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Norm

public Norm()
Method Detail

fro

public static double fro(Zmat A,
                         int ii1,
                         int ii2,
                         int jj1,
                         int jj2)
Computes the Frobenius norm of a the submatrix (ii1:ii2, jj1,jj2) of a Zmat.

Parameters:
A - The zmat
ii1 - The lower row index
ii2 - The upper row index
jj1 - The lower column index
jj2 - The upper column index
Returns:
The Frobenius norm of A(ii1:ii2, jj1:jj2)

fro

public static double fro(Zmat A)
Computes the Frobenius norm of a Zmat.

Parameters:
A - The Zmat
Returns:
The Frobenius norm of A

fro

public static double fro(Z1 u)
Computes the Frobenius norm of a Z1.

Parameters:
u - The Z1
Returns:
The Frobenius norm of u

fro

public static double fro(Zdiagmat D)
Computes the Frobenius norm of a Zdiagmat.

Parameters:
D - The Zdiagmat

FOOTER

BOTTOM