Interface XNormedOptions<ArrayType>

interface XNormedOptions {
    algorithm?: "absolute" | "max" | "sum";
    output?: ArrayType;
    value?: number;
}

Type Parameters

  • ArrayType extends NumberArray = Float64Array

Properties

algorithm?: "absolute" | "max" | "sum"

algorithm can be 'sum' 'max' or 'absolute'

Default

'absolute'
output?: ArrayType

output into which the result should be placed if needed

value?: number

max or sum value

Default

1