public class VectorNorm extends java.lang.Object implements VectorNormAlgorithm
Constructor and Description |
---|
VectorNorm()
Construction using the default algorithm.
|
VectorNorm(AbstractVectorNormAlgorithm Alg)
Default construction useful when the user wants to use a non-default algorithm.
|
Modifier and Type | Method and Description |
---|---|
static DblMatrix |
EuclidNorm(DblMatrix X)
Euclidean vector norm
|
AbstractVectorNormAlgorithm |
getAlgorithm()
Get the QRAlgorithm currently being used.
|
DblMatrix |
getNorm(DblMatrix X)
Return the norm.
|
static DblMatrix |
InfNorm(DblMatrix X)
Infinity vector norm.
|
static DblMatrix |
OneNorm(DblMatrix X)
One vector norm
|
static DblMatrix |
PNorm(DblMatrix X,
double P)
P-vector norm
|
static DblMatrix |
PNorm(DblMatrix X,
int P)
P-vector norm
|
void |
setAlgorithm(AbstractVectorNormAlgorithm M)
Set the NormAlgorithm to be used.
|
public VectorNorm(AbstractVectorNormAlgorithm Alg)
public VectorNorm()
public DblMatrix getNorm(DblMatrix X)
getNorm
in interface VectorNormAlgorithm
public void setAlgorithm(AbstractVectorNormAlgorithm M)
public AbstractVectorNormAlgorithm getAlgorithm()
Copyright © 2011, 2013. Daniel P. Dougherty