All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jampack.Norm

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

public class Norm
extends 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.


Constructor Index

 o Norm()

Method Index

 o fro(Z1)
Computes the Frobenius norm of a Z1.
 o fro(Zdiagmat)
Computes the Frobenius norm of a Zdiagmat.
 o fro(Zmat)
Computes the Frobenius norm of a Zmat.
 o fro(Zmat, int, int, int, int)
Computes the Frobenius norm of a the submatrix (ii1:ii2, jj1,jj2) of a Zmat.

Constructors

 o Norm
 public Norm()

Methods

 o 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)
 o fro
 public static double fro(Zmat A)
Computes the Frobenius norm of a Zmat.

Parameters:
A - The Zmat
Returns:
The Frobenius norm of A
 o fro
 public static double fro(Z1 u)
Computes the Frobenius norm of a Z1.

Parameters:
u - The Z1
Returns:
The Frobenius norm of u
 o fro
 public static double fro(Zdiagmat D)
Computes the Frobenius norm of a Zdiagmat.

Parameters:
D - The Zdiagmat

All Packages  Class Hierarchy  This Package  Previous  Next  Index