A collection of simple vector operations on arrays of floating point numbers, accelerated with SIMD instructions where possible, usually accessed from the FloatVectorOperations class. More...
Static Public Member Functions | |
static void JUCE_CALLTYPE | clear (FloatType *dest, CountType numValues) noexcept |
Clears a vector of floating point numbers. | |
static void JUCE_CALLTYPE | fill (FloatType *dest, FloatType valueToFill, CountType numValues) noexcept |
Copies a repeated value into a vector of floating point numbers. | |
static void JUCE_CALLTYPE | copy (FloatType *dest, const FloatType *src, CountType numValues) noexcept |
Copies a vector of floating point numbers. | |
static void JUCE_CALLTYPE | copyWithMultiply (FloatType *dest, const FloatType *src, FloatType multiplier, CountType numValues) noexcept |
Copies a vector of floating point numbers, multiplying each value by a given multiplier. | |
static void JUCE_CALLTYPE | add (FloatType *dest, FloatType amountToAdd, CountType numValues) noexcept |
Adds a fixed value to the destination values. | |
static void JUCE_CALLTYPE | add (FloatType *dest, const FloatType *src, FloatType amount, CountType numValues) noexcept |
Adds a fixed value to each source value and stores it in the destination array. | |
static void JUCE_CALLTYPE | add (FloatType *dest, const FloatType *src, CountType numValues) noexcept |
Adds the source values to the destination values. | |
static void JUCE_CALLTYPE | add (FloatType *dest, const FloatType *src1, const FloatType *src2, CountType num) noexcept |
Adds each source1 value to the corresponding source2 value and stores the result in the destination array. | |
static void JUCE_CALLTYPE | subtract (FloatType *dest, const FloatType *src, CountType numValues) noexcept |
Subtracts the source values from the destination values. | |
static void JUCE_CALLTYPE | subtract (FloatType *dest, const FloatType *src1, const FloatType *src2, CountType num) noexcept |
Subtracts each source2 value from the corresponding source1 value and stores the result in the destination array. | |
static void JUCE_CALLTYPE | addWithMultiply (FloatType *dest, const FloatType *src, FloatType multiplier, CountType numValues) noexcept |
Multiplies each source value by the given multiplier, then adds it to the destination value. | |
static void JUCE_CALLTYPE | addWithMultiply (FloatType *dest, const FloatType *src1, const FloatType *src2, CountType num) noexcept |
Multiplies each source1 value by the corresponding source2 value, then adds it to the destination value. | |
static void JUCE_CALLTYPE | subtractWithMultiply (FloatType *dest, const FloatType *src, FloatType multiplier, CountType numValues) noexcept |
Multiplies each source value by the given multiplier, then subtracts it to the destination value. | |
static void JUCE_CALLTYPE | subtractWithMultiply (FloatType *dest, const FloatType *src1, const FloatType *src2, CountType num) noexcept |
Multiplies each source1 value by the corresponding source2 value, then subtracts it to the destination value. | |
static void JUCE_CALLTYPE | multiply (FloatType *dest, const FloatType *src, CountType numValues) noexcept |
Multiplies the destination values by the source values. | |
static void JUCE_CALLTYPE | multiply (FloatType *dest, const FloatType *src1, const FloatType *src2, CountType numValues) noexcept |
Multiplies each source1 value by the corresponding source2 value, then stores it in the destination array. | |
static void JUCE_CALLTYPE | multiply (FloatType *dest, FloatType multiplier, CountType numValues) noexcept |
Multiplies each of the destination values by a fixed multiplier. | |
static void JUCE_CALLTYPE | multiply (FloatType *dest, const FloatType *src, FloatType multiplier, CountType num) noexcept |
Multiplies each of the source values by a fixed multiplier and stores the result in the destination array. | |
static void JUCE_CALLTYPE | negate (FloatType *dest, const FloatType *src, CountType numValues) noexcept |
Copies a source vector to a destination, negating each value. | |
static void JUCE_CALLTYPE | abs (FloatType *dest, const FloatType *src, CountType numValues) noexcept |
Copies a source vector to a destination, taking the absolute of each value. | |
static void JUCE_CALLTYPE | min (FloatType *dest, const FloatType *src, FloatType comp, CountType num) noexcept |
Each element of dest will be the minimum of the corresponding element of the source array and the given comp value. | |
static void JUCE_CALLTYPE | min (FloatType *dest, const FloatType *src1, const FloatType *src2, CountType num) noexcept |
Each element of dest will be the minimum of the corresponding source1 and source2 values. | |
static void JUCE_CALLTYPE | max (FloatType *dest, const FloatType *src, FloatType comp, CountType num) noexcept |
Each element of dest will be the maximum of the corresponding element of the source array and the given comp value. | |
static void JUCE_CALLTYPE | max (FloatType *dest, const FloatType *src1, const FloatType *src2, CountType num) noexcept |
Each element of dest will be the maximum of the corresponding source1 and source2 values. | |
static void JUCE_CALLTYPE | clip (FloatType *dest, const FloatType *src, FloatType low, FloatType high, CountType num) noexcept |
Each element of dest is calculated by hard clipping the corresponding src element so that it is in the range specified by the arguments low and high. | |
static Range< FloatType > JUCE_CALLTYPE | findMinAndMax (const FloatType *src, CountType numValues) noexcept |
Finds the minimum and maximum values in the given array. | |
static FloatType JUCE_CALLTYPE | findMinimum (const FloatType *src, CountType numValues) noexcept |
Finds the minimum value in the given array. | |
static FloatType JUCE_CALLTYPE | findMaximum (const FloatType *src, CountType numValues) noexcept |
Finds the maximum value in the given array. | |
A collection of simple vector operations on arrays of floating point numbers, accelerated with SIMD instructions where possible, usually accessed from the FloatVectorOperations class.
|
staticnoexcept |
Clears a vector of floating point numbers.
References JUCE_CALLTYPE.
|
staticnoexcept |
Copies a repeated value into a vector of floating point numbers.
References JUCE_CALLTYPE.
|
staticnoexcept |
Copies a vector of floating point numbers.
References JUCE_CALLTYPE.
|
staticnoexcept |
Copies a vector of floating point numbers, multiplying each value by a given multiplier.
References JUCE_CALLTYPE.
|
staticnoexcept |
Adds a fixed value to the destination values.
References JUCE_CALLTYPE.
|
staticnoexcept |
Adds a fixed value to each source value and stores it in the destination array.
References JUCE_CALLTYPE.
|
staticnoexcept |
Adds the source values to the destination values.
References JUCE_CALLTYPE.
|
staticnoexcept |
Adds each source1 value to the corresponding source2 value and stores the result in the destination array.
References JUCE_CALLTYPE.
|
staticnoexcept |
Subtracts the source values from the destination values.
References JUCE_CALLTYPE.
|
staticnoexcept |
Subtracts each source2 value from the corresponding source1 value and stores the result in the destination array.
References JUCE_CALLTYPE.
|
staticnoexcept |
Multiplies each source value by the given multiplier, then adds it to the destination value.
References JUCE_CALLTYPE.
|
staticnoexcept |
Multiplies each source1 value by the corresponding source2 value, then adds it to the destination value.
References JUCE_CALLTYPE.
|
staticnoexcept |
Multiplies each source value by the given multiplier, then subtracts it to the destination value.
References JUCE_CALLTYPE.
|
staticnoexcept |
Multiplies each source1 value by the corresponding source2 value, then subtracts it to the destination value.
References JUCE_CALLTYPE.
|
staticnoexcept |
Multiplies the destination values by the source values.
References JUCE_CALLTYPE.
|
staticnoexcept |
Multiplies each source1 value by the corresponding source2 value, then stores it in the destination array.
References JUCE_CALLTYPE.
|
staticnoexcept |
Multiplies each of the destination values by a fixed multiplier.
References JUCE_CALLTYPE.
|
staticnoexcept |
Multiplies each of the source values by a fixed multiplier and stores the result in the destination array.
References JUCE_CALLTYPE.
|
staticnoexcept |
Copies a source vector to a destination, negating each value.
References JUCE_CALLTYPE.
|
staticnoexcept |
Copies a source vector to a destination, taking the absolute of each value.
References JUCE_CALLTYPE.
|
staticnoexcept |
Each element of dest will be the minimum of the corresponding element of the source array and the given comp value.
References JUCE_CALLTYPE.
|
staticnoexcept |
Each element of dest will be the minimum of the corresponding source1 and source2 values.
References JUCE_CALLTYPE.
|
staticnoexcept |
Each element of dest will be the maximum of the corresponding element of the source array and the given comp value.
References JUCE_CALLTYPE.
|
staticnoexcept |
Each element of dest will be the maximum of the corresponding source1 and source2 values.
References JUCE_CALLTYPE.
|
staticnoexcept |
Each element of dest is calculated by hard clipping the corresponding src element so that it is in the range specified by the arguments low and high.
References JUCE_CALLTYPE.
|
staticnoexcept |
Finds the minimum and maximum values in the given array.
References JUCE_CALLTYPE.
|
staticnoexcept |
Finds the minimum value in the given array.
References JUCE_CALLTYPE.
|
staticnoexcept |
Finds the maximum value in the given array.
References JUCE_CALLTYPE.