public class Norm extends Object
Comments: At this point only the Frobenius norm is calculated. Later the 1, 2, and infinity norms will be added.
| Constructor and Description |
|---|
Norm() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static double fro(Zmat A, int ii1, int ii2, int jj1, int jj2)
A - The zmatii1 - The lower row indexii2 - The upper row indexjj1 - The lower column indexjj2 - The upper column indexpublic static double fro(Zmat A)
A - The Zmatpublic static double fro(Z1 u)
u - The Z1public static double fro(Zdiagmat D)
D - The ZdiagmatCopyright © 2015. All rights reserved.