Jampack
Class Norm
- java.lang.Object
-
- Jampack.Norm
-
public class Norm extends java.lang.ObjectNorm 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 Summary
Constructors Constructor and Description Norm()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doublefro(Z1 u)Computes the Frobenius norm of a Z1.static doublefro(Zdiagmat D)Computes the Frobenius norm of a Zdiagmat.static doublefro(Zmat A)Computes the Frobenius norm of a Zmat.static doublefro(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.
-
-
-
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 zmatii1- The lower row indexii2- The upper row indexjj1- The lower column indexjj2- 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
-
-
DMelt 3.0 © DataMelt by jWork.ORG