Package org.ojalgo.array.operation
Class NRM2
java.lang.Object
org.ojalgo.array.operation.NRM2
- All Implemented Interfaces:
ArrayOperation
The ?nrm2 routines perform a vector reduction operation defined as res = ||x||, where: x is a vector, res
is a value containing the Euclidean norm of the elements of x.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
invoke
(double[] data, double scale, int first, int limit)
-
Constructor Details
-
NRM2
private NRM2()
-
-
Method Details
-
invoke
public static double invoke(double[] data, double scale, int first, int limit)
-