public interface VectorNormalizer extends Serializable
Modifier and Type | Method and Description |
---|---|
double[] |
normalize(double[] input)
Normalizes the input array in some fashion specified by the class.
|
default void |
normalizeInPlace(double[] input)
In place normalization of the array.
|
double[] normalize(double[] input)
input
- The input to normalize.default void normalizeInPlace(double[] input)
Note: This default implementation performs a copy by calling the standard normalize method.
input
- The input to normalize.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.