public class PVectorNormAlgorithm extends AbstractVectorNormAlgorithm
| Constructor and Description |
|---|
PVectorNormAlgorithm() |
PVectorNormAlgorithm(double P) |
PVectorNormAlgorithm(int P) |
| Modifier and Type | Method and Description |
|---|---|
DblMatrix |
getNorm(DblMatrix X)
Return the norm.
|
double |
getP()
Get current setting of the norm's P.
|
public PVectorNormAlgorithm()
public PVectorNormAlgorithm(int P)
public PVectorNormAlgorithm(double P)
public double getP()
public DblMatrix getNorm(DblMatrix X)
getNorm in interface VectorNormAlgorithmgetNorm in class AbstractVectorNormAlgorithm