VectorScale Method (Single, Single, Single, Int16, Int16) |
Namespace: Accord.Math
public static short[] Scale( this float[] values, float fromMin, float fromMax, short toMin, short toMax )
<ExtensionAttribute> Public Shared Function Scale ( values As Single(), fromMin As Single, fromMax As Single, toMin As Short, toMax As Short ) As Short()
Accord.NET Framework © 2009-2017. All documentation is licensed under the Creative Commons Attribution/Share-Alike License.