All Symbols¶
A¶
variablebiquad_section<T>::a0 Denominator coefficient z^0variablebiquad_section<T>::a1 Denominator coefficient z^-1variableiir_params<T, filters>::a1 Denominator coefficient z^-1 per section.variablebiquad_section<T>::a2 Denominator coefficient z^-2variableiir_params<T, filters>::a2 Denominator coefficient z^-2 per section.enum constantaudiofile_error::abort Operation abortedfunctionhistogram_data<Bins, TCount>::above() Returns the count of values that fell above the histogram range.functionabs(const T1 &) Returns the absolute value of x.functionabs(E1 &&) Creates an expression that returns the absolute value ofx.functionabsmax(const T1 &, const T2 &) Returns the greater in magnitude of two values.functionabsmax(E1 &&, E2 &&) Creates an expression that returns the greater in magnitude ofxandy.functionabsmaxof(const E1 &) Returns the greatest in magnitude of all the elements in x.functionabsmin(const T1 &, const T2 &) Returns the smaller in magnitude of two values.functionabsmin(E1 &&, E2 &&) Creates an expression that returns the smaller in magnitude ofxandy.functionabsminof(const E1 &) Returns the smallest in magnitude of all the elements in x.functioncompiletime::abs(T) Compile-time absolute value.classabstract_reader<T> Base class for all typed readersclassabstract_stream<T> Base class for all typed readers and writerdestructorabstract_stream<T>::~abstract_stream<T>()classabstract_vector<T, Tag> Generic 2D/3D container ofunivectorrows, parameterized by the row storage tag.classabstract_vector<T, tag_array_ref> Specialization ofabstract_vectorthat only holds a non-owning reference to external data.classabstract_vector<T, tag_dynamic_vector> Specialization ofabstract_vectorbacked by a dynamically sizedstd::vectorusing KFR'sdata_allocator.classabstract_writer<T> Base class for all typed writersenum constantaudiofile_error::access_denied Access to the file was deniedfunctiontensor<T, NDims>::access(const shape_type &) Returns a reference to the element atindices.functionacos(const T1 &) Returns the arc cosine of x. The returned angle is in the range 0 through \(\pi\) .functionacos(E1 &&) Creates an expression that returns the arc cosine of x.functionshape<Dims>::adapt(const shape<indims> &, cbool_t<stop>) Adapt a higher-rank shape to the current rank for indexing.functionshape<0>::adapt(const shape<odims> &, cbool_t<stop>) Adapt any shape to a scalar; always returns the empty shape.functionshape<Dims>::add_at(index_t, cval_t<index_t, Axis>) Addvalueto the axis selected by the template parameter.functionshape<Dims>::add_shape_undef(const shape<dims> &, const shape<dims> &) Variant ofadd_shapethat also propagatesundefined_size.functionshape<Dims>::add_shape(const shape<dims> &, const shape<dims> &) Combine two shapes using the broadcasting rulemax(max(x,y), x + y).functionshape<Dims>::add(const shape<dims> &) Element-wise addition of two shapes.functionadd(const T &) Identity add (single argument).functionadd(const T1 &, const T2 &, const Ts &...) Returns sum of all the arguments passed to a function.functionadd(E &&...) Creates an expression that returns the sum of all the arguments passed to a function.functionshape<Dims>::add(index_t) Addvalueto the last axis.functionadd(initialvalue<T>) Identity element foradd(returns zero).functionaddsub(const vec<T, N> &, const vec<T, N> &) Returns a vector witha+bin the low half anda-bin the high half.functionadjacent(Fn &&, E1 &&) Creates an expression that returns the result of calling \(fn(x_i, x_{i-1})\) .functionadvance(T *, ptrdiff_t)functionadvance(void *, ptrdiff_t)enum constantaudiofile_container::aiffstructaiff_decoding_options Options for decoding AIFF audio files.structaiff_encoding_options Represents options for AIFF audio encoding.enum constantaudiofile_codec::alacfunctionalign_down(T *, size_t)functionalign_down(T, std::type_identity_t<T>)functionalign_up(T *, size_t)functionalign_up(T, std::type_identity_t<T>)functionaligned_allocate(size_t) Allocates aligned memoryfunctionaligned_allocate(size_t, size_t) Allocates aligned memoryfunctionaligned_deallocate(T *) Deallocates aligned memorystructaligned_newvariabledft_plan<T>::all_stages Internal data.functionall(const mask<T, N> &) Returns true if all elements are true.functiontensor<T, NDims>::allocate(size_t) Allocates aligned memory forsizeelements.functiondata_allocator<T>::allocate(size_type)functionspecial_scalar_constants<T>::allones() Returns a value with all bits set.functionspecial_scalar_constants<float>::allones() Returns a floating-point value with all bits set.functionspecial_scalar_constants<double>::allones() Returns a floating-point value with all bits set.functionspecial_scalar_constants<bit<T>>::allones() All bits set (true).functionallonesvector() Return a vector of the given type and size with all bits set to 1.functionallonesvector(vec_shape<T, N>) Return a vector matching the given shape with all bits set to 1.functionallonesvector(vec<T, N>) Return a vector matching the type of the given vector with all bits set to 1.functionspecial_scalar_constants<T>::allzeros() Returns a value with all bits cleared.functionspecial_scalar_constants<float>::allzeros() Returns positive zero, whose bits are all cleared.functionspecial_scalar_constants<double>::allzeros() Returns positive zero, whose bits are all cleared.functionspecial_scalar_constants<bit<T>>::allzeros() All bits cleared (false).variablegenerator_expj<T, VecWidth>::alphavariablegenerator_cossin<T, VecWidth>::alphavariablegenerator_sin<T, VecWidth>::alphafunctionamp_to_dB(const T1 &) Convert an amplitude value to decibels (20*log10).functionamp_to_dB(E1 &&) Convert an amplitude expression to decibels (20*log10).unionvec<T, N>::(Anonymous union at simd/vec.hpp:831:5)functionany(const mask<T, N> &) Returns true if any element is true.enum constantopen_file_mode::append_existingfunctionaudio_data<IsInterleaved>::append(const audio_data<IsInterleaved> &) Appends samples from a buffer with the opposite layout.functionfilter<T>::apply_zeros(T (&)[Size]) Feeds zero-valued samples to the filter and writes its tail to a fixed-size C array.functionfilter<T>::apply_zeros(T *, size_t) Feedssizezero-valued samples to the filter and writes the resulting tail.functionfilter<T>::apply_zeros(univector<T, Tag> &) Feeds zero-valued samples to the filter and writes its tail to a univector.functionapply(Fn &&) Generate a vector by calling a nullary functionNtimes.functionapply(Fn &&, const T &, Args &&...) Apply a function to a scalar (pass-through overload).functionapply(Fn &&, const vec<T, N> &, Args &&...) Apply a scalar function element-wise to a vector.functionfilter<T>::apply(T *, const expression_handle<T, 1> &, size_t) Evaluatessrcinto a raw destination buffer through the filter.functionfilter<T>::apply(T *, const Expr &, size_t) Evaluates the 1-dimensional expressionsrcinto a raw destination buffer through the filter.functionfilter<T>::apply(T *, const T *, size_t) Applies the filter to a raw buffer and writes the result to another buffer.functionfilter<T>::apply(T (&)[Size]) Applies the filter in-place to a fixed-size C array.functionfilter<T>::apply(T *, size_t) Applies the filter in-place to a raw buffer.functionfilter<T>::apply(T (&)[Size], T (&)[Size]) Applies the filter to a fixed-size C array and writes the result to another array.functionfilter<T>::apply(univector<T, Tag> &) Applies the filter in-place to a univector.functionfilter<T>::apply(univector<T, Tag1> &, const univector<T, Tag2> &) Applies the filter to a univector and writes the result to another univector.functionfilter<T>::apply(univector<T, Tag> &, const Expr &) Evaluates the 1-dimensional expressionsrcintodestthrough the filter.functionfilter<T>::apply(univector<T, Tag> &, const expression_handle<T, 1> &) Evaluatessrcintodestthrough the filter.functionarange(T, cbool_t<truncated>) Creates an expression that returns integer values spanning[0, stop)with step 1.functionarange(T, T, T, cbool_t<truncated>) Creates an expression that returns values spanning[start, stop)with the given step.variabledft_plan<T>::arblen True if Bluestein's FFT algorithm is selected.typedefarg Alias that decays numeric/boolean argument types while preserving expression types unchanged.variableexpression_window_with_metrics<T, metrics>::argvariableexpression_with_arguments<Args>::args Tuple holding all arguments.variableexpression_with_arguments<Arg>::args Tuple holding the single argument.typedefexpression_traits<expression_slice<Arg>>::ArgTraitstypedefexpression_traits<expression_cast<T, Arg>>::ArgTraitstypedefexpression_padded<Arg>::ArgTraitstypedefexpression_traits<expression_padded<Arg>>::ArgTraitstypedefexpression_reverse<Arg>::ArgTraitstypedefexpression_traits<expression_reverse<Arg>>::ArgTraitstypedefexpression_fixshape<Arg, Shape>::ArgTraitstypedefexpression_traits<expression_fixshape<Arg, fixed_shape_t<ShapeValues...>>>::ArgTraitstypedefexpression_reshape<Arg, OutDims>::ArgTraitstypedefexpression_traits<expression_reshape<Arg, OutDims>>::ArgTraitstypedefexpression_delay<delay, E, stateless, STag>::ArgTraitstypedefexpression_delay<1, E, stateless, STag>::ArgTraitstypedefexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>::ArgTraits1typedefexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>::ArgTraits2enum constantspeaker_arrangement::Arr102 L, R, C, Lfe, Ls, Rs, Lc, Rc, Tfl, Tfr, Trl, Trr (10.2).enum constantspeaker_arrangement::Arr50 L, R, C, Ls, Rs (5.0).enum constantspeaker_arrangement::Arr51 L, R, C, Lfe, Ls, Rs (5.1).functionarrangement_for_channels(size_t) Returns a predefined speaker arrangement for a given number of channels.functionarrangement_speakers(speaker_arrangement) Returns the canonical channel list for a speaker arrangement.functioncvals_t<T, values>::array() Pointer to a static array holding all valuesfunctioncvals_t<T>::array() Pointer to the (empty) array (always nullptr)classarray_ref<T> Reference to arrayconstructorarray_ref<T>::array_ref<T>()constructorarray_ref<T>::array_ref<T>(array_ref<T> &&)constructorarray_ref<T>::array_ref<T>(const array_ref<T> &)functionarray_ref<T>::array_ref<T>(Container &&)constructorarray_ref<T>::array_ref<T>(std::initializer_list<T>)constructorarray_ref<T>::array_ref<T>(T *, size_type)functionarray_to_string(const std::array<size_t, Dims> &, Getter &&, int, int, std::string_view, std::string_view, std::string_view) Render a multi-dimensional array as a nested, brace-delimited string.functionarray_to_string(size_t, Getter &&, int, int, std::string_view, std::string_view, std::string_view) Convenience overload ofarray_to_stringfor a one-dimensional array accessed through a getter callable.functionarray_to_string(size_t, T *, int, int, std::string_view, std::string_view, std::string_view) Convenience overload ofarray_to_stringfor a raw pointer buffer.functioni24::as_int() Reconstructs the signed 32-bit value, sign-extending from bit 23.functionas_string(const Args &...) Convert arbitrary values to astd::stringusing KFR's built-in formatting.functionasin(const T1 &) Returns the arc sine of x. The returned angle is in the range \(-\pi/2\) through \(\pi/2\) .functionasin(E1 &&) Creates an expression that returns the arc sine of x.functionvec<T, N>::asmask() Reinterpret the bits as a mask of the same shape.macroASSERTfunctionassertion_failed(const std::string &, const char *, int) Prints a failed assertion tostderr.functionunivector_base<T, Class, true>::assign_expr(Input &&) Evaluatesinputand writes the result into the derived vector.functionsmall_buffer<T, Capacity>::assign(const small_buffer<T, Capacity> &) Replaces the contents with a copy ofother.functiontensor<T, NDims>::assign(const T &) Fills the tensor with a scalar value.functiontensor<T, NDims>::assign(const tensor<T, NDims> &) Copies the contents ofsrcinto this tensor. Both tensors must have the same shape.functiontensor<T, NDims>::astype() Returns a tensor with elements converted to typeU.functionvec<T, N>::asvec() Reinterpret a mask vector as a value vector (drops thebitwrapper).functionatan2(const T1 &, const T2 &) Returns the arc tangent of y/x using the signs of both arguments to determine the correct quadrant. The result is in the range \([-\pi, \pi]\) .functionatan2deg(const T1 &, const T2 &) Returns the arc tangent of y/x (expressed in degrees) using the signs of both arguments to determine the correct quadrant. The result is in the range [-180, 180].functionatan2deg(E1 &&, E2 &&) Creates an expression that returns the arc tangent of y/x (expressed in degrees).functionatan2(E1 &&, E2 &&) Creates an expression that returns the arc tangent of y/x.functionatan(const T1 &) Returns the arc tangent of x. The returned angle is in the range \(-\pi/2\) through \(\pi/2\) .functionatandeg(const T1 &) Returns the arc tangent of x, expressed in degrees. The returned angle is in the range -90 through 90.functionatandeg(E1 &&) Creates an expression that returns the arc tangent of x, expressed in degrees.functionatan(E1 &&) Creates an expression that returns the arc tangent of x.functioncompound_type_traits<kfr::vec<T, N>>::at(const kfr::vec<T, N> &, size_t)functioncompound_type_traits<std::complex<T>>::at(const std::complex<T> &, size_t) Returns the real (index== 0) or imaginary (index== 1) part ofvalue.functioncompound_type_traits<std::pair<T, T>>::at(const std::pair<subtype, subtype> &, size_t)functioncompound_type_traits<T>::at(const T &, size_t)functioninline_vector<T, N>::at(size_type) Returns a const reference to the element atindexwith bounds checking.functioninline_vector<T, N>::at(size_type) Returns a reference to the element atindexwith bounds checking.typedefaudio_data_interleaved Alias for audio_data with interleaved storage.typedefaudio_data_planar Alias for audio_data with planar (non-interleaved) storage format.classaudio_data<IsInterleaved> Contiguous audio buffer with optional interleaving.constructoraudio_data<IsInterleaved>::audio_data<IsInterleaved>()constructoraudio_data<IsInterleaved>::audio_data<IsInterleaved>(audio_data<IsInterleaved> &&)constructoraudio_data<IsInterleaved>::audio_data<IsInterleaved>(const audio_data<!IsInterleaved> &) Converts between planar and interleaved layouts.constructoraudio_data<IsInterleaved>::audio_data<IsInterleaved>(fbase *, size_t, size_t) Constructs an interleaved audio_data view from an external buffer.functionaudio_data<IsInterleaved>::audio_data<IsInterleaved>(fbase *, size_t, size_t, Fn &&) Constructs an interleaved audio_data view from an external buffer with a custom deallocator.constructoraudio_data<IsInterleaved>::audio_data<IsInterleaved>(size_t, size_t) Constructs an audio_data buffer with the specified channel count and optional initial size.constructoraudio_data<IsInterleaved>::audio_data<IsInterleaved>(size_t, size_t, fbase) Constructs an audio buffer and initializes all samples to a constant value.constructoraudio_data<IsInterleaved>::audio_data<IsInterleaved>(std::span<fbase *const>, size_t) Constructs a planar audio_data view from external channel pointers.functionaudio_data<IsInterleaved>::audio_data<IsInterleaved>(std::span<fbase *const>, size_t, Fn &&) Constructs a planar audio_data view from external channel pointers with a custom deallocator.structaudio_decoder Abstract base class for audio decoders providing methods for opening and reading audio files.destructoraudio_decoder::~audio_decoder()constructoraudio_decoder::audio_decoder()structaudio_decoding_options Options for generic audio decoding.enumaudio_dithering Supported audio dithering methods.structaudio_dithering_state Represents the state of audio dithering.structaudio_encoder Abstract base class for audio encoders, providing methods for opening, writing, and closing audio files.destructoraudio_encoder::~audio_encoder() Destructor to close and finalize file encoding.structaudio_encoding_options Represents options for audio encoding, including dithering settings.structaudio_formatstructaudio_format_and_lengthconstructoraudio_format_and_length::audio_format_and_length()constructoraudio_format_and_length::audio_format_and_length(const audio_format &)structaudio_quantization Represents audio quantization parameters.constructoraudio_quantization::audio_quantization(int, audio_dithering) Constructs quantization parameters for the given bit depth and dithering method.structaudio_reader_flac<f32>structaudio_reader_flac<f64>structaudio_reader_flac<i16>structaudio_reader_flac<i24>structaudio_reader_flac<i32>classaudio_reader_flac<T> FLAC format readerdestructoraudio_reader_flac<T>::~audio_reader_flac<T>()constructoraudio_reader_flac<T>::audio_reader_flac<T>(std::shared_ptr<abstract_reader<>> &&) Constructs FLAC readerstructaudio_reader_mp3<f32>structaudio_reader_mp3<f64>structaudio_reader_mp3<i16>structaudio_reader_mp3<i24>structaudio_reader_mp3<i32>classaudio_reader_mp3<T> MP3 format readerdestructoraudio_reader_mp3<T>::~audio_reader_mp3<T>()constructoraudio_reader_mp3<T>::audio_reader_mp3<T>(std::shared_ptr<abstract_reader<>> &&) Constructs MP3 readerstructaudio_reader_wav<f32>structaudio_reader_wav<f64>structaudio_reader_wav<i16>structaudio_reader_wav<i24>structaudio_reader_wav<i32>classaudio_reader_wav<T> WAV format readerdestructoraudio_reader_wav<T>::~audio_reader_wav<T>()constructoraudio_reader_wav<T>::audio_reader_wav<T>(std::shared_ptr<abstract_reader<>> &&) Constructs WAV readerclassaudio_reader<T>conceptaudio_sample Concept matching the C++ types accepted as audio samples.functionaudio_sample_bit_depth(audio_sample_type) Returns the bit depth of the given audio sample type.structaudio_sample_get_type<audio_sample_type::f32>structaudio_sample_get_type<audio_sample_type::f64>structaudio_sample_get_type<audio_sample_type::i16>structaudio_sample_get_type<audio_sample_type::i24>structaudio_sample_get_type<audio_sample_type::i32>classaudio_sample_get_type<type> Maps an audio_sample_type enumerator to its native C++ type.functionaudio_sample_is_float(audio_sample_type) Reports whether the given sample type is floating point.functionaudio_sample_sizeof(audio_sample_type) Returns the storage size in bytes of a sample of the given type.structaudio_sample_traits<f32>structaudio_sample_traits<f64>structaudio_sample_traits<i16>structaudio_sample_traits<i24>structaudio_sample_traits<i32>classaudio_sample_traits<T> Compile-time properties of an audio sample C++ type.enumaudio_sample_type Identifies the numeric format of an audio sample.typedefaudio_sample_type_clist List of all supported audio sample types.structaudio_stat Represents audio statistics such as peak and RMS values.structaudio_writer_wav<f32>structaudio_writer_wav<f64>structaudio_writer_wav<i16>structaudio_writer_wav<i24>structaudio_writer_wav<i32>classaudio_writer_wav<T> WAV format writerdestructoraudio_writer_wav<T>::~audio_writer_wav<T>()constructoraudio_writer_wav<T>::audio_writer_wav<T>(std::shared_ptr<abstract_writer<>> &&, const audio_format &) Constructs WAV writer using target writer and formatclassaudio_writer<T>variableaudio_writing_software Software string to write into metadata, if supported by formatenumaudiofile_codec Supported audio file codecs.enumaudiofile_container Supported audio file container formats.functionaudiofile_container_from_extension(std::string_view) Determines the audio container type from a file extension.enumaudiofile_endianness Endianness of audio data.enumaudiofile_error Enumerates possible error codes for audio file operations.structaudiofile_format Represents the format of an audio file.typedefaudiofile_header Represents a fixed-size audio file header.classautocast_impl<Tfrom> Helper returned byautocastthat converts to any type viastatic_cast.functionautocast(const Tfrom &)functionautocorrelate(const univector<T, Tag1> &) Computes the auto-correlation of a real or complex signal.classautofree<T> Smart pointer for aligned memory with automatic deallocation.constructorautofree<T>::autofree<T>() Default constructor.constructorautofree<T>::autofree<T>(autofree<T> &&)constructorautofree<T>::autofree<T>(const autofree<T> &)constructorautofree<T>::autofree<T>(size_t) Allocates aligned memory for given size.enum constantcpu_t::avxenum constantcpu_t::avx1enum constantcpu_t::avx2enum constantcpu_t::avx512functionaweighting(const T1 &) A-weighting filter response for a scalar frequency.functionaweighting(E1 &&) A-weighting filter response as an expression.variableaxis_params<Axis, N>::axis The axis index.variableaxis_params_v Inline variable form ofaxis_paramsfor use in expressions.classaxis_params<Axis, N> Compile-time axis descriptor used by SIMD tensor accessors.constructoraxis_params<Axis, N>::axis_params<Axis, N>() Default-construct an axis parameter object.
B¶
enum constantdatatype::bvariablebiquad_section<T>::b0 Numerator coefficient z^0variableiir_params<T, filters>::b0 Numerator coefficient z^0 per section.variablebiquad_section<T>::b1 Numerator coefficient z^-1variableiir_params<T, filters>::b1 Numerator coefficient z^-1 per section.variablebiquad_section<T>::b2 Numerator coefficient z^-2variableiir_params<T, filters>::b2 Numerator coefficient z^-2 per section.typedefb8 Short names for common typesenum constantdatatype::b8functioncvals_t<T, values>::back() Returns the last valuefunctionportable_vec<T, N>::back()functionportable_vec<T, N>::back()functionvec<T, N>::back() Read the last element from a const lvalue vector.functionvec<T, N>::back() Read the last element from an rvalue vector.functionvec<T, N>::back() Access the last element of a non-const lvalue vector.functionexpression_counter<T, Dims>::back()functionarray_ref<T>::back()functioninline_vector<T, N>::back() Returns a reference to the last element.functioninline_vector<T, N>::back() Returns a const reference to the last element.functionsmall_buffer<T, Capacity>::back()functionsmall_buffer<T, Capacity>::back()enum constantbiquad_type::bandpass Passes frequencies inside a band.enum constantbiquad_type::bandstop Rejects frequencies inside a band.enum constantwindow_type::bartlettenum constantwindow_type::bartlett_hanntypedefshape<Dims>::base Underlying static array storing oneindex_tper axis.typedefiir_params<T, tag_dynamic_vector>::basetypedefstride_pointer<T, groupsize>::base_typefunctioncvals_t<T, values>::begin() Iterator to the first valuefunctionarray_ref<T>::begin()functioninline_vector<T, N>::begin() Returns an iterator to the first element.functioninline_vector<T, N>::begin() Returns a const iterator to the first element.functiontensor<T, NDims>::begin() Returns an iterator to the first element.functionsmall_buffer<T, Capacity>::begin()functionsmall_buffer<T, Capacity>::begin()functionrange<T>::begin()enum constantseek_origin::begin From the beginningfunctionbegin_pass(const expression_handle<T, NDims> &, shape<NDims>, shape<NDims>) Internal ADL-provided implementation forexpression_handleexpressions.functionbegin_pass(const expression_iir<1, T, E1, Stateless> &, shape<1>, shape<1>) Internal ADL-provided implementation forfunctionbegin_pass(const expression_iir<filters, T, E1, Stateless> &, shape<1>, shape<1>) Internal ADL-provided implementation forfunctionbegin_pass(const expression_with_arguments<Args...> &, shape<Dims>, shape<Dims>) Notifies all arguments of anexpression_with_argumentsthat a pass is beginning.functionbegin_pass(const internal_generic::anything &, shape<Dims>, shape<Dims>) No-op pass begin/end hooks for theanythingplaceholder type.functionhistogram_data<Bins, TCount>::below() Returns the count of values that fell below the histogram range.functionbessel(int) Analog Bessel/Thomson lowpass filter prototype (normalized cutoff = 1 rad/s).variablegenerator_expj<T, VecWidth>::betavariablegenerator_cossin<T, VecWidth>::betavariablegenerator_sin<T, VecWidth>::betaenum constantaudiofile_endianness::bigfunctiontensor<T, NDims>::binary_inplace(const tensor<U, dims> &, Fn &&) Applies a binary function element-wise withrhsin place.typedefbinary_reader Binary readertypedefbinary_writer Binary writerfunctiontensor<T, NDims>::binary(const tensor<U, dims> &, Fn &&) Applies a binary function element-wise withrhsand returns the resulting tensor.functionbind_expression(Fn &&, Args &&...) Constructs anexpression_functionfrom a callable and arguments.functionbind_func(Fn &&, Args &&...)functionbiquad_allpass(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the all-pass biquad filterfunctionbiquad_bandpass(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the band-pass biquad filterfunctionbiquad_highpass(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the high-pass biquad filterfunctionbiquad_highshelf(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the high-shelf biquad filterfunctionbiquad_lowpass(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the low-pass biquad filterfunctionbiquad_lowshelf(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the low-shelf biquad filterfunctionbiquad_notch(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the notch biquad filterfunctionbiquad_peak(std::type_identity_t<T>, std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the peak biquad filterclassbiquad_section<T> Structure for holding biquad filter coefficients.constructorbiquad_section<T>::biquad_section<T>() Default constructor: produces a pass-through section (a0=b0=1, rest 0).functionbiquad_section<T>::biquad_section<T>(const biquad_section<U> &) Converting copy constructor.constructorbiquad_section<T>::biquad_section<T>(T, T, T, T, T, T) Construct from explicit coefficient values.classbiquad_state<T, filters> Per-section delay-line state for a cascade offiltersbiquad sections.constructorbiquad_state<T, filters>::biquad_state<T, filters>() Default constructor: zero-initializes all registers.enumbiquad_type Type of biquad filter response used by coefficient design helpers.variableaudiofile_format::bit_depth Bits per sample.functionbitcast_anything(const Tin &)functionbitcast(const From &) Reinterpret the bits ofvalueas typeTo.functionbitcast(const vec<From, N> &) Reinterpret the bits of a vector as a vector of a different element type.classbitmask<bits> Holds an unsigned integer wide enough to storebitsbits.constructorbitmask<bits>::bitmask<bits>(type) Construct from a value of the underlying type.functionbitness_const(const char *, const char *) Selects between 32-bit and 64-bit compile-time constants.functionbitness_const(const T &, const T &) Selects between 32-bit and 64-bit compile-time constants.functionbitpermute(const vec<T, N> &) Permute the elements of a vector according to a bit permutation.functionbitreverse(const vec<T, N> &) Reorders the elements of a vector by reversing the bits of their indices.functionbitreverse(u32) Reverses the lowestbitsbits of the given unsigned integer.functionbitreverse(u32, size_t) Reverses the lowestbitsbits of the given unsigned integer at runtime.variabletypebits<T>::bitstypedefdft_plan<T>::bitsetclassbit<T> Boolean value stored as a mask of typeT(all-ones for true, all-zeros for false).constructorbit<T>::bit<T>() Default constructor leaving the value uninitialized.constructorbit<T>::bit<T>(bool) Construct from a bool, storing all-ones or all-zeros.functionbit<T>::bit<T>(const bit<U> &) Convert a bit of another element type to this one.constructorbit<T>::bit<T>(T)functionbitwiseand(const T1 &, const T2 &) Bitwise AND ofxandy.functionbitwiseand(double, double)functionbitwiseand(float, float)functionbitwiseand(initialvalue<T>) Identity element forbitwiseand(returns all ones).functionbitwiseandnot(const T1 &, const T2 &) Bitwise AND-NOT ofxandy.functionbitwiseandnot(double, double)functionbitwiseandnot(float, float)functionbitwiseandnot(initialvalue<T>) Identity element forbitwiseandnot(returns all ones).functionbitwisenot(const T1 &) Bitwise NOT ofx.functionbitwisenot(double)functionbitwisenot(float)functionbitwiseor(const T1 &, const T2 &) Bitwise OR ofxandy.functionbitwiseor(double, double)functionbitwiseor(float, float)functionbitwiseor(initialvalue<T>) Identity element forbitwiseor(returns zero).functionbitwisexor(const T1 &, const T2 &) Bitwise XOR (exclusive OR) ofxandy.functionbitwisexor(double, double)functionbitwisexor(float, float)functionbitwisexor(initialvalue<T>) Identity element forbitwisexor(returns zero).enum constantwindow_type::blackmanenum constantwindow_type::blackman_harrisfunctionblend(const vec<T, N> &, const vec<T, N> &, elements_t<Indices...>) Blends lanes fromxandyaccording to a repeating selector pattern.variableiir_state<T, filters>::block_end End index of the current processing block.functionblock_process(size_t, csizes_t<widths...>, Fn &&) Processes a range using a sequence of decreasing block widths.variableconvolve_filter<T>::block_sizevariabledft_stage<T>::blocks Number of independent blocks processed by the stage.enum constantwindow_type::bohmanenum constantdft_type::both Both direct and inverse transforms.functionbroadcast(const Ts &...) Broadcasts a pack of scalar values into a vector of lengthNout.functionbroadcast(T) Broadcast a scalar to allNelements of a vector.functionbroadcastto(const From &) Broadcast-cast a scalar toTo(deep rebind).functionbroadcastto(const vec<Tin, N> &) Broadcast-cast a vector to a different element type.functionbroadcastto(const vec<Tin, N> &) Identity broadcast-cast for a vector (same element type).functionbroadcastto(const vec<vec<Tin, N1>, N2> &) Broadcast-cast a nested vector to a different element type.functionbroadcastto(const vec<vec<Tin, N1>, N2> &) Identity broadcast-cast for a nested vector (same element type).functionbuild_fmt_str(cchars_t<'@', chars...>, ctypes_t<Arg, Args...>) Build a compile-time format string: replace the leading'@'with the specifier forArgand recurse on the remaining arguments.functionbuild_fmt_str(cchars_t<ch, chars...>, ctypes_t<Args...>) Build a compile-time format string: copy a literal character and recurse.functionbuild_fmt_str(cchars_t<>, ctypes_t<>) Build a compile-time printf format string from a literal template and argument types.functionbutterworth(int) Analog Butterworth lowpass filter prototype (normalized cutoff = 1 rad/s).enum constantaudiofile_container::bw64 BW64 as per EBU Tech 3285 v2 (no metadata support yet)functionbweighting(const T1 &) B-weighting filter response for a scalar frequency.functionbweighting(E1 &&) B-weighting filter response as an expression.typedefbyte_reader Byte readertypedefbyte_writer Byte writerfunctionaudiofile_format::bytes_per_pcm_frame()
C¶
variablespecial_value::c Active variant tagenum constantdatatype::cenum constantspeaker_type::C Alias for Center.enum constantdatatype::c32typedefc32 Alias for complex<f32>enum constantdatatype::c64typedefc64 Alias for complex<f64>variablec_degtorad Degrees to radians conversion factor (π / 180).variablec_e The mathematical constant e (Euler's number), scaled by m/d.variablec_epsilon The machine epsilon — the smallest value such that 1 + epsilon ≠1.variablec_infinity Positive infinity representation.variablec_log_10 The natural logarithm of 10 (ln(10)).variablec_log_2 The natural logarithm of 2 (ln(2)).variablec_mantissa_bits The number of mantissa bits for the given floating-point type.variablec_mantissa_mask The bitmask for the mantissa of the floating-point representation.variablec_neginfinity Negative infinity representation.variablec_pi The mathematical constant π (pi), scaled by m/d.variablec_qnan A quiet NaN (Not-a-Number) value.variablec_radtodeg Radians to degrees conversion factor (180 / π).variablec_recip_log_10 The reciprocal of the natural logarithm of 10 (1 / ln(10)).variablec_recip_log_2 The reciprocal of the natural logarithm of 2 (1 / ln(2)).variablec_recip_pi The reciprocal of π (1/π), scaled by m/d.variablec_sqr_pi The square of π (pi²), scaled by m/d.variablec_sqrt_2 The square root of 2 (√2), scaled by m/d.functioncstring<N>::c_str()functioncabs(const T1 &) Returns the absolute value (magnitude) of the complex number xfunctioncabs(E1 &&) Creates an expression that returns the absolute value (magnitude) of the complex number x.functioncabssqr(const T1 &) Returns the squared absolute value (magnitude squared) of the complex number xfunctioncabssqr(E1 &&) Creates an expression that returns the squared absolute value (magnitude squared) of the complex number x.enum constantaudiofile_container::caf Apple CAFstructcaff_decoding_options Options for decoding CAFF audio files.structcaff_encoding_options Represents options for CAFF audio encoding.functiondft_plan<T>::calc_disposition() Internal functionfunctiontensor<T, NDims>::calc_index(const shape_type &) Computes the linear offset of the element atindicesusing the tensor's strides.functionwindow_linspace<T>::calc_p2(size_t, bool)functionwindow_linspace<T>::calc_p(size_t, bool)variablecaligned Instance of caligned_t.typedefcaligned_t Compile-time boolean tag selecting aligned access.functioncall_with_temp(size_t, Fn &&) Calls a function with a temporary buffer, allocated on the stack if small enough, otherwise on the heap.variabledft_stage<T>::can_inplace Whether the stage can operate in-place.enum constantnpy_decode_result::cannot_read Failed to read data or headervariableaudio_data<IsInterleaved>::capacity Allocated capacity per channel.functioncarg(const T1 &) Returns the phase angle (argument) of the complex number xfunctioncarg(E1 &&) Creates an expression that returns the phase angle (argument) of the complex number x.functioncartesian(const T1 &) Converts a complex number from polar to cartesian representationfunctioncartesian(E1 &&) Creates an expression that converts a complex number to cartesian form.functioncast(Arg &&) Creates an expression that converts the values ofargto typeT.functioncast(Arg &&, ctype_t<T>) Creates an expression that converts the values ofargto typeT.functioncast(const From &) Cast a scalar value toTo(deep rebind).functioncast(const vec<Tin, N> &) Cast a vector to a different element type.functioncast(const vec<Tin, N> &) Identity cast for a vector (same element type).functioncast(const vec<vec<Tin, N1>, N2> &) Cast a nested vector to a different element type.functioncast(const vec<vec<Tin, N1>, N2> &) Identity cast for a nested vector (same element type).functioncatmullrom(M, T, T, T, T) Catmull-Rom spline interpolation.typedefcbase Alias for complex<fbase>functionarray_ref<T>::cbegin()functioninline_vector<T, N>::cbegin() Returns a const iterator to the first element.functionsmall_buffer<T, Capacity>::cbegin()variablecbooltypedefcbool_t Compile-time boolean constantvariablecbools Constant instance of cbools_t<vals...>typedefcbools_t Compile-time list of boolean valuesfunctioncbrt(const T1 &) Returns the cube root of x.functioncbrt(E1 &&) Creates an expression that returns the cube root of x.variablecchars Constant instance of cchars_t<vals...>typedefcchars_t Compile-time list of char valuesfunctionccomp(const vec<T, N> &) Composes a vector ofN/2complex values from a flattenedN-elementreal vector.functioncconcat(T1, Ts...) Returns a value of the concatenated list typefunctioncconj(const T1 &) Returns the complex conjugate of the complex number xfunctioncconj(E1 &&) Creates an expression that returns the complex conjugate of the complex numberx.functionccos(const T1 &) Returns the cosine of the complex number xfunctionccos(E1 &&) Creates an expression that returns the cosine of the complex value x.functionccosh(const T1 &) Returns the hyperbolic cosine of the complex number xfunctionccosh(E1 &&) Creates an expression that returns the hyperbolic cosine of the complex value x.variableccpu Compile-time constant instance ofccpu_t.typedefccpu_t Compile-time wrapper around acpu_tvalue.enum constantdft_pack_format::CCs Conjugate-symmetric format: {DC, 0}, X[1], X[2], ..., X[N/2-1], {Nyquist, 0} The number of complex samples isenum constant::KFR_DFT_PACK_FORMAT::CCs Conjugate-complex symmetric format (N/2 + 1 complex values).functioncdecom(const vec<complex<T>, N> &) Decomposes a vector ofNcomplex values into a flattened2N-elementreal vector.typedefcdirect_t Tag type selecting the direct (forward) DFT direction.functioncdupimag(const vec<complex<T>, N> &) Returns vector of complex values with imaginary part duplicatedfunctioncdupreal(const vec<complex<T>, N> &) Returns vector of complex values with real part duplicatedfunctionceil(const T1 &) Returns the smallest integer value not less thanx.functionceil(E1 &&) Creates an expression that returns the smallest integer value not less thanx.functionarray_ref<T>::cend()functioninline_vector<T, N>::cend() Returns a const iterator to one past the last element.functionsmall_buffer<T, Capacity>::cend()enum constantspeaker_type::Center Front center.functioncexp10(const T1 &) Returns 10 raised to the complex number xfunctioncexp10(E1 &&) Creates an expression that returns 10 raised to the complex number x.functioncexp2(const T1 &) Returns 2 raised to the complex number xfunctioncexp2(E1 &&) Creates an expression that returns 2 raised to the complex number x.functioncexp(const T1 &) Returns e raised to the complex number xfunctioncexp(E1 &&) Creates an expression that returns \(e\) raised to the complex number x.variablecfalse Constant instance of cfalse_ttypedefcfalse_t Compile-time false value typevariablecfalse_true Constant instance oftypedefcfilter_t Filters a cvals_t list, keeping only elements whose corresponding flag isfunctioncfilter(cvals_t<T, vals...>, cvals_t<bool, flags...>)functioncfind(cvals_t<T, values...>, std::type_identity_t<T>)classcfor_t<stop, start, conditional> Compile-time for loop helper that unrolls iteration over[start, stop).variablecfor_v Constant instance ofcfor_t<stop, start, conditional>used as the left-hand side ofKFR_FOR/KFR_FORC.functioncfor(cval_t<T, start>, cval_t<T, stop>, BodyFn &&)functioncforeach(A0 &&, A1 &&, A2 &&, A3 &&, Fn &&) Invokesfunctioncforeach(A0 &&, A1 &&, A2 &&, Fn &&) Invokesfunctioncforeach(A0 &&, A1 &&, Fn &&)functioncforeach(const std::tuple<Ts...> &, Fn &&)functioncforeach(ctypes_t<Ts...>, Fn &&)functioncforeach(cvals_t<T, values...>, Fn &&)functioncforeach(T &&, Fn &&)typedefchan Determines the channel type based on interleaving.functionaudio_data<IsInterleaved>::channel_count() Retrieves the number of audio channels.variableaudio_format::channelsvariableaudiofile_format::channels Number of channels.variableaudio_data<IsInterleaved>::channels Number of channels.functionaudio_data<IsInterleaved>::channel(size_t) Retrieves a reference to the audio data of a specific channel.typedefopencl_names::char16typedefopencl_names::char2typedefopencl_names::char3typedefopencl_names::char4typedefopencl_names::char8functionchebyshev1(int, double) Analog Chebyshev Type I lowpass filter prototype (normalized cutoff = 1 rad/s).functionchebyshev2(int, double) Analog Chebyshev Type II lowpass filter prototype (normalized cutoff = 1 rad/s).functioncheck_assertion(...) SFINAE fallback for non-comparison arguments.functioncheck_assertion(const comparison<Op, L, R> &, const char *, const char *, int) Evaluates a full comparison and reports it on failure.functioncheck_assertion(const half_comparison<L> &, const char *, const char *, int) Evaluates a half comparison (a bare boolean operand) and reports it on failure.functionchoose_const() Selects the constant of the specific type from a list of candidates. Returns the candidate whose type matchesT; triggers a static_assert ifTis not present.functionchoose_const_fallback(C1) Single-argument fallback: convertsfunctionchoose_const_fallback(C1, Cs...)functionchoose_const(C1, Cs...) Recursively skips candidates whose type does not matchfunctioncif(cbool_t<false>, TrueFn &&, FalseFn &&) Compile-time conditional: invokesfunctioncif(cbool_t<true>, TrueFn &&, FalseFn &&)variablecindex Variable template form ofcindex_t.typedefcindex_t Compile-time constant of typeindex_t.enum constantspeaker_arrangement::Cine30 L, R, C (cinema 3.0).enum constantspeaker_arrangement::Cine31 L, R, C, Lfe (cinema 3.1).enum constantspeaker_arrangement::Cine40 L, R, C, Cs (cinema 4.0).enum constantspeaker_arrangement::Cine41 L, R, C, Cs, Lfe (cinema 4.1).enum constantspeaker_arrangement::Cine60 L, R, C, Ls, Rs, Cs (cinema 6.0).enum constantspeaker_arrangement::Cine61 L, R, C, Lfe, Ls, Rs, Cs (cinema 6.1).enum constantspeaker_arrangement::Cine70 L, R, C, Ls, Rs, Lc, Rc (cinema 7.0).enum constantspeaker_arrangement::Cine71 L, R, C, Lfe, Ls, Rs, Lc, Rc (cinema 7.1).enum constantspeaker_arrangement::Cine80 L, R, C, Ls, Rs, Lc, Rc, Cs (cinema 8.0).enum constantspeaker_arrangement::Cine81 L, R, C, Lfe, Ls, Rs, Lc, Rc, Cs (cinema 8.1).variablecint Constant instance of cint_t<val>typedefcint_t Compile-time int constantvariablecintrange Constant instance of the int rangevariablecints Constant instance of cints_t<vals...>typedefcints_t Compile-time list of int valuesvariablecintseq Constant instance of an int sequence withtypedefcinvert_t Tag type selecting the inverse DFT direction.functionclamp(const T1 &, const T2 &) Returns the first argument clamped to a range [0, hi]functionclamp(const T1 &, const T2 &, const T3 &) Returns the first argument clamped to a range [lo, hi]functionclamp(E1 &&, E2 &&) Creates an expression that returns the first argument clamped to a range [0, hi]functionclamp(E1 &&, E2 &&, E3 &&) Creates an expression that returns the first argument clamped to a range [lo, hi]functionsmall_buffer<T, Capacity>::clear() Resets the buffer to zero elements, releasing any heap allocation.functiondft_cache_impl<int>::clear()functionaudio_data<IsInterleaved>::clear() Clears all audio data, leaving the container empty (size == 0).functionclock_elapsed(uint64_t) Returns the elapsed time in seconds sincestart_time,based onclock_now.functionclock_frequency() Returns the number of ticks per second for the clock used in clock_now().functionclock_now() Returns the current value of the OS's highest-resolution monotonic clock. On modern hardware, these typically map to hardware instructions (RDTSC/CNTVCT_EL0) via user-mode shared pages, avoiding a heavy syscall context switch.functionclog10(const T1 &) Returns the common (base-10) logarithm of the complex number xfunctionclog10(E1 &&) Creates an expression that returns the common (base-10) logarithm of the complex number x.functionclog2(const T1 &) Returns the binary (base-2) logarithm of the complex number xfunctionclog2(E1 &&) Creates an expression that returns the binary (base-2) logarithm of the complex number x.functionclog(const T1 &) Returns the natural logarithm of the complex number xfunctionclog(E1 &&) Creates an expression that returns the natural logarithm of the complex number x.functionaudio_writer<T>::close() Finishes writing and closes underlying writerfunctionaudio_writer_wav<T>::close()functionaudio_decoder::close() Closes the audio file and releases resources.functionaudio_encoder::close() Closes the encoder and finalizes the file.enum constantaudiofile_error::closed The audio file is closedfunctioncmatch(T &&, Fn &&, Args...)functioncmaxof(cvals_t<T>) Returns the maximum value in the list (min offunctioncmaxof(cvals_t<T, val, vals...>) Returns the maximum value in the listfunctioncminof(cvals_t<T>) Returns the minimum value in the list (max offunctioncminof(cvals_t<T, val, vals...>) Returns the minimum value in the listvariablecomparison<Fn, L, R>::cmpstructcmp_eqstructcmp_gestructcmp_gtstructcmp_lestructcmp_ltstructcmp_nefunctioncnegimag(const vec<complex<T>, N> &) Returns vector of complex values with imaginary part negatedfunctioncnegreal(const vec<complex<T>, N> &) Returns vector of complex values with real part negatedvariableaudiofile_format::codec Audio codec.variableexpression_goertzel<T>::coeff Precomputed resonator coefficientvariableexpression_parallel_goertzel<T, width>::coeff Precomputed coefficientsfunctioncolumn(const vec<vec<T, N1>, N2> &) Extracts a single column from a vector-of-vectors.functioncombine(const vec<T, N1> &, const vec<T, N2> &) Combines two vectors by selecting lanes fromxorybased on index.enum constantcpu_t::commonvariableplatform<cpu_t::common>::common_float_vector_sizevariableplatform<cpu_t::common>::common_int_vector_sizeclasscommon_type_helper<T1, T2, N1, N2> Helper forstd::common_typededuction between vectors and scalars.classcommon_type_helper<T1, T2, N, N> Same-width vectors share avec<common, N>common type.classcommon_type_helper<T1, vec<T2, N2>, N1, N2> Scalar vs. vector of differing widths form a nestedvec<vec<...>>.classcommon_type_helper<vec<T1, N2>, T2, N1, N2> Vector vs. scalar of differing widths form a nestedvec<vec<...>>.class::std::common_type<kfr::complex<T1>, kfr::complex<T2>>common_typeof twokfr::complexvalues.class::std::common_type<kfr::complex<T1>, kfr::vec<T2, N>>common_typeof akfr::complexand akfr::vec.class::std::common_type<kfr::complex<T1>, T2>common_typeof akfr::complexand a scalar.class::std::common_type<kfr::vec<T1, N1>, kfr::vec<T2, N2>>class::std::common_type<kfr::vec<T1, N>, kfr::complex<T2>>common_typeof akfr::vecand akfr::complex.class::std::common_type<kfr::vec<T1, N>, T2>class::std::common_type<T1, kfr::complex<T2>>common_typeof a scalar and akfr::complex.class::std::common_type<T1, kfr::vec<T2, N>>classcomparison<Fn, L, R>constructorcomparison<Fn, L, R>::comparison<Fn, L, R>(L &&, R &&)namespacecompiletimetypedefcomplex Complex number type alias.functiondft_plan_real<T>::complex_size() Returns the number of complex samples produced/consumed.functiondft_plan_md_real<T, Dims>::complex_size() Returns the shape of the complex (packed) spectrum.functiondft_plan_md_real<T, Dims>::complex_size_for(shape<Dims>) Returns the complex spectrum shape for a given real shape.functiondft_plan_real<T>::complex_size_for(size_t, dft_pack_format) Returns the number of complex samples for a given real size and format.classcompound_type_traits<kfr::vec_shape<T, N>>compound_type_traitsspecialization forvec_shape<T, N>.classcompound_type_traits<kfr::vec<T, N>>compound_type_traitsspecialization forvec<T, N>.classcompound_type_traits<std::complex<T>> Traits specialization forstd::complex<T>enabling KFR's compound-type machinery.classcompound_type_traits<std::pair<T, T>> Specialization of compound_type_traits forstd::pair<T, T>classcompound_type_traits<T> Traits describing how a type composes scalar elements. Specialized for compound types (e.g.std::pair) to expose width, subtype and accessors.functiondft_resampler<T>::compute_block_size(size_t, T, T) Computes the minimal power-of-two block size required for the given filter parameters (Kaiser formula).functiontimestamps<max_count, fence>::compute_rdtsc_overhead() Measure and return the RDTSC read overhead in cycles.functionconcat2(const vec<T, N1> &, const vec<T, N2> &) Concatenates two vectors into a single vector.functionconcat4(const vec<T, N> &, const vec<T, N> &, const vec<T, N> &, const vec<T, N> &) Concatenates four equal-length vectors into a single vector.functionconcat_and_slice(const vec<T, N1> &, const vec<T, N2> &) Concatenates two vectors of unequal length (first shorter) and extracts a slice.functionconcat_and_slice(const vec<T, N> &, const vec<T, N> &) Concatenates two equal-length vectors and extracts a slice of lengthcount.functionconcat_args()functionconcat_args(const std::string &, const Ts &...)functionconcat_cstring()functionconcat_cstring(const cstring<N1> &)functionconcat_cstring(const cstring<N1> &, const cstring<N2> &, const Args &...)typedefconcat_lists Concatenates two or more cvals_t or ctypes_t lists into a single listfunctionexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>::concat_shape(const shape<dims> &, const shape<dims> &)functionconcat(const vec<T, Ns> &...) Concatenates any number of vectors into a single vector.functionconcatenate(Arg1 &&, Arg2 &&) Creates an expression that concatenates two input expressions along the given axis.functionconcatenate(Arg1 &&, Arg2 &&, Arg3 &&) Creates an expression that concatenates three input expressions along the given axis.variablecones Instance of cones_t.structcones_t Tag type selecting all-ones initialization.variableaudio_reader_mp3<T>::configtypedeftensor<T, NDims>::const_contiguous_iteratortypedefarray_ref<T>::const_iteratortypedefinline_vector<T, N>::const_iteratortypedeftensor<T, NDims>::const_iteratortypedefstruct_with_alignment<T, A>::const_pointer Const pointer to this wrapper type.typedefstruct_with_alignment<T, false>::const_pointer Const pointer to this wrapper type.typedefarray_ref<T>::const_pointertypedefdata_allocator<T>::const_pointertypedefinline_vector<T, N>::const_pointertypedeftensor<T, NDims>::const_pointertypedefrange<T>::const_pointertypedefarray_ref<T>::const_referencetypedefdata_allocator<T>::const_referencetypedefinline_vector<T, N>::const_referencetypedeftensor_subscript<T, Derived, std::integer_sequence<index_t, Dims...>>::const_referencetypedeftensor<T, NDims>::const_referencetypedefrange<T>::const_referencetypedefarray_ref<T>::const_reverse_iteratorclassconstants<T> Constants for the SIMD typeT, inheriting from the scalar constants of its element type.classconstruct_common_type<CT, Tpl> Helper that maps a common-type result onto a single-argument template.classconstruct_common_type<CT, Tpl>variableaudiofile_format::container Container format.typedefcontainer_value_typefunctiontensor<T, NDims>::contiguous_begin() Returns a contiguous iterator to the first element. The tensor must be contiguous.functiontensor<T, NDims>::contiguous_begin_unsafe() Returns a contiguous iterator to the first element without checking contiguity.functiontensor<T, NDims>::contiguous_end() Returns a contiguous iterator past the last element. The tensor must be contiguous.functiontensor<T, NDims>::contiguous_end_unsafe() Returns a contiguous iterator past the last element without checking contiguity.typedeftensor<T, NDims>::contiguous_iteratorfunctionconvert_endianness(T *, size_t) Reverses the byte order (endianness) of a contiguous array of values in place.functionconvert_sample(const Tin &) Converts a single audio sample between two different native types.functionconvert(Tout *, const Tin *, size_t) Converts audio samples between two compile-time-known formats.functionconvert(Tout *, const void *, audio_sample_type, size_t) Converts audio samples whose input format is selected at runtime.functionconvert(void *, audio_sample_type, const Tin *, size_t) Converts audio samples whose output format is selected at runtime.classconvolve_filter<T> Streaming convolution filter using the overlap-add (block convolution) method.constructorconvolve_filter<T>::convolve_filter<T>(const univector_ref<const T> &, size_t) Constructs a filter and initializes its kernel fromdata.constructorconvolve_filter<T>::convolve_filter<T>(size_t, size_t) Constructs a filter with a kernel of the given length (initially zero).functionconvolve(const univector<T1, Tag1> &, const univector<T2, Tag2> &) Computes the linear convolution of two real or complex signals.functiontensor<T, NDims>::copy() Returns a deep copy of the tensor.functiontensor<T, NDims>::copy_from(const tensor<T, NDims> &) Copies the contents ofotherinto this tensor.functiondft_stage<T>::copy_input(bool, complex<T> *, const complex<T> *, size_t) Copies the input into the stage's working buffer.functioncopysign(const vec<T, N> &, const vec<T, N> &) Composexwith the magnitude ofxand the sign ofy.functioncorrelate(const univector<T1, Tag1> &, const univector<T2, Tag2> &) Computes the linear correlation of two real or complex signals.functioncos2x(const T &, const T &) Returnscos(2x)from already computedsin(x)andcos(x).functioncos3x(const T &, const T &) Returnscos(3x)from already computedsin(x)andcos(x).functioncos(const T1 &) Returns the trigonometric cosine of x, evaluated in radians.functioncosdeg(const T1 &) Returns the trigonometric cosine of the angle expressed in degrees.functioncosdeg(E1 &&) Creates an expression that returns the trigonometric cosine of x (expressed in degrees).functioncos(E1 &&) Creates an expression that returns the trigonometric cosine of x.functioncosh(const T1 &) Returns the hyperbolic cosine of x.functioncosh(E1 &&) Creates an expression that returns the hyperbolic cosine of x.functioncoshsinh(const T1 &) Computes cosh and sinh of x in a single pass and interleaves the results.functioncoshsinh(E1 &&) Creates an expression that returns the hyperbolic cosine of the even elements of x and the hyperbolic sine of the odd elements of x.enum constantwindow_type::cosineenum constantwindow_type::cosine_npfunctioncosine(M, T, T) Cosine interpolation.functioncossin(const T1 &) Returns the trigonometric cosine of the even elements ofxand sine of the odd elements.functioncossindeg(const T1 &) Returns the trigonometric cosine of the even elements and sine of the odd elements ofx,wherexis a vector of angles expressed in degrees.functioncossindeg(E1 &&) Creates an expression that returns the trigonometric cosine of the even elements of x and sine of the odd elements. x must be expressed in degrees.functioncossin(E1 &&) Creates an expression that returns the trigonometric cosine of the even elements of x and sine of the odd elements. x must be a vector.functioncompiletime::cos(T) Compile-time cosine, derived fromsin.functioncoth(const T1 &) Returns the hyperbolic cotangent of x.functioncoth(E1 &&) Creates an expression that returns the hyperbolic cotangent of x.variableexpression_with_arguments<Args>::count Number of arguments held by the expression.variableexpression_with_arguments<Arg>::count Number of arguments held by the expression (always 1).variableexpression_unpack<E>::countfunctionebu_r128<T>::count() Return the number of channels.variabletimestamps<max_count, fence>::count Number of checkpoints currently stored indur/msg.variableexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::counterfunctioncounter(T) Creates a 1-Dexpression_counterwith step 1.functioncounter(T, Arg, Args...) Creates an N-dimensionalexpression_counterwith one step per dimension.functioncprod(cvals_t<T>) Returns the product of all values in the list (1 for an empty list)functioncprod(cvals_t<T, first, rest...>) Returns the product of all values in the listvariablecpu_all Compile-time list of all CPU instruction sets supported by the current architecture that are not newer thancpu_t::native.structcpu_features Detected x86 CPU capabilities and identifying strings.functioncpu_name(cpu_t) Returns the name of the given CPU instruction set.functioncpu_runtime() Returns the current CPU name at runtime.enumcpu_t Enumeration representing a CPU instruction set.variablecpuval Compile-time constant instance ofcpuval_t.typedefcpuval_t Compile-time wrapper around acpu_tvalue (alias).functioncreate_aiff_decoder(const aiff_decoding_options &) Creates a decoder for AIFF audio files.functioncreate_aiff_encoder(const aiff_encoding_options &) Creates an AIFF audio encoder with optional encoding options.functioncreate_caff_decoder(const caff_decoding_options &) Creates a decoder for CAFF audio files.functioncreate_caff_encoder(const caff_encoding_options &) Creates a CAFF audio encoder with optional encoding options.functioncreate_decoder_for_container(audiofile_container, const audio_decoding_options &) Creates an audio decoder for a specific container type.functioncreate_decoder_for_file(const file_path &, const audio_decoding_options &) Creates an audio decoder for a file.functioncreate_decoder_from_header(const audiofile_header &, const audio_decoding_options &) Creates an audio decoder from a file header.functioncreate_encoder_for_container(audiofile_container, const audio_encoding_options &) Creates an audio encoder for the specified container format with optional encoding options.functioncreate_flac_decoder(const flac_decoding_options &) Creates a decoder for FLAC audio files.functioncreate_flac_encoder(const flac_encoding_options &) Creates a FLAC audio encoder with optional encoding options.functioncreate_mp3_decoder(const mp3_decoding_options &) Creates an MP3 audio decoder with the specified decoding options.functioncreate_raw_decoder(const raw_decoding_options &) Creates a decoder for raw audio streams.functioncreate_raw_encoder(const raw_encoding_options &) Creates a raw audio encoder with optional encoding options.functioncreate_w64_decoder(const w64_decoding_options &) Creates a decoder for W64 audio files.functioncreate_w64_encoder(const w64_encoding_options &) Creates a W64 audio encoder with optional encoding options.functioncreate_wave_decoder(const wave_decoding_options &) Creates a decoder for WAVE audio files.functioncreate_wave_encoder(const wave_encoding_options &) Creates a WAVE audio encoder with optional encoding options.functionunivector_base<T, Class, true>::cref() Returns a const reference to the underlying data.functionunivector_base<T, Class, false>::cref() Returns a const reference to the underlying data.enum constantspeaker_type::Cs Alias for S (center surround).variableconvolve_filter<T>::cscratchfunctioncsin(const T1 &) Returns the sine of the complex number xfunctioncsin(E1 &&) Creates an expression that returns the sine of the complex value x.functioncsinh(const T1 &) Returns the hyperbolic sine of the complex number xfunctioncsinh(E1 &&) Creates an expression that returns the hyperbolic sine of the complex number x.variablecsize Constant instance of csize_t<val>typedefcsize_t Compile-time size_t constantvariablecsizerange Constant instance of the size_t rangevariablecsizes Constant instance of csizes_t<vals...>typedefcsizes_t Compile-time list of size_t valuesvariablecsizeseq Constant instance of csizeseq_t withtypedefcsizeseq_t Compile-time sequence of size_t valuesfunctioncsqr(const T1 &) Returns square of the complex number xfunctioncsqr(E1 &&) Creates an expression that returns the square of the complex number x.functioncsqrt(const T1 &) Returns square root of the complex number xfunctioncsqrt(E1 &&) Creates an expression that returns the square root of the complex number x.classcstring<N>functioncsum(cvals_t<T>) Returns the sum of all values in the list (0 for an empty list)functioncsum(cvals_t<T, first, rest...>) Returns the sum of all values in the listfunctioncswapreim(const vec<complex<T>, N> &) Returns vector of complex values with real and imaginary parts swappedfunctioncswitch(cvals_t<T>, std::type_identity_t<T>, Fn &&, DefFn &&, CmpFn &&) Switch over an empty list: always invokes the default handlerfunctioncswitch(cvals_t<T, v0, values...>, std::type_identity_t<T>, Fn &&, DefFn &&, CmpFn &&)functioncswitch(cvals_t<T, vs...>, const U &, Function &&, Fallback &&)functionctranspose(const vec<T, N> &) Complex transpose: transposes pairs of adjacent lanes viewed as complex (real, imag).functionctransposeinverse(const vec<T, N> &) Inverse complex transpose.variablectrue Constant instance of ctrue_ttypedefctrue_t Compile-time true value typevariablectype Constant instance of ctype_t<T>functionctype_name()classctype_t<T> Compile-time wrapper for a single type. Used to pass types as values in metaprogramming contexts.functionctypeid() Gets unique value associated with the typefunctionctypeid(T) Gets unique value associated with the typevariablectypes Constant instance of ctypes_t<Ts...>classctypes_t<Ts> Compile-time list of types.functioncub(const T1 &) Returns cube of x.functioncub(E1 &&) Creates an expression that returns the cube ofx.functioncubic(M, T, T, T, T) Cubic interpolation.variablecuint Constant instance of cuint_t<val>typedefcuint_t Compile-time unsigned constantvariablecuintrange Constant instance of the unsigned rangevariablecuints Constant instance of cuints_t<vals...>typedefcuints_t Compile-time list of unsigned valuesvariablecuintseq Constant instance of an unsigned sequence withvariablecunaligned Instance of cunaligned_t.typedefcunaligned_t Compile-time boolean tag selecting unaligned access.variablecursor<Dims>::current Current multi-dimensional index.enum constantseek_origin::current From the current positionfunctioncurrent_epsilon()variabledelay_state<T, samples, Tag>::cursorclasscursor<Dims> Multi-dimensional iteration cursor.variabledft_resampler_params::cutoff Normalised cutoff frequency (0..1], where 1.0 = Nyquist of the output rate.variablecval Constant instance of cval_t<T, val>classcval_t<T, val> Compile-time constant wrapper carrying a value of typeT. Usable as a non-type template parameter and convertible to its underlying value.constructorcval_t<T, val>::cval_t<T, val>()constructorcval_t<T, val>::cval_t<T, val>(const cval_t<T, val> &)constructorcval_t<T, val>::cval_t<T, val>(cval_t<T, val> &&)variablecvalrange Constant instance of the value rangevariablecvals Constant instance of cvals_t<T, values...>classcvals_t<T> Empty specialization of cvals_t.classcvals_t<T, values> Compile-time list of constant values of typeT. Supports indexing, slicing, mapping and equality comparison at compile time.constructorcvals_t<T, values>::cvals_t<T, values...>()variablecvalseq Constant instance of cvalseq_t withtypedefcvalseq_t Compile-time arithmetic sequence ofsizevalues starting atstartwith stepstep.functioncweighting(const T1 &) C-weighting filter response for a scalar frequency.functioncweighting(E1 &&) C-weighting filter response as an expression.variablecwindow_type Compile-time window type valuetypedefcwindow_type_t Compile-time window type tagvariableczeros Instance of czeros_t.structczeros_t Tag type selecting zero-initialization.
D¶
variablespecial_value::d Stored floating-point literalvariableepsilon_scope<void>::dfunctioncstring<N>::data()variableexpression_adjacent<Fn, E>::datafunctionarray_ref<T>::data()functionautofree<T>::data() Returns pointer to underlying data.functionautofree<T>::data() Returns const pointer to underlying data.functioninline_vector<T, N>::data() Returns a pointer to the underlying element storage.functioninline_vector<T, N>::data() Returns a const pointer to the underlying element storage.functiontensor<T, NDims>::data() Returns a pointer to the underlying data.variableexpression_histogram<Bins, E, TCount>::datafunctionsmall_buffer<T, Capacity>::data()functionsmall_buffer<T, Capacity>::data()variabledft_stage<T>::data Pointer to the stage's internal data buffer.variabledft_plan<T>::data Internal data.variabledelay_state<T, samples, Tag>::datavariabledelay_state<T, 1, 1>::datavariablestrided_channel<T>::data Pointer to the first sample of the channel.variableaudio_data<IsInterleaved>::data Pointers to channel data.classdata_allocator<T> Aligned allocatorconstructordata_allocator<T>::data_allocator<T>()constructordata_allocator<T>::data_allocator<T>(const data_allocator<T> &)functiondata_allocator<T>::data_allocator<T>(const data_allocator<U> &)variabledft_stage<T>::data_size Size in bytes of the stage's internal data (e.g. twiddles).variabledft_plan<T>::data_size Internal data size.variableconvolve_filter<T>::data_sizeenumdatatype An enumeration representing data typefunctiondB_to_amp(const T1 &) Convert a level in decibels to an amplitude (10^(dB/20)).functiondB_to_amp(E1 &&) Convert a decibel level expression to amplitudes (10^(dB/20)).functiondB_to_power(const T1 &) Convert a power level in decibels to a power value (10^(dB/10)).functiondB_to_power(E1 &&) Convert a power level expression in decibels to power values (10^(dB/10)).functiondB_to_string(const T &, double) Converts dB value to string (uses oo for infinity symbol)functiondB_to_utf8string(const T &, double) Converts dB value to string (uses infinity symbol in utf-8 encoding)functiondcremove(E1 &&, double)functiondcremove(E1 &&, double, double) Applies a DC removal filter to the given input expression.classdct_plan<T> Plan for computing the Discrete Cosine Transform (DCT type 2, unscaled).constructordct_plan<T>::dct_plan<T>(size_t) Constructs a DCT plan for the given size.functiondata_allocator<T>::deallocate(pointer, size_type)functiontensor<T, NDims>::deallocate(T *) Deallocates memory previously returned by allocate().variableaudio_data<IsInterleaved>::deallocator Deallocator for the data.typedefdecay_common Decays to the common type of the supplied arguments after decay.variablesamplerate_converter<T>::decimation_factor Decimation factor.functiondecode_audio_file(const file_path &, audiofile_format *, const audio_decoding_options &) Decodes an audio file and returns the audio data in an interleaved format.functiondeep_is_equal(const T1 &, const T2 &)typedefcompound_type_traits<T>::deep_rebindtypedefcompound_type_traits<std::pair<T, T>>::deep_rebindtypedefcompound_type_traits<kfr::vec_shape<T, N>>::deep_rebindtypedefcompound_type_traits<kfr::vec<T, N>>::deep_rebindtypedefcompound_type_traits<std::complex<T>>::deep_rebind Rebinds the complex to hold values of the deep-rebound subtype oftypedefcompound_type_traits<T>::deep_subtypetypedefdeep_subtype The deepest scalar subtype of a (possibly nested) compound typetypedefcompound_type_traits<std::pair<T, T>>::deep_subtypetypedefcompound_type_traits<kfr::vec_shape<T, N>>::deep_subtypetypedefcompound_type_traits<kfr::vec<T, N>>::deep_subtypetypedefcompound_type_traits<std::complex<T>>::deep_subtype Deepest scalar component type after full recursion.variablecompound_type_traits<T>::deep_widthvariablecompound_type_traits<std::pair<T, T>>::deep_widthvariablecompound_type_traits<kfr::vec_shape<T, N>>::deep_widthvariablecompound_type_traits<kfr::vec<T, N>>::deep_widthvariablecompound_type_traits<std::complex<T>>::deep_width Width after fully recursing into the subtype.variabledefault_audio_frames_to_read The default number of audio frames to read in one operation.enum constantspecial_constant::default_constructed value-initializedvariabledefault_dft_algorithmvariabledefault_memory_alignmentvariablescalar_constants<T>::degtorad Degrees to radians conversion factor (Ï€ / 180).functiondeinterleave(Tout **, const Tin *, size_t, size_t) Deinterleaves and converts audio samples from a single buffer.functiondeinterleave(univector2d<Tout, Tag1, Tag2> &, const univector<Tin, Tag3> &) Deinterleaves and converts audio samples into a 2D univector.variablesamplerate_converter<T>::delay Delay line buffer.classdelay_state<T, 1, 1>classdelay_state<T, samples, Tag>constructordelay_state<T, samples, Tag>::delay_state<T, samples, Tag>()functiondelay(delay_state<T, samples, STag> &, E1 &&) Returns template expression that applies delay to the input (uses ring buffer in state)functiondelay(E1 &&) Returns template expression that applies delay to the input (uses ring buffer internally)functiondelay(E1 &&, std::reference_wrapper<delay_state<T, samples, STag>>) Returns template expression that applies delay to the input (uses ring buffer in state)variableshort_fir_state<tapcount, T, U>::delayline Delay line holding the lastvariablefir_state<T, U>::delayline Ring-buffer delay line of lengthvariablemoving_sum_state<U, Tag>::delayline Ring buffer holding the window contents.variablemoving_sum_state<U, tag_dynamic_vector>::delayline Ring buffer holding the window contents.variablefir_state<T, U>::delayline_cursor Current write cursor intovariablefraction::denominator Denominator of the fraction (always positive after normalization).variablecompound_type_traits<T>::depthvariablecompound_type_traits<std::pair<T, T>>::depthvariablecompound_type_traits<kfr::vec_shape<T, N>>::depthvariablecompound_type_traits<kfr::vec<T, N>>::depthvariablecompound_type_traits<std::complex<T>>::depth Recursion depth of the compound type.variablesamplerate_converter<T>::depth Processing depth.functionderived_cast(const U *) Down-casts a const pointer fromfunctionderived_cast(U *)namespacedetailsenumdft_algorithm Concrete DFT/FFT algorithm selection.typedefdft_cacheclassdft_cache_impl<int>enumdft_decomp Decomposition direction for a butterfly pass.enumdft_family Family of DFT algorithms (groups related algorithms).macroDFT_MAX_STAGESenumdft_order Specifies the desired order for DFT output (and IDFT input).enumdft_pack_format Specifies the packing format for real DFT output data. See https://www.kfr.dev/docs/latest/dft_format/ for detailsclassdft_plan_md_real<T, Dims> Multidimensional real-to-complex / complex-to-real DFT plan.constructordft_plan_md_real<T, Dims>::dft_plan_md_real<T, Dims>(const dft_plan_md_real<T, Dims> &)constructordft_plan_md_real<T, Dims>::dft_plan_md_real<T, Dims>(dft_plan_md_real<T, Dims> &&)constructordft_plan_md_real<T, Dims>::dft_plan_md_real<T, Dims>(shape<Dims>, bool) Constructs a multidimensional real DFT plan.classdft_plan_md<T, Dims> Multidimensional complex DFT plan.constructordft_plan_md<T, Dims>::dft_plan_md<T, Dims>(const dft_plan_md<T, Dims> &)constructordft_plan_md<T, Dims>::dft_plan_md<T, Dims>(dft_plan_md<T, Dims> &&)constructordft_plan_md<T, Dims>::dft_plan_md<T, Dims>(shape<Dims>) Constructs a multidimensional DFT plan for the given shape.typedefdft_plan_ptrtypedefdft_plan_real_ptrclassdft_plan_real<T> Real-to-complex and complex-to-real 1D DFT plan.constructordft_plan_real<T>::dft_plan_real<T>() Constructs an empty (uninitialized) real DFT plan.constructordft_plan_real<T>::dft_plan_real<T>(const dft_plan_real<T> &)constructordft_plan_real<T>::dft_plan_real<T>(dft_plan_real<T> &&)constructordft_plan_real<T>::dft_plan_real<T>(size_t, dft_pack_format, bool) Constructs a real DFT plan.classdft_plan<T> Class for performing 1D DFT/FFT.constructordft_plan<T>::dft_plan<T>() Constructs an empty DFT plan.destructordft_plan<T>::~dft_plan<T>() Destructor.constructordft_plan<T>::dft_plan<T>(const dft_plan<T> &) Copy constructor (deleted).constructordft_plan<T>::dft_plan<T>(dft_plan<T> &&) Move constructor.constructordft_plan<T>::dft_plan<T>(noinit, size_t, dft_order, bool)constructordft_plan<T>::dft_plan<T>(size_t, dft_order, bool) Constructs a DFT plan with the specified size and order.structdft_resampler_params Parameters for constructing adft_resampler.constructordft_resampler_params::dft_resampler_params(int, fbase, fbase, fbase) Constructs resampler parameters.classdft_resampler<T> FFT-based sample-rate converter and FIR filter using overlap-save.constructordft_resampler<T>::dft_resampler<T>(const dft_resampler_params &) Constructs the resampler from the given parameters.typedefdft_stage_ptrclassdft_stage<T> Base structure representing a single DFT stage.destructordft_stage<T>::~dft_stage<T>() Destructor.enumdft_type Direction(s) of DFT computation requested for a plan.functiondft(const univector<complex<T>, Tag> &) Performs the direct (forward) complex DFT using a cached plan.enum constantdft_decomp::dif Decimation-in-frequencytypedefrange<T>::diff_typetypedefarray_ref<T>::difference_typetypedefdata_allocator<T>::difference_typetypedeftensor<T, NDims>::tensor_iterator::difference_typetypedeftensor<T, NDims>::nested_iterator_t::difference_typefunctiondigitreverse4(const vec<T, N> &) Reorders the elements of a vector by reversing base-4 (quaternary) digits of their indices.functiondigitreverse4(u32) Reverses the digits of the given unsigned integer in base-4 (quaternary), using the lowestbitsdigits.functiondigitreverse(const vec<T, N> &) Reorders the elements of a vector by reversing the digits of their indices in the specified radix.functiondimensions(E1 &&) Creates an expression that adjusts the dimensionality of another expression.functionshape<Dims>::dims() Returns the number of dimensions (compile-time constant).functionshape<0>::dims() Returns the number of dimensions (always 0).functionshape<dynamic_shape>::dims() Returns the number of dimensions at run time.variableexpression_traits<T>::dimsvariableexpression_with_traits<Arg>::dimsvariableexpression_function<Fn, Args>::dims Number of dimensions of the expression.variableexpression_discard<Tin, Dims>::dimsvariableexpression_traits<expression_scalar<T>>::dimsvariableexpression_traits<expression_counter<T, Dims>>::dimsvariableexpression_slice<Arg>::dimsvariableexpression_traits<expression_slice<Arg>>::dimsvariableexpression_traits<expression_cast<T, Arg>>::dimsvariableexpression_traits<expression_lambda<T, Dims, Fn, Rnd>>::dimsvariableexpression_traits<expression_padded<Arg>>::dimsvariableexpression_traits<expression_reverse<Arg>>::dimsvariableexpression_traits<expression_fixshape<Arg, fixed_shape_t<ShapeValues...>>>::dimsvariableexpression_traits<expression_reshape<Arg, OutDims>>::dimsvariableexpression_traits<expression_linspace<T, truncated>>::dimsvariableexpression_concatenate<Arg1, Arg2, ConcatAxis>::dimsvariableexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>::dimsvariableexpression_unpack<E>::dimsvariableexpression_adjacent<Fn, E>::dimsvariableexpression_trace<E>::dimsvariableexpression_dimensions<Dims, E>::dimsvariableexpression_traits<univector<T, Tag>>::dimsvariableexpression_traits<expression_handle<T, Dims>>::dims Number of dimensions.variableexpression_traits<expression_placeholder<T, Dims, Key>>::dims Number of dimensions.variablegenerator<T, VecWidth, Class, Twork>::dimsvariabletensor_subscript<T, Derived, std::integer_sequence<index_t, Dims...>>::dimsvariabletensor<T, NDims>::dims Number of dimensions.variableexpression_traits<tensor<T, Dims>>::dimsvariableexpression_random_uniform<T, Dims, Reference>::dimsvariableexpression_random_range<T, Dims, Reference>::dimsvariableexpression_random_normal<T, Dims, Reference>::dimsvariableexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::dimsvariableexpression_window<T>::dimsvariableexpression_delay<delay, E, stateless, STag>::dimsvariableexpression_delay<1, E, stateless, STag>::dimsvariableexpression_goertzel<T>::dimsvariableexpression_parallel_goertzel<T, width>::dimsvariableexpression_traits<strided_channel<T>>::dimstypedefdimset Fixed-size bitmask indexed by tensor axis.enum constantdft_type::direct Only the direct (forward) transform.variabledft_plan<T>::disposition_inplace Internal data.variabledft_plan<T>::disposition_outofplace Internal data.variableaudio_dithering_state::distfunctionrange<T>::distance()functiondistance(const void *, const void *)enum constantdft_decomp::dit Decimation-in-timevariableaudio_quantization::dither Dithering state used during quantization.variableaudio_dithering_state::dithering Active dithering method.variableaudio_encoding_options::ditheringfunctiondiv(const T1 &, const T2 &) Division ofxbyy.functiondft_stage<T>::do_execute(cdirect_t, complex<T> *, const complex<T> *, u8 *) Performs the direct stage execution (implemented by derived stages).functiondft_stage<T>::do_execute(cinvert_t, complex<T> *, const complex<T> *, u8 *) Performs the inverse stage execution (implemented by derived stages).functiondft_stage<T>::do_initialize(size_t) Initializes the stage's internal data for the given DFT size.functiondont_deduce(T)functionshape<0>::dot(const shape<0> &) Dot product with another scalar shape; the empty product is 0.functionshape<Dims>::dot(const shape<dims> &) Dot product of the two shapes (element-wise multiply and sum).functiondotproduct(E1 &&, E2 &&) Returns the dot product of two vectors.typedefopencl_names::double16typedefopencl_names::double2typedefopencl_names::double3typedefopencl_names::double4typedefopencl_names::double8functiondownsample2(E1 &&, csize_t<offset>) Downsamples a signal by a factor of 2 by selecting every other sample.functiondownsample4(E1 &&, csize_t<offset>) Downsamples a signal by a factor of 4 by selecting every fourth sample.enum constantsample_rate_conversion_quality::draft Draft quality (lowest, fastest).functiondft_stage<T>::dump() Prints the stage parameters to stdout for debugging.functiondft_plan<T>::dump() Dumps details of the DFT plan to stdout for inspection.functiondft_plan_md<T, Dims>::dump() Dumps details of the underlying per-axis plans to stdout.functiondft_plan_md_real<T, Dims>::dump() Dumps details of the underlying per-axis plans to stdout.functiondup(const vec<T, N> &) Duplicates each element ofxinto a pair of adjacent lanes.functiondupeven(const vec<T, N> &) Duplicates each even-indexed element into the following odd-indexed lane.functionduphalves(const vec<T, N> &) Duplicates the contents ofxto form a vector twice as long.functionduphigh(const vec<T, N> &) Duplicates the upper half ofxto fill the whole vector.functionduplow(const vec<T, N> &) Duplicates the lower half ofxto fill the whole vector.functiondupodd(const vec<T, N> &) Duplicates each odd-indexed element into the preceding even-indexed lane.variabletimestamps<max_count, fence>::dur Per-checkpoint elapsed cycle counts (overhead-subtracted), indexed by record order.typedefglsl_names::dvec2typedefglsl_names::dvec3typedefglsl_names::dvec4variabledynamic_shape Sentinel rank value indicating a run-time-determined rank.
E¶
variablescalar_constants<T>::e The mathematical constant e (Euler's number).classebu_channel<T> Single-channel loudness measurement front-end.constructorebu_channel<T>::ebu_channel<T>(int, speaker_type, int, T) Construct a channel front-end.classebu_r128<T> EBU R128 loudness meter.constructorebu_r128<T>::ebu_r128<T>(int, std::span<const speaker_type>, int) Construct the meter.functionstopwatch::elapsed() Return the elapsed time since construction cast to the requestedDurationtype.functionstopwatch::elapsed_ms() Convenience wrapper forelapsedreturning milliseconds.functionstopwatch::elapsed_ns() Convenience wrapper forelapsedreturning nanoseconds.functionstopwatch::elapsed_s() Return the elapsed wall-clock time in seconds since construction.functionstopwatch::elapsed_us() Convenience wrapper forelapsedreturning microseconds.variableportable_vec<T, N>::elemstructvec<T, N>::element Proxy reference to a single vector element enabling read/write access.functionelement_size()functionelement_size<>()variableelements Constant instance of elements_t<vals...>typedefelements_t Compile-time list of element indices (size_t values)functionelliptic(int, double, double) Analog elliptic (Cauer) lowpass filter prototype (normalized cutoff = 1 rad/s).functionarray_ref<T>::empty()functioninline_vector<T, N>::empty() Returnstrueif the vector holds no elements.functiontensor<T, NDims>::empty() Returnstrueif the tensor has no elements.functionsmall_buffer<T, Capacity>::empty()functionaudio_data<IsInterleaved>::empty() Check whether this audio data container is empty.enum constantaudiofile_error::empty_file The file is empty or does not contain any audio dataclassempty_struct<tag> Empty type tagged with a unique integertag.functionencode_audio_file(const file_path &, const audio_data_interleaved &, const audiofile_format &, audio_decoder *, const audio_encoding_options &) Encodes interleaved audio data and writes it to a file.functionencode_audio_file(const file_path &, const audio_data_planar &, const audiofile_format &, audio_decoder *, const audio_encoding_options &) Encodes planar audio data and writes it to a file.functioncvals_t<T, values>::end() Iterator past the last valuefunctionarray_ref<T>::end()functioninline_vector<T, N>::end() Returns an iterator to one past the last element.functioninline_vector<T, N>::end() Returns a const iterator to one past the last element.functiontensor<T, NDims>::end() Returns the end sentinel iterator.functionsmall_buffer<T, Capacity>::end()functionsmall_buffer<T, Capacity>::end()functionrange<T>::end()enum constantseek_origin::end From the endenum constantaudiofile_error::end_of_file End of file reachedfunctionend_pass(const expression_handle<T, NDims> &, shape<NDims>, shape<NDims>) Internal ADL-provided implementation forexpression_handleexpressions.functionend_pass(const expression_iir<1, T, E1, Stateless> &, shape<1>, shape<1>) Internal ADL-provided implementation forfunctionend_pass(const expression_iir<filters, T, E1, Stateless> &, shape<1>, shape<1>) Internal ADL-provided implementation forfunctionend_pass(const expression_with_arguments<Args...> &, shape<Dims>, shape<Dims>) Notifies all arguments of anexpression_with_argumentsthat a pass has ended.functionend_pass(const internal_generic::anything &, shape<Dims>, shape<Dims>)variableaudiofile_format::endianness Endianness of the audio data.variableexpression_linspace<T, truncated>::endpointfunctionenergy_to_loudness(T) Convert mean-square energy to loudness in LUFS.functionenumerate() Generates a vector with an arithmetic sequence of values.functionenumerate(vec_shape<T, N>) Shape-driven overload of enumerate() for type deduction.functionenumerate(vec_shape<T, N>, std::type_identity_t<T>) Generates a vector with an arithmetic sequence using a runtime step.enum constantspecial_constant::epsilon machine epsilonvariablescalar_constants<T>::epsilon The machine epsilon — the smallest value such that 1 + epsilon ≠1.constructorepsilon_scope<void>::epsilon_scope(float)classepsilon_scope<T>destructorepsilon_scope<T>::~epsilon_scope<T>()constructorepsilon_scope<T>::epsilon_scope<T>(T)structepsilon_scope<void>functioneq(E1 &&, E2 &&) Creates an expression that returns whethere1is equal toe2.functionequal(const T1 &, const T2 &) Element-wise equality comparison.functioncvals_t<T, values>::equal(cvals_t<T, values...>) Returnsfunctioncvals_t<T, values>::equal(cvals_t<T, values2...>) Returnsclassequality_comparer<L, R>functionerror(const Args &...) Print values to stderr, each formatted with its default conversion specifier.functionerrorln(const Args &...) Print values to stderr followed by a newline, then flush stderr.functioneven(const vec<T, N> &) Extracts the even-indexed elements ofx(with optional grouping).classexceptionconstructorexception::exception(std::string)functiondft_plan<T>::execute_dft(cbool_t<inverse>, complex<T> *, const complex<T> *, u8 *)functiondft_stage<T>::execute(bool, complex<T> *, const complex<T> *, u8 *) Executes the stage in the requested direction.functiondft_stage<T>::execute(cdirect_t, complex<T> *, const complex<T> *, u8 *) Executes the direct (forward) stage.functiondft_stage<T>::execute(cinvert_t, complex<T> *, const complex<T> *, u8 *) Executes the inverse stage.functiondft_plan<T>::execute(complex<T> *, const complex<T> *, u8 *, bool) Execute the complex DFT oninand write the result toout.functiondft_plan_real<T>::execute(complex<T> *, const complex<T> *, u8 *, bool)functiondft_plan_md<T, Dims>::execute(complex<T> *, const complex<T> *, u8 *, bool) Executes the multidimensional DFT on raw pointers.functiondft_plan<T>::execute(complex<T> *, const complex<T> *, u8 *, cbool_t<inverse>) Execute the complex DFT oninand write the result toout.functiondft_plan_real<T>::execute(complex<T> *, const complex<T> *, u8 *, cbool_t<inverse>)functiondft_plan_md<T, Dims>::execute(complex<T> *, const complex<T> *, u8 *, cbool_t<inverse>) Executes the multidimensional DFT with a compile-time direction.functiondft_plan_md_real<T, Dims>::execute(complex<T> *, const T *, u8 *, bool) Forward transform selected by a runtime flag (raw pointers).functiondft_plan_real<T>::execute(complex<T> *, const T *, u8 *, cdirect_t) Executes the forward real-to-complex DFT.functiondft_plan_md_real<T, Dims>::execute(complex<T> *, const T *, u8 *, cdirect_t) Forward transform: real input to packed complex output (raw pointers).functiondft_plan_md<T, Dims>::execute(const tensor<complex<T>, Dims> &, const tensor<complex<T>, Dims> &, u8 *, bool) Executes the multidimensional DFT on tensors.functiondft_plan_md_real<T, Dims>::execute(const tensor<complex<T>, Dims> &, const tensor<T, Dims> &, u8 *, cdirect_t) Forward transform on tensors.functiondft_plan_md_real<T, Dims>::execute(const tensor<T, Dims> &, const tensor<complex<T>, Dims> &, u8 *, cinvert_t) Inverse transform on tensors.functiondft_plan_md_real<T, Dims>::execute(T *, const complex<T> *, u8 *, bool) Inverse transform selected by a runtime flag (raw pointers).functiondft_plan_real<T>::execute(T *, const complex<T> *, u8 *, cinvert_t) Executes the inverse complex-to-real DFT.functiondft_plan_md_real<T, Dims>::execute(T *, const complex<T> *, u8 *, cinvert_t) Inverse transform: packed complex input to real output (raw pointers).functiondct_plan<T>::execute(T *, const T *, u8 *, bool) Executes the DCT.functiondft_plan<T>::execute(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, u8 *, bool) Execute the complex DFT oninand write the result toout.functiondft_plan_real<T>::execute(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, u8 *, bool)functiondft_plan<T>::execute(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, u8 *, cbool_t<inverse>) Execute the complex DFT oninand write the result toout.functiondft_plan_real<T>::execute(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, u8 *, cbool_t<inverse>)functiondft_plan<T>::execute(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, univector<u8, Tag3> &, bool) Execute the complex DFT oninand write the result toout.functiondft_plan_real<T>::execute(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, univector<u8, Tag3> &, bool)functiondft_plan<T>::execute(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, univector<u8, Tag3> &, cbool_t<inverse>) Execute the complex DFT oninand write the result toout.functiondft_plan_real<T>::execute(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, univector<u8, Tag3> &, cbool_t<inverse>)functiondft_plan_real<T>::execute(univector<complex<T>, Tag1> &, const univector<T, Tag2> &, u8 *, cdirect_t) Forward real-to-complex DFT using univector buffers with a raw scratch pointer.functiondft_plan_real<T>::execute(univector<complex<T>, Tag1> &, const univector<T, Tag2> &, univector<u8, Tag3> &, cdirect_t) Forward real-to-complex DFT using univector buffers with a scratch univector.functiondft_plan_real<T>::execute(univector<T, Tag1> &, const univector<complex<T>, Tag2> &, u8 *, cinvert_t) Inverse complex-to-real DFT using univector buffers with a raw scratch pointer.functiondft_plan_real<T>::execute(univector<T, Tag1> &, const univector<complex<T>, Tag2> &, univector<u8, Tag3> &, cinvert_t) Inverse complex-to-real DFT using univector buffers with a scratch univector.functiondct_plan<T>::execute(univector<T, Tag1> &, const univector<T, Tag2> &, univector<u8, Tag3> &, bool) Executes the DCT using univector buffers.variablecpu_features::exmax Highest supported extended CPUID leaf (leaf 0x80000000 EAX).functionexp10(const T1 &) Returns 10 raised to the given power x.functionexp10(E1 &&) Creates an expression that returns 10 raised to the given power x.functionexp2(const T1 &) Returns 2 raised to the given power x.functionexp2(E1 &&) Creates an expression that returns 2 raised to the given power x.functionexp_fmadd(const T1 &, const T2 &, const T3 &) Returns exp(x * m + a).functionexp_fmadd(E1 &&, E2 &&, E3 &&) Creates an expression that returns exp(x * m + a).classexpand_cvals<T, Tpl, cvals_t<T, vals...>> Specialization ofexpand_cvalsthat instantiatesTplwith the pack values.classexpand_cvals<T, Tpl, Pack> Expands acvals_tpack into a template expecting non-type parameters.functionexp(const T1 &) Returns e raised to the given power x.functionexp(E1 &&) Creates an expression that returns \(e\) raised to the given power x.variableexpression_traits<T>::explicit_operandvariableexpression_traits_defaults::explicit_operandvariableexpression_with_traits<Arg>::explicit_operandconceptexpr_element Concept satisfied by scalar vector element types.classexpression_adjacent<Fn, E> Expression that applies a binary function to each value and its previous value.constructorexpression_adjacent<Fn, E>::expression_adjacent<Fn, E>(Fn &&, E &&)conceptexpression_argument Concept satisfied by input expressions that must appear as an explicit operand (i.e. not implicitly convertible from a scalar argument).conceptexpression_arguments Concept satisfied when allEare input expressions and at least one of them is an explicit operand.classexpression_bartlett_hann<T> Bartlett-Hann window expressionclassexpression_bartlett<T> Bartlett window expression (triangular reaching zero at the edges)typedefexpression_biquads Alias for expression_iir (sample-by-sample biquad cascade expression).typedefexpression_biquads_l Alias for expression_iir_l (look-ahead biquad cascade expression).classexpression_blackman_harris<T> Blackman-Harris window expression (4-term minimum sidelobe window)classexpression_blackman<T> Blackman window expression (parameterized by alpha)constructorexpression_blackman<T>::expression_blackman<T>(size_t, T, window_symmetry)classexpression_bohman<T> Bohman window expression (product of cosine and linear taper)classexpression_cast<T, Arg> Expression that converts the values of the wrapped expression to typeT.classexpression_concatenate<Arg1, Arg2, ConcatAxis> Expression that joins two expressions along a single axis.constructorexpression_concatenate<Arg1, Arg2, ConcatAxis>::expression_concatenate<Arg1, Arg2, ConcatAxis>(Arg1 &&, Arg2 &&)classexpression_cosine_np<T> Cosine window expression (numpy-compatible)classexpression_cosine<T> Cosine window expression (sin(pi*x))classexpression_counter<T, Dims> Expression that produces a sequence of valuesstart, start + step, start + 2*step, ...for one or more dimensions.classexpression_delay<1, E, stateless, STag>constructorexpression_delay<1, E, stateless, STag>::expression_delay<1, E, stateless, STag>(E &&, state_holder<delay_state<T, 1, STag>, stateless>)classexpression_delay<delay, E, stateless, STag>constructorexpression_delay<delay, E, stateless, STag>::expression_delay<delay, E, stateless, STag>(E &&, state_holder<delay_state<T, delay, STag>, stateless>)classexpression_dimensions<Dims, E> Expression that adjusts the dimensionality of another expression.variableexpression_dims Inline variable holding the number of dimensions of an expression.classexpression_discard<Tin, Dims> Output expression that discards all written values.classexpression_filter<T> Filter adapter that wraps an expression containing a placeholder.constructorexpression_filter<T>::expression_filter<T>() Default-constructing constructor for subclasses.constructorexpression_filter<T>::expression_filter<T>(expression_handle<T, 1>) Constructs the filter from a placeholder expression handle.classexpression_fir<T, U, E1, stateless> Template expression applying a generic FIR filter of arbitrary length.constructorexpression_fir<T, U, E1, stateless>::expression_fir<T, U, E1, stateless>(E1 &&, state_holder<fir_state<T, U>, stateless>)classexpression_fixshape<Arg, Shape> Expression that overrides the shape of another expression with a compile-time shape.constructorexpression_fixshape<Arg, Shape>::expression_fixshape<Arg, Shape>(Arg &&)classexpression_flattop<T> Flat-top window expression (5-term window for accurate amplitude estimation)deduction guideexpression_function Deduction guide for constructing anexpression_functionfrom an argument holder and a callable.deduction guideexpression_function Deduction guide for constructing anexpression_functionfrom an rvalue argument holder and a callable.deduction guideexpression_function Deduction guide for constructing anexpression_functionfrom an lvalue argument holder and a callable.classexpression_function<Fn, Args> Expression that applies a callable to its arguments.constructorexpression_function<Fn, Args>::expression_function<Fn, Args...>(arg<Args &&>...) Constructs the expression from a pack of arguments with a default-constructed callable.constructorexpression_function<Fn, Args>::expression_function<Fn, Args...>(expression_with_arguments<Args...>, Fn &&) Constructs the expression from an argument holder and a callable.constructorexpression_function<Fn, Args>::expression_function<Fn, Args...>(Fn &&, arg<Args &&>...) Constructs the expression from a callable and a pack of arguments.classexpression_gaussian<T> Gaussian window expressionconstructorexpression_gaussian<T>::expression_gaussian<T>(size_t, T, window_symmetry) alpha = std / 2Nclassexpression_goertzel<T> Single-bin Goertzel algorithm expression.destructorexpression_goertzel<T>::~expression_goertzel<T>() Destructor: rotates the final filter state into the complex DFT bin value and stores it inresult.constructorexpression_goertzel<T>::expression_goertzel<T>(complex<T> &, T) Construct a Goertzel resonator for frequencyomega.classexpression_hamming<T> Hamming window expressionconstructorexpression_hamming<T>::expression_hamming<T>(size_t, T, window_symmetry)classexpression_handle<T, Dims> Opaque type-erased handle to an expression (forward declaration).constructorexpression_handle<T, Dims>::expression_handle<T, Dims>() Construct an empty (invalid) handle.constructorexpression_handle<T, Dims>::expression_handle<T, Dims>(const void *, const expression_vtable<T, Dims> *, std::shared_ptr<expression_resource>) Construct a handle referencinginstancewith vtablevtable.classexpression_hann<T> Hann window expression (0.5*(1-cos(2*pi*x)))classexpression_histogram<Bins, E, TCount> Expression that computes a histogram as data flows through it.constructorexpression_histogram<Bins, E, TCount>::expression_histogram<Bins, E, TCount>(E &&, size_t) Constructs a runtime-sized histogram expression.classexpression_iir_l<filters, T, E1, Stateless> Template expression applying a cascade of biquad sections (look-ahead variant, no latency compensation).constructorexpression_iir_l<filters, T, E1, Stateless>::expression_iir_l<filters, T, E1, Stateless>(E1 &&, state_holder<iir_state<T, filters>, Stateless>) Construct from an input expression and a state holder.classexpression_iir<filters, T, E1, Stateless> Template expression applying a cascade of biquad sections (look-ahead variant, with latency compensation).constructorexpression_iir<filters, T, E1, Stateless>::expression_iir<filters, T, E1, Stateless>(E1 &&, state_holder<iir_state<T, filters>, Stateless>) Construct from an input expression and a state holder.classexpression_kaiser<T> Kaiser window expression (shaped by the zeroth-order modified Bessel function)constructorexpression_kaiser<T>::expression_kaiser<T>(size_t, T, window_symmetry)classexpression_lambda<T, Dims, Fn, Rnd> Expression backed by a user-provided callable.classexpression_lanczos<T> Lanczos window expression (sinc based)classexpression_linspace<T, truncated> Expression that produces evenly spaced values fromstarttostop.constructorexpression_linspace<T, truncated>::expression_linspace<T, truncated>(symmetric_linspace_t, T, size_t, bool)constructorexpression_linspace<T, truncated>::expression_linspace<T, truncated>(T, T, size_t, bool)typedefexpression_make_function Alias that produces anexpression_functionwith decayed argument types.classexpression_moving_sum<U, E1, STag, stateless> Template expression performing a moving sum (rectangular window) over the input.constructorexpression_moving_sum<U, E1, STag, stateless>::expression_moving_sum<U, E1, STag, stateless>(E1 &&, state_holder<moving_sum_state<U, STag>, stateless>)typedefexpression_pack Type alias for the expression that packs several expressions into a single vector-valued expression.classexpression_padded<Arg> Expression that extends another expression with a constant fill value.constructorexpression_padded<Arg>::expression_padded<Arg>(Arg &&, typename ArgTraits::value_type)classexpression_parallel_goertzel<T, width> Parallel (multi-bin) Goertzel algorithm expression.destructorexpression_parallel_goertzel<T, width>::~expression_parallel_goertzel<T, width>() Destructor: rotates the final filter states into thewidthcomplex DFT bin values and stores them inresult.constructorexpression_parallel_goertzel<T, width>::expression_parallel_goertzel<T, width>(complex<T> *, vec<T, width>) Constructwidthparallel Goertzel resonators.classexpression_placeholder<T, Dims, Key> A placeholder expression that can be bound to a concrete expression at runtime.constructorexpression_placeholder<T, Dims, Key>::expression_placeholder<T, Dims, Key>()classexpression_planck_taper<T> Planck-taper window expression (smooth flat-top taper controlled by epsilon)constructorexpression_planck_taper<T>::expression_planck_taper<T>(size_t, T, window_symmetry)variableexpression_random_access Inline variable indicating whether an expression supports random access.classexpression_random_normal<T, Dims, Reference> Expression that produces normally distributed (Gaussian) random values.classexpression_random_range<T, Dims, Reference> Expression that produces uniformly distributed random values in [min, max).classexpression_random_uniform<T, Dims, Reference> Expression that produces uniformly distributed random values in [0, 1).classexpression_rectangular<T> Rectangular window expression (all ones within the window)constructorexpression_rectangular<T>::expression_rectangular<T>(size_t, T, window_symmetry)classexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn> Expression that reduces an input expression to a single value.constructorexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::expression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>(ReduceFn, TransformFn, FinalFn) Constructs the reducer.classexpression_reshape<Arg, OutDims> Expression that exposes the same data as another expression with a different shape.constructorexpression_reshape<Arg, OutDims>::expression_reshape<Arg, OutDims>(Arg &&, const shape<OutDims> &)structexpression_resource Base class for owning the storage of a type-erased expression.destructorexpression_resource::~expression_resource() Returns a pointer to the owned expression instance, ornullptr.classexpression_resource_impl<E>expression_resourcethat owns an expression of typeEby value.destructorexpression_resource_impl<E>::~expression_resource_impl<E>()constructorexpression_resource_impl<E>::expression_resource_impl<E>(E &&) Take ownership ofeby move.classexpression_reverse<Arg> Expression that exposes another expression with its trailing dimension reversed.constructorexpression_reverse<Arg>::expression_reverse<Arg>(Arg &&)classexpression_scalar<T> Expression that wraps a single scalar value of typeT.classexpression_short_fir<tapcount, T, U, E1, stateless> Template expression applying a short FIR filter (2..33 taps).constructorexpression_short_fir<tapcount, T, U, E1, stateless>::expression_short_fir<tapcount, T, U, E1, stateless>(E1 &&, state_holder<short_fir_state<tapcount, T, U>, stateless>)classexpression_slice<Arg> Expression that exposes a sub-region of another expression.constructorexpression_slice<Arg>::expression_slice<Arg>(Arg &&, shape<dims>, shape<dims>)classexpression_trace<E> Expression that prints the requested values to the console for debugging purposes.structexpression_traits_defaults Base struct providing default values for expression traits.classexpression_traits<const T> Pass-through specialization that forwards traits for const-qualified expression types.classexpression_traits<const T &> Pass-through specialization that forwards traits for const lvalue reference expression types.classexpression_traits<const T &&> Pass-through specialization that forwards traits for const rvalue reference expression types.classexpression_traits<expression_cast<T, Arg>>classexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>classexpression_traits<expression_counter<T, Dims>>classexpression_traits<expression_fixshape<Arg, fixed_shape_t<ShapeValues...>>>classexpression_traits<expression_handle<T, Dims>>expression_traitsspecialization forexpression_handle.classexpression_traits<expression_lambda<T, Dims, Fn, Rnd>>classexpression_traits<expression_linspace<T, truncated>>classexpression_traits<expression_padded<Arg>>classexpression_traits<expression_placeholder<T, Dims, Key>>expression_traitsspecialization forexpression_placeholder.classexpression_traits<expression_reshape<Arg, OutDims>>classexpression_traits<expression_reverse<Arg>>classexpression_traits<expression_scalar<T>>classexpression_traits<expression_slice<Arg>>classexpression_traits<strided_channel<T>>classexpression_traits<T> Primary traits template for expressions.classexpression_traits<T &> Pass-through specialization that forwards traits for lvalue reference expression types.classexpression_traits<T &&> Pass-through specialization that forwards traits for rvalue reference expression types.classexpression_traits<T> Specialization ofexpression_traitsfor scalar vector element types.classexpression_traits<tensor<T, Dims>> Expression traits for tensor, enabling its use as an expression argument.classexpression_traits<univector<T, Tag>> Expression traits forunivector, allowing it to participate in KFR expression evaluation.classexpression_triangular<T> Triangular window expressionclassexpression_tukey<T> Tukey window expression (tapered cosine, numpy-compatible)constructorexpression_tukey<T>::expression_tukey<T>(size_t, T, window_symmetry)classexpression_unpack<E> Expression that writes a single vector-valued input into several output expressions.constructorexpression_unpack<E>::expression_unpack<E...>(E &&...)typedefexpression_value_type Helper alias that extracts the value type of an expression.classexpression_vtable<T, Dims> Virtual table providing type-erased access to an expression of value typeTand dimensionalityDims.functionexpression_vtable<T, Dims>::expression_vtable<T, Dims>(ctype_t<Expression>) Build the vtable for concrete expression typeExpression.classexpression_window_with_metrics<T, metrics> Base class for windows parameterized by a linspace and a scalar argumentconstructorexpression_window_with_metrics<T, metrics>::expression_window_with_metrics<T, metrics>(size_t, T, window_symmetry)classexpression_window<T> Base class for all window expressionsconstructorexpression_window<T>::expression_window<T>(size_t)deduction guideexpression_with_arguments Deduction guide forexpression_with_arguments.classexpression_with_arguments<Arg> Single-argument specialization ofexpression_with_arguments.constructorexpression_with_arguments<Arg>::expression_with_arguments<Arg>(Arg &&) Constructs the expression from a single argument.classexpression_with_arguments<Args> Holds the arguments of an expression along with their dimension masks.constructorexpression_with_arguments<Args>::expression_with_arguments<Args...>(arg<Args &&>...) Constructs the expression from a pack of arguments.classexpression_with_traits<Arg> Wraps a single-argument expression and forwards its traits.functionextend(const vec<T, 1> &) Extends a single-element vector to lengthNoutby repeating its value.functionextend(const vec<T, N> &) Resizes a multi-element vector to lengthNoutby cyclic repetition or truncation.functionextend(const vec<T, N> &) Identity overload of extend() for theNout==Ncase.functionshape<Dims>::extend(index_t) Promote the shape to a higher rank by prepending axes.functionshape<0>::extend(index_t) Promote the scalar shape to a higher rank by prepending axes of sizevalue.
F¶
enum constantdatatype::fvariableepsilon_scope<void>::fenum constantdatatype::f16structf16 16-bit half-precision floating-point value stored as raw bits.constructorf16::f16() Default constructor leaving the value uninitialized.constructorf16::f16(f32) Converts a single-precision value to IEEE 754 binary16.typedeff32enum constantdatatype::f32enum constantaudio_sample_type::f32typedeff32_reader float readertypedeff32_writer float writertypedeff32x1 Short alias forvec<T, N>.typedeff32x16typedeff32x2typedeff32x2x2typedeff32x3typedeff32x32typedeff32x4typedeff32x4x4typedeff32x64typedeff32x8typedeff64enum constantdatatype::f64enum constantaudio_sample_type::f64typedeff64x1typedeff64x16typedeff64x2typedeff64x2x2typedeff64x3typedeff64x32typedeff64x4typedeff64x4x4typedeff64x64typedeff64x8typedeff80enum constantdatatype::f80conceptf_classfunctiondft_resampler_params::factor() Returns the absolute resampling factor (2^|shift|).functiondft_resampler<T>::factor() Returns the resampling factor (a power of two, >= 1).functionfactorial_approx(const T1 &) Returns the approximate factorial of an argument.functionfactorial_approx(E1 &&) Creates an expression that returns the approximate factorial of x.variablefactorial_table Lookup table of exact factorial values for 0 <= n <= 20.functionfactorial(int) Returns the exact factorial of an argument.variableplatform<cpu_t::common>::fast_unalignedvariableplatform<cpu_t::avx>::fast_unalignedfunctionfastcos(const T1 &) Returns a fast (lower-precision) approximation of the trigonometric cosine of x.functionfastcosdeg(const T1 &) Returns a fast (lower-precision) approximation of the trigonometric cosine of the angle expressed in degrees.functionfastcosdeg(E1 &&) Creates an expression that returns an approximation of the trigonometric cosine of x (expressed in degrees).functionfastcos(E1 &&) Creates an expression that returns an approximation of the trigonometric cosine of x.functionfastsin(const T1 &) Returns a fast (lower-precision) approximation of the trigonometric sine of x.functionfastsindeg(const T1 &) Returns a fast (lower-precision) approximation of the trigonometric sine of the angle expressed in degrees.functionfastsindeg(E1 &&) Creates an expression that returns an approximation of the trigonometric sine of x (expressed in degrees).functionfastsin(E1 &&) Creates an expression that returns an approximation of the trigonometric sine of x.typedeffbasefunctionfbitcast(const From &) Reinterpret the bits of a scalarvalueas its floating-point counterpart type.functionfbitcast(const vec<From, N> &) Reinterpret the bits of a vector as a vector of its floating-point counterpart type.variableconvolve_filter<T>::fftfunctionfft_multiply_accumulate(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, const univector<complex<T>, Tag3> &, const univector<complex<T>, Tag4> &, dft_pack_format) Multiply-accumulate of two spectra with an addend into a destination.functionfft_multiply_accumulate(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, const univector<complex<T>, Tag3> &, dft_pack_format) Multiply-accumulate of two spectra into a destination.functionfft_multiply(univector<complex<T>, Tag1> &, const univector<complex<T>, Tag2> &, const univector<complex<T>, Tag3> &, dft_pack_format) Element-wise multiplication of two spectra (convolution in time domain).variablefile_handle::filefunctionfile_extension(const file_path &)structfile_handleconstructorfile_handle::file_handle()destructorfile_handle::~file_handle()constructorfile_handle::file_handle(const file_handle &)constructorfile_handle::file_handle(FILE *)constructorfile_handle::file_handle(file_handle &&)typedeffile_pathclassfile_reader<T> Typed file readerdestructorfile_reader<T>::~file_reader<T>()constructorfile_reader<T>::file_reader<T>(file_handle &&)classfile_writer<T> Typed file writerdestructorfile_writer<T>::~file_writer<T>()constructorfile_writer<T>::file_writer<T>(file_handle &&)typedeffilepathvariableexpression_padded<Arg>::fill_valuefunctionaudio_data<IsInterleaved>::fill(fbase) Fills the audio data with the specified value.variablesamplerate_converter<T>::filter Filter coefficients.variableexpression_filter<T>::filter_expr The wrapped placeholder expression.typedeffilter_fir Alias forfunctiondft_resampler<T>::filter_length() Returns the designed filter length (in filter-rate samples).functionsamplerate_converter<T>::filter_order(sample_rate_conversion_quality) Computes the filter order for a given quality level.classfilter<T> Abstract base class for single-argument filters, mainly intended for DSP processing.destructorfilter<T>::~filter<T>() Destructor.functionfiltfilt(univector<T, Tag> &, const iir_params<T, Itag> &) Applies forward and backward filtering to the input array using the given IIR filter parameters.functionfinal_mean(T, size_t) Finalizer formean.functionfinal_rootmean(T, size_t) Finalizer forrms.variableexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::finalfnfunctiontensor<T, NDims>::finalizer() Returns the memory finalizer holding the data alive.functionaudio_data<IsInterleaved>::find_peak()typedeffindinttypefunctionfir_bandpass(const univector_ref<T> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool)functionfir_bandpass(univector<T, Tag> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool) Calculates coefficients for the band-pass FIR filter using the windowed-sinc method.functionfir_bandstop(const univector_ref<T> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool)functionfir_bandstop(univector<T, Tag> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool) Calculates coefficients for the band-stop (notch) FIR filter using the windowed-sinc method.classfir_filter<T, U> Runtime FIR filter implementing thefilter<U>interface.constructorfir_filter<T, U>::fir_filter<T, U>(fir_state<T, U>) Construct from afir_state.functionfir_highpass(const univector_ref<T> &, std::type_identity_t<T>, const expression_handle<T> &, bool)functionfir_highpass(univector<T, Tag> &, std::type_identity_t<T>, const expression_handle<T> &, bool) Calculates coefficients for the high-pass FIR filter using the windowed-sinc method.functionfir_lowpass(const univector_ref<T> &, std::type_identity_t<T>, const expression_handle<T> &, bool)functionfir_lowpass(univector<T, Tag> &, std::type_identity_t<T>, const expression_handle<T> &, bool) Calculates coefficients for the low-pass FIR filter using the windowed-sinc method.deduction guidefir_params Deduction guide forfir_paramsfrom an arbitrary container.classfir_params<T> Parameters of a generic FIR filter: the tap vector.constructorfir_params<T>::fir_params<T>(const fir_params<T> &)constructorfir_params<T>::fir_params<T>(const T *, size_t) Construct from a raw pointer and size (taps are reversed internally).functionfir_params<T>::fir_params<T>(Cont &&) Construct from any container satisfyinghas_data_size.constructorfir_params<T>::fir_params<T>(fir_params<T> &&)constructorfir_params<T>::fir_params<T>(univector<T> &&) Construct by moving a tap vector (taps are reversed internally).deduction guidefir_state Deduction guide forfir_statefrom an arbitrary container.classfir_state<T, U> State of a generic FIR filter: parameters plus a ring-buffer delay line.constructorfir_state<T, U>::fir_state<T, U>(const fir_state<T, U> &)functionfir_state<T, U>::fir_state<T, U>(Cont &&) Construct from a tap container (taps are reversed byfir_params).constructorfir_state<T, U>::fir_state<T, U>(fir_params<T>) Construct fromfir_params(taps are taken as-is, already reversed).constructorfir_state<T, U>::fir_state<T, U>(fir_state<T, U> &&)typedeffir_taps Alias for a fixed-size vector of FIR filter coefficients.functionfir(E1 &&, fir_params<T>) Returns template expression that applies FIR filter to the input.functionfir(E1 &&, std::reference_wrapper<fir_state<T, U>>) Returns template expression that applies FIR filter to the input.functionfir(E1 &&, Taps &&) Returns template expression that applies FIR filter to the input.functionfir(fir_state<T, U> &, E1 &&) Returns template expression that applies FIR filter to the input.functionexpression_with_arguments<Args>::first() Returns a reference to the first argument.functionexpression_with_arguments<Args>::first() Returns a const reference to the first argument.functionexpression_with_arguments<Arg>::first() Returns a reference to the stored argument.functionexpression_with_arguments<Arg>::first() Returns a const reference to the stored argument.typedefexpression_with_arguments<Args>::first_arg Alias for the type of the first argument.typedefexpression_with_arguments<Arg>::first_arg Alias for the argument type.typedefexpression_with_arguments<Args>::first_arg_traits Traits of the first argument.typedefexpression_with_arguments<Arg>::first_arg_traits Traits of the argument.typedefexpression_with_traits<Arg>::first_arg_traitstypedefexpression_unpack<E>::first_arg_traitstypedefexpression_dimensions<Dims, E>::first_arg_traitstypedefexpression_unpack<E>::first_value_typetypedeffix_typevariablefixed_shape Convenience variable template for instantiating afixed_shape_t.classfixed_shape_t<Values> Type-level storage for a fixedshapebuilt from a list of constants.constructorfixed_shape_t<Values>::fixed_shape_t<Values...>()functionfixshape(Arg &&, const fixed_shape_t<ShapeValues...> &) Creates an expression that overrides the shape ofargwith a compile-time shape.enum constantaudiofile_container::flac FLACenum constantaudiofile_codec::flacstructflac_decoding_options Options for decoding FLAC audio files.structflac_encoding_options Represents options for FLAC audio encoding.functiontensor<T, NDims>::tensor_iterator::flat_index() Returns the flat (linear) index of the current element.functionvec<T, N>::flatten()functiontensor<T, NDims>::flatten() Returns a 1D tensor view of the data.functiontensor<T, NDims>::flatten_may_copy(bool) Returns a 1D tensor view of the data, copying if necessary.functionflatten(const vec<From, N> &)enum constantwindow_type::flattoptypedefopencl_names::float16typedefopencl_names::float2typedefopencl_names::float3typedefopencl_names::float4typedefopencl_names::float8typedeffloat_type Maps a bit width to the corresponding floating-point type (32 -> float, 64 -> double)variablefloat_typesvariablefloat_vector_types Instance of float_vector_types_t for use as a value parameter pack.typedeffloat_vector_types_t Type list of floating-point vector instantiations for the test sizes.enum constantspecial_constant::floating_point floating-point literal carried byfunctionfloor_div(long long, long long)functionfloor(const T1 &) Returns the largest integer value not greater thanx.functionfloor(E1 &&) Creates an expression that returns the largest integer value not greater thanx.typedefflt_typefunctionfmadd(const T1 &, const T2 &, const T3 &) Fused multiply-add.typedeffmaxfunctionfmod(const T &, const T &) Returns the floating-point remainder of dividingxbyy.functionfmsub(const T1 &, const T2 &, const T3 &) Fused multiply-subtract.variabledft_plan_real<T>::fmt Packing format of the complex spectrum.classfmt_t<T, t, width, prec> Wrapper that carries a value together with printf-style format options.functionfmt(const T &) Wrapvaluewith a custom conversion specifier.functionfmtwidth(const T &) Wrapvaluewith only width/precision, keeping the default conversion specifier.namespacefnvariableexpression_function<Fn, Args>::fn Callable applied to the arguments.variableexpression_lambda<T, Dims, Fn, Rnd>::fnvariableexpression_adjacent<Fn, E>::fnvariableexpression_vtable<T, Dims>::fn_begin_pass begin_pass callback.variableexpression_vtable<T, Dims>::fn_end_pass end_pass callback.namespacefn_genericvariableexpression_vtable<T, Dims>::fn_get_elements get_elements callbacks per axis/size.structfn_get_firststructfn_get_secondstructfn_get_thirdstructfn_is_betweenstructfn_is_equalstructfn_is_greaterstructfn_is_greaterorequalstructfn_is_lessstructfn_is_lessorequalstructfn_is_notequalclassfn_noinline<Fn> Functor wrapper that invokesFnthroughnoinline.structfn_noopstructfn_pass_throughvariableexpression_vtable<T, Dims>::fn_reset reset callback.classfn_return_constant<T, value> Functor returning a fixed constant of typeT, ignoring all arguments.classfn_returns<T>variableexpression_vtable<T, Dims>::fn_set_elements set_elements callbacks per axis/size.variableexpression_vtable<T, Dims>::fn_shapeof Shape query callback.variableexpression_vtable<T, Dims>::fn_substitute Placeholder substitution callback.variablescalar_constants<T>::fold_constant_div Constantπ/2used as the folding divisor in trigonometric argument reduction.variablescalar_constants<T>::fold_constant_hi High part of theπ/2folding constant (Cody-Waite reduction).variablescalar_constants<T>::fold_constant_rem1 First remainder term of theπ/2folding constant (Cody-Waite reduction).variablescalar_constants<T>::fold_constant_rem2 Second remainder term of theπ/2folding constant (Cody-Waite reduction).functionexpression_with_arguments<Args>::fold_idx(Fn &&) Folds a callable over compile-time indices of the arguments.functionexpression_with_arguments<Arg>::fold_idx(Fn &&) Folds a callable over the compile-time index of the argument.functionexpression_with_arguments<Args>::fold(Fn &&) Folds a callable over the stored arguments, passing them by value.functionexpression_with_arguments<Arg>::fold(Fn &&) Folds a callable over the stored argument.functionfopen_path(const file_path &, open_file_mode)functionaudio_data<IsInterleaved>::for_channel(Fn &&) Applies a given function to the audio data for each channel.variableforce_compiletime_size_t Forces a compile-time evaluation of the givensize_tvalue.functionaudio_reader<T>::format() Returns audio format descriptionfunctionaudio_writer<T>::format() Returns audio format descriptionfunctionaudio_writer_wav<T>::format()functionaudio_reader_wav<T>::format() Returns audio format descriptionfunctionaudio_reader_flac<T>::format() Returns audio format descriptionfunctionaudio_reader_mp3<T>::format() Returns audio format descriptionfunctionaudio_decoder::format() Retrieves the format of the currently opened audio file.variableraw_decoding_options::formatfunctionaudio_encoder::format() Retrieves the current audio file format.enum constantaudiofile_error::format_error The audio file format is invalid or unsupported.classformat_t<chars> Callable object holding a compile-time format literal (built byoperator""_format).functionformat(const std::string &, const Args &...) Format values into astd::stringusing a{}"-basedformat string.enum constantdft_family::fourstep Four-step FFT family.enum constantdft_algorithm::fourstep Four-step FFT algorithm.functionfprintfmt(FILE *, const std::string &, const Args &...) Print to a filefusing a{}"-basedformat string.functionfracdelay(E1 &&, T) Returns template expression that applies a fractional delay to the inputfunctionfract(const T1 &) Returns the fractional part ofx.functionfract(E1 &&) Creates an expression that returns the fractional part ofx.structfraction Exact rational number represented as a numerator/denominator pair.constructorfraction::fraction(i64, i64) Construct a fraction from a numerator and denominator.variablestopwatch::frequency Tick frequency of the underlying clock, captured at construction.functionfrom_error_code(std::error_code) Converts a standard error code to an audiofile_error.functionshape<Dims>::from_flat(size_t) Convert a flat offset to multi-dimensional indices.functionshape<0>::from_flat(size_t) Inverse ofto_flat: returns the empty shape.functionvec<T, N>::from_flatten(const vec<ST, SN> &) Reconstruct a (possibly compound) vector from a flat scalar vector.structfrom_lambda Tag type used to select thevecconstructor that initializes elements from an index-based generator function.functionfrom_maskbits(T) Interpretsvalueas a signed integer and tests the sign bit.functionf16::from_raw(u16)functionshape<Dims>::from_std_array(const std::array<TI, Dims> &) Build ashapefrom astd::array.functionvec<T, N>::frombits(const vec<U, M> &) Reinterpret the bits ofvas a vector of this type.functioncvals_t<T, values>::front() Returns the first valuefunctionportable_vec<T, N>::front()functionportable_vec<T, N>::front()functionvec<T, N>::front() Read the first element from a const lvalue vector.functionvec<T, N>::front() Read the first element from an rvalue vector.functionvec<T, N>::front() Access the first element of a non-const lvalue vector.functionexpression_counter<T, Dims>::front()functionarray_ref<T>::front()functioninline_vector<T, N>::front() Returns a reference to the first element.functioninline_vector<T, N>::front() Returns a const reference to the first element.functionsmall_buffer<T, Capacity>::front()functionsmall_buffer<T, Capacity>::front()typedeffsubtypetypedefftypetypedefsamplerate_converter<T>::ftypetypedefexpression_vtable<T, Dims>::func_get Signature of a get_elements callback: readNsamples intodest.typedefexpression_vtable<T, Dims>::func_pass Signature of the begin_pass/end_pass callbacks.typedefexpression_vtable<T, Dims>::func_reset Signature of the reset callback.typedefexpression_vtable<T, Dims>::func_set Signature of a set_elements callback: writeNsamples fromsrc.typedefexpression_vtable<T, Dims>::func_shapeof Signature of the shape query callback.typedefexpression_vtable<T, Dims>::func_substitute Signature of the placeholder substitution callback.typedeffunction_arguments Extracts the argument types of a functor'stypedeffunction_result Extracts the return type of a functor's
G¶
functiongamma(const T1 &) Returns the approximate gamma function of an argument.functiongamma(E1 &&) Creates an expression that returns the approximate gamma function of x.functiongather_stride(const T *) GathersNoutelements frombaseat compile-time strideStride.functiongather_stride(const T *, size_t) GathersNoutgroups ofgroupsizecontiguous elements frombaseseparated bystride.functiongather(const T *) Gathers elements frombaseat the given compile-time indices.functiongather(const T *, const vec<IT, N> &) GathersNgroups ofgroupsizecontiguous elements frombaseusing a vector of offsets.functiongather(const T *, const vec<u32, N> &) Gathers elements frombaseusing a vector of indices.functiongather(const T *, size_t, Indices...) Gathers elements frombaseat the given runtime indices.enum constantwindow_type::gaussianfunctionshape<Dims>::ge(const shape<dims> &) Element-wise greater-than-or-equal comparison.functionge(E1 &&, E2 &&) Creates an expression that returns whethere1is greater than or equal toe2.functiongen_cossin(T1, T2) Creates an expression that generates values using the following formula:\\[ x_i= \begin{cases} \cos(start + i \cdot step), & \text{if } i \text{ is even}\\ \sin(start + i \cdot step), & \text{otherwise} \end{cases} \\]functiongen_exp2(T1, T2) Creates an expression that generates values using the following formula:\\[ x_i = 2^{ start + i \cdot step } \\]functiongen_expj(T1, T2) Creates an expression that generates values using the following formula:\\[ x_i = e^{ j ( start + i \cdot step ) } \\]functiongen_exp(T1, T2) Creates an expression that generates values using the following formula:\\[ x_i = e^{ start + i \cdot step } \\]functiongen_linear(T1, T2) Creates an expression that generates values starting fromstartand usingstepas the increment between successive numbers.functiongen_random_normal(const random_state &, T, T) Creates an expression that produces normally distributed values using a copied state.functiongen_random_normal(std::reference_wrapper<random_state>, T, T) Creates an expression that produces normally distributed values using a referenced state.functiongen_random_normal(T, T) Creates an expression that produces normally distributed values seeded from the cycle counter.functiongen_random_range(const random_state &, T, T) Creates an expression that produces random values in [min, max) using a copied state.functiongen_random_range(std::reference_wrapper<random_state>, T, T) Creates an expression that produces random values in [min, max) using a referenced state.functiongen_random_range(T, T) Creates an expression that produces random values in [min, max) seeded from the cycle counter.functiongen_random_uniform() Creates an expression that produces uniform pseudorandom values in [0, 1) seeded from the cycle counter.functiongen_random_uniform(const random_state &) Creates an expression that produces uniform pseudorandom values in [0, 1) using a copied state.functiongen_random_uniform(std::reference_wrapper<random_state>) Creates an expression that produces uniform pseudorandom values in [0, 1) using a referenced state.functiongen_sin(T1, T2) Creates an expression that generates values using the following formula:\\[ x_i = \sin( start + i \cdot step ) \\]functiongenerator<T, VecWidth, Class, Twork>::generate() Produces a vector ofNvalues from the generator and advances its internal state.functiongenerate_vector() Generates a vector of lengthNoutby invokingFnat each compile-time index.classgenerator_cossin<T, VecWidth> Generator that produces interleaved cosine and sine values\\[ x_i = \begin{cases} \cos(start + i \cdot step), & \text{if } i \text{ is even}\\ \sin(start + i \cdot step), & \text{otherwise} \end{cases} \\]constructorgenerator_cossin<T, VecWidth>::generator_cossin<T, VecWidth>(T, T) Constructs an interleaved cosine/sine generator.classgenerator_exp2<T, VecWidth> Generator that produces a base-2 exponential sequence \(x_i = 2^{ start + i \cdot step }\) .constructorgenerator_exp2<T, VecWidth>::generator_exp2<T, VecWidth>(T, T) Constructs a base-2 exponential generator.classgenerator_expj<T, VecWidth> Generator that produces a complex exponential \(x_i = e^{ j ( start + i \cdot step ) }\) .constructorgenerator_expj<T, VecWidth>::generator_expj<T, VecWidth>(ST, ST) Constructs a complex exponential generator.classgenerator_exp<T, VecWidth> Generator that produces an exponential sequence \(x_i = e^{ start + i \cdot step }\) .constructorgenerator_exp<T, VecWidth>::generator_exp<T, VecWidth>(T, T) Constructs an exponential generator.classgenerator_linear<T, VecWidth> Generator that produces an arithmetic progression \(x_i = start + i \cdot step\) .constructorgenerator_linear<T, VecWidth>::generator_linear<T, VecWidth>(T, T) Constructs a linear generator.classgenerator_sin<T, VecWidth> Generator that produces sine values \(x_i = \sin( start + i \cdot step )\) .constructorgenerator_sin<T, VecWidth>::generator_sin<T, VecWidth>(T, T) Constructs a sine generator.classgenerator<T, VecWidth, Class, Twork> CRTP base for stateful streaming generators that produce fixed-width vectors of values on demand.enum constantcpu_t::genericnamespacegenericfunctionspecial_value::get() Returns the value converted to typefunctionvec<T, N>::get() Get element at compile-timeindex(template parameter form).functionfixed_shape_t<Values>::get()functionexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::get() Returns the reduced value.functionintegrated_vec<T>::get() Return the integrated loudness in LUFS, recomputing if needed.functionget_cpu() Returns the CPU instruction set selected for use at runtime.functionsamplerate_converter<T>::get_delay() Gets the integer delay introduced by the resampler.functionget_element(E &&, shape<Dims>) Reads a single element from an expression at the given index.functionexpression_adjacent<Fn, E>::get_elements(const expression_adjacent<Fn, E> &, shape<dims>, axis_params<VecAxis, N>)functionexpression_bartlett_hann<T>::get_elements(const expression_bartlett_hann<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_bartlett<T>::get_elements(const expression_bartlett<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_blackman_harris<T>::get_elements(const expression_blackman_harris<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_blackman<T>::get_elements(const expression_blackman<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_bohman<T>::get_elements(const expression_bohman<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_cast<T, Arg> &, const shape<NDims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionget_elements(const expression_concatenate<Arg1, Arg2, ConcatAxis> &, const shape<NDims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionexpression_cosine_np<T>::get_elements(const expression_cosine_np<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_cosine<T>::get_elements(const expression_cosine<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_counter<T, 1> &, const shape<1> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionget_elements(const expression_counter<T, dims> &, const shape<dims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionexpression_delay<1, E, stateless, STag>::get_elements(const expression_delay<1, E, stateless, STag> &, shape<1>, axis_params<0, N>)functionexpression_delay<delay, E, stateless, STag>::get_elements(const expression_delay<delay, E, stateless, STag> &, shape<1>, axis_params<0, 1>)functionexpression_delay<delay, E, stateless, STag>::get_elements(const expression_delay<delay, E, stateless, STag> &, shape<1>, axis_params<0, N>)functionexpression_dimensions<Dims, E>::get_elements(const expression_dimensions<Dims, E> &, shape<dims>, axis_params<VecAxis, N>)functionexpression_fir<T, U, E1, stateless>::get_elements(const expression_fir<T, U, E1, stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forexpression_firexpressions.functionget_elements(const expression_fixshape<Arg, Shape> &, const shape<Traits::dims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionexpression_flattop<T>::get_elements(const expression_flattop<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_function<Fn, Args...> &, const shape<Dims> &, const axis_params<Axis, N> &) Reads a vector of elements from anexpression_function.functionexpression_gaussian<T>::get_elements(const expression_gaussian<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_hamming<T>::get_elements(const expression_hamming<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_handle<T, NDims> &, const shape<NDims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forexpression_handleexpressions.functionexpression_hann<T>::get_elements(const expression_hann<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_histogram<Bins, E, TCount>::get_elements(const expression_histogram<Bins, E, TCount> &, const shape<expression_with_traits<E>::dims> &, const axis_params<Axis, N> &)functionget_elements(const expression_iir<1, T, E1, Stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_iir_l<filters, T, E1, Stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_iir<filters, T, E1, Stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_kaiser<T>::get_elements(const expression_kaiser<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_lambda<T, Dims, Fn, Rnd> &, const shape<Dims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionexpression_lanczos<T>::get_elements(const expression_lanczos<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_linspace<T, truncated> &, const shape<1> &, const axis_params<0, N> &) Internal ADL-provided implementation forfunctionexpression_moving_sum<U, E1, STag, stateless>::get_elements(const expression_moving_sum<U, E1, STag, stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forexpression_moving_sumexpressions.functionget_elements(const expression_padded<Arg> &, const shape<Traits::dims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionget_elements(const expression_placeholder<T, Dims, Key> &, shape<Dims>, axis_params<VecAxis, N>) Internal ADL-provided implementation forexpression_placeholderexpressions.functionexpression_planck_taper<T>::get_elements(const expression_planck_taper<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_random_normal<T, Dims, Reference>::get_elements(const expression_random_normal<T, Dims, Reference> &, shape<Dims>, axis_params<VecAxis, N>) Internal ADL-provided implementation forfunctionexpression_random_range<T, Dims, Reference>::get_elements(const expression_random_range<T, Dims, Reference> &, shape<Dims>, axis_params<VecAxis, N>) Internal ADL-provided implementation forfunctionexpression_random_uniform<T, Dims, Reference>::get_elements(const expression_random_uniform<T, Dims, Reference> &, shape<Dims>, axis_params<VecAxis, N>) Internal ADL-provided implementation forfunctionexpression_rectangular<T>::get_elements(const expression_rectangular<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_reshape<Arg, outdims> &, const shape<Traits::dims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionget_elements(const expression_reverse<Arg> &, const shape<Traits::dims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionget_elements(const expression_scalar<T> &, const shape<0> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionexpression_short_fir<tapcount, T, U, E1, stateless>::get_elements(const expression_short_fir<tapcount, T, U, E1, stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forexpression_short_firexpressions.functionget_elements(const expression_slice<Arg> &, const shape<NDims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation forfunctionexpression_trace<E>::get_elements(const expression_trace<E> &, shape<dims>, axis_params<VecAxis, N>)functionexpression_triangular<T>::get_elements(const expression_triangular<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_tukey<T>::get_elements(const expression_tukey<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctiongenerator<T, VecWidth, Class, Twork>::get_elements(const generator<T, VecWidth, Class, Twork> &, const shape<1> &, const axis_params<0, N> &) Internal ADL-provided implementation forgeneratorexpressions. Returns a vector ofNgenerated values at the givenindex.functionget_elements(const strided_channel<T> &, const shape<1> &, const axis_params<0, N> &)functionget_elements(const tensor<T, NDims> &, const shape<NDims> &, const axis_params<Axis, N> &) Internal ADL-provided implementation for tensor expressions. ReadsNelements alongAxisstarting atindexfromself.functionget_elements(const univector<T, Tag> &, const shape<1> &, const axis_params<0, N> &) Internal ADL-provided implementation forget_elementsexpressions.functionget_elements(T &&, const shape<0> &, const axis_params<Axis, N> &) Returns a scalar element broadcast to a vector.typedeffn_generic::get_firstfunctionget_first(T1 &&, Ts &&...) Function that returns its first argument and ignores all other argumentsfunctionsamplerate_converter<T>::get_fractional_delay() Gets the fractional delay introduced by the resampler.functiontensor<T, NDims>::get_range(index_t &, index_t &, index_t &, signed_index_t, const tensor_range &) Computes the range for a tensor_range specifier. Handles optional start/stop/step, negative indices, and clamping to the axis size.functiontensor<T, NDims>::get_range(index_t &, index_t &, index_t &, signed_index_t, index_t) Computes the range for a single integer index.functiontensor<T, NDims>::get_ranges(shape_type &, shape_type &, shape_type &, cvals_t<index_t, Num...>, const std::tuple<Index...> &) Computes the start, shape, and step for each axis given a set of indices and ranges. Axes without a corresponding index cover the full extent of the axis.typedeffn_generic::get_secondfunctionget_second(T1, T2 &&, Ts &&...) Function that returns its second argument and ignores all other argumentsfunctionget_shape() Returns the static shape of an expression type.functionexpression_traits<T>::get_shape()functionexpression_with_traits<Arg>::get_shape()functionexpression_function<Fn, Args>::get_shape() Returns the static shape of the expression type.functionexpression_discard<Tin, Dims>::get_shape()functionexpression_traits<expression_scalar<T>>::get_shape()functionexpression_traits<expression_counter<T, Dims>>::get_shape()functionexpression_traits<expression_slice<Arg>>::get_shape()functionexpression_traits<expression_cast<T, Arg>>::get_shape()functionexpression_traits<expression_lambda<T, Dims, Fn, Rnd>>::get_shape()functionexpression_traits<expression_padded<Arg>>::get_shape()functionexpression_traits<expression_reverse<Arg>>::get_shape()functionexpression_traits<expression_fixshape<Arg, fixed_shape_t<ShapeValues...>>>::get_shape()functionexpression_traits<expression_reshape<Arg, OutDims>>::get_shape()functionexpression_traits<expression_linspace<T, truncated>>::get_shape()functionexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>::get_shape()functionexpression_unpack<E>::get_shape()functionexpression_dimensions<Dims, E>::get_shape()functionexpression_traits<univector<T, Tag>>::get_shape() Returns the static shape of the univector type. For fixed-size vectors this is the compile-time size; otherwise it isundefined_size.functionexpression_traits<expression_handle<T, Dims>>::get_shape() Static shape query: undefined for an unbound handle.functionexpression_traits<expression_placeholder<T, Dims, Key>>::get_shape() Static shape query: undefined for an unbound placeholder.functiongenerator<T, VecWidth, Class, Twork>::get_shape()functionexpression_traits<tensor<T, Dims>>::get_shape() Returns the static shape of the expression, with undefined extents.functionexpression_random_uniform<T, Dims, Reference>::get_shape()functionexpression_random_range<T, Dims, Reference>::get_shape()functionexpression_random_normal<T, Dims, Reference>::get_shape()functionexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::get_shape()functionexpression_window<T>::get_shape()functionexpression_delay<delay, E, stateless, STag>::get_shape()functionexpression_delay<1, E, stateless, STag>::get_shape()functionexpression_goertzel<T>::get_shape()functionexpression_parallel_goertzel<T, width>::get_shape()functionexpression_traits<strided_channel<T>>::get_shape()functiongenerator<T, VecWidth, Class, Twork>::get_shape(const Class &)functionexpression_traits<expression_cast<T, Arg>>::get_shape(const expression_cast<T, Arg> &)functionexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>::get_shape(const expression_concatenate<Arg1, Arg2, ConcatAxis> &)functionexpression_traits<expression_counter<T, Dims>>::get_shape(const expression_counter<T, Dims> &)functionexpression_delay<1, E, stateless, STag>::get_shape(const expression_delay<1, E, stateless, STag> &)functionexpression_delay<delay, E, stateless, STag>::get_shape(const expression_delay<delay, E, stateless, STag> &)functionexpression_dimensions<Dims, E>::get_shape(const expression_dimensions<Dims, E> &)functionexpression_discard<Tin, Dims>::get_shape(const expression_discard<Tin, Dims> &)functionexpression_traits<expression_fixshape<Arg, fixed_shape_t<ShapeValues...>>>::get_shape(const expression_fixshape<Arg, fixed_shape_t<ShapeValues...>> &)functionexpression_function<Fn, Args>::get_shape(const expression_function<Fn, Args...> &) Returns the shape of the expression instance.functionexpression_goertzel<T>::get_shape(const expression_goertzel<T> &)functionexpression_traits<expression_handle<T, Dims>>::get_shape(const expression_handle<T, Dims> &) Query the shape of the referenced expression via its vtable.functionexpression_traits<expression_lambda<T, Dims, Fn, Rnd>>::get_shape(const expression_lambda<T, Dims, Fn, Rnd> &)functionexpression_traits<expression_linspace<T, truncated>>::get_shape(const expression_linspace<T, truncated> &)functionexpression_traits<expression_padded<Arg>>::get_shape(const expression_padded<Arg> &)functionexpression_parallel_goertzel<T, width>::get_shape(const expression_parallel_goertzel<T, width> &)functionexpression_traits<expression_placeholder<T, Dims, Key>>::get_shape(const expression_placeholder<T, Dims, Key> &) Shape of the bound expression, orinfinite_sizewhen unbound.functionexpression_random_normal<T, Dims, Reference>::get_shape(const expression_random_normal<T, Dims, Reference> &)functionexpression_random_range<T, Dims, Reference>::get_shape(const expression_random_range<T, Dims, Reference> &)functionexpression_random_uniform<T, Dims, Reference>::get_shape(const expression_random_uniform<T, Dims, Reference> &)functionexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::get_shape(const expression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn> &)functionexpression_traits<expression_reshape<Arg, OutDims>>::get_shape(const expression_reshape<Arg, OutDims> &)functionexpression_traits<expression_reverse<Arg>>::get_shape(const expression_reverse<Arg> &)functionexpression_traits<expression_scalar<T>>::get_shape(const expression_scalar<T> &)functionexpression_traits<expression_slice<Arg>>::get_shape(const expression_slice<Arg> &)functionexpression_unpack<E>::get_shape(const expression_unpack<E...> &)functionexpression_window<T>::get_shape(const expression_window<T> &)functionexpression_with_traits<Arg>::get_shape(const expression_with_traits<Arg> &)functionexpression_traits<strided_channel<T>>::get_shape(const strided_channel<T> &)functionexpression_traits<T>::get_shape(const T &)functionexpression_traits<tensor<T, Dims>>::get_shape(const tensor<T, Dims> &) Returns the shape ofself.functionexpression_traits<univector<T, Tag>>::get_shape(const univector<T, Tag> &) Returns the runtime shape ofu.functionget_shape(T &&) Returns the shape of an expression instance.functionebu_channel<T>::get_speaker() Return the speaker role assigned to this channel.typedeffn_generic::get_thirdfunctionget_third(T1 &&, T2 &&, T3 &&, Ts &&...) Function that returns its third argument and ignores all other argumentsfunctiongenerator_sin<T, VecWidth>::get_value() Returns the sine components of the current interleaved cos/sin state.functionebu_r128<T>::get_values(T &, T &, T &, T &, T &) Read all measured loudness values.functionrepresentation<fmt_t<kfr::complex<T>, t, width, prec>>::get(const fmt_t<kfr::complex<T>, t, width, prec> &) Converts a formatted complex value to its string form.functionrepresentation<fmt_t<kfr::generic::vec<T, N>, t, width, prec>>::get(const fmt_t<kfr::generic::vec<T, N>, t, width, prec> &)functionrepresentation<fmt_t<kfr::tensor<T, dims>, t, width, prec>>::get(const fmt_t<kfr::tensor<T, dims>, t, width, prec> &) Returns the formatted string representation ofvalue.functionrepresentation<fmt_t<kfr::univector<T, Tag>, t, width, prec>>::get(const fmt_t<kfr::univector<T, Tag>, t, width, prec> &) Returns a string representation ofvaluewith per-element formatting.functionrepresentation<kfr::complex<T>>::get(const kfr::complex<T> &) Converts a complex value to its string form.functionrepresentation<kfr::fraction>::get(const kfr::fraction &)functionrepresentation<kfr::generic::mask<T, N>>::get(const kfr::generic::mask<T, N> &)functionrepresentation<kfr::generic::vec<T, N>>::get(const kfr::generic::vec<T, N> &)functionrepresentation<kfr::shape<dims>>::get(const kfr::shape<dims> &) Returns the string representation ofvalue.functionrepresentation<kfr::special_value>::get(const kfr::special_value &)functionrepresentation<kfr::tensor<T, dims>>::get(const kfr::tensor<T, dims> &) Returns the string representation ofvalue.functionrepresentation<kfr::univector<T, Tag>>::get(const kfr::univector<T, Tag> &) Returns a string representation ofvalue.functionrepresentation<named_arg<T>>::get(const named_arg<T> &)functionrepresentation<std::array<T, Size>>::get(const std::array<T, Size> &)functionrepresentation<std::pair<T1, T2>>::get(const std::pair<T1, T2> &)functionrepresentation<std::shared_ptr<T1>>::get(const std::shared_ptr<T1> &)functionrepresentation<std::shared_ptr<void>>::get(const std::shared_ptr<void> &)functionrepresentation<std::string_view>::get(const std::string_view &)functionrepresentation<std::unique_ptr<T1>>::get(const std::unique_ptr<T1> &)functionrepresentation<std::vector<T, Allocator>>::get(const std::vector<T, Allocator> &)functionrepresentation<std::weak_ptr<T1>>::get(const std::weak_ptr<T1> &)functionrepresentation<T>::get(const T &)functioncvals_t<T, values>::get(csize_t<index>) Returns the value atfunctionctypes_t<Ts>::get(csize_t<index>) Returns a ctype_t wrapping the type at positionfunctionvec<T, N>::get(csize_t<index>) Get element at compile-timeindex(compound element type).functiondft_cache_impl<int>::get(ctype_t<f32>, size_t)functiondft_cache_impl<int>::get(ctype_t<f64>, size_t)functionrepresentation<kfr::cpu_t>::get(kfr::cpu_t)functionrepresentation<kfr::npy_decode_result>::get(kfr::npy_decode_result)functionexpression_with_arguments<Args>::getmask(csize_t<idx>) Returns the dimension mask for the argument at positionidx.functionexpression_with_arguments<Arg>::getmask(csize_t<idx>) Returns the sentinel dimension mask for the single argument.functiondft_cache_impl<int>::getreal(ctype_t<f32>, size_t)functiondft_cache_impl<int>::getreal(ctype_t<f64>, size_t)functionvec<T, N>::get(size_t) Get element at runtimeindex(compound element type).functionunivector<T, Size>::get(size_t, value_type) Returns the element atindex,orfallback_valueifindexis out of range.functionunivector<T, tag_array_ref>::get(size_t, value_type) Returns the element atindex,orfallback_valueifindexis out of range.functionunivector<T, tag_dynamic_vector>::get(size_t, value_type) Returns the element atindex,orfallback_valueifindexis out of range.functionlra_vec<T>::get(T &, T &) Return the LRA percentile loudness bounds.namespaceglsl_namesfunctiongoertzel(complex<T> &, std::type_identity_t<T>) Create a single-bin Goertzel expression.functiongoertzel(complex<T> (&)[width], const T (&)[width]) Createwidthparallel Goertzel expressions.functiongreater(const T1 &, const T2 &) Element-wise greater-than comparison.functiongreaterorequal(const T1 &, const T2 &) Element-wise greater-or-equal comparison.functiongt(E1 &&, E2 &&) Creates an expression that returns whethere1is greater thane2.
H¶
variablevec<T, N>::(Anonymous union at simd/vec.hpp:831:5)::hfunctionhadd(const vec<T, N> &) Computes the sum of all elements in the vector.classhalf_comparison<L>constructorhalf_comparison<L>::half_comparison<L>(L &&)enum constantwindow_type::hammingvariableexpression_placeholder<T, Dims, Key>::handle Handle to the bound expression, or empty if unbound.variablefile_reader<T>::handlevariablefile_writer<T>::handleenum constantwindow_type::hannvariablecpu_features::has3DNOW AMD 3DNow! instructions.variablecpu_features::has3DNOWEXT AMD 3DNow! extension instructions.concepthas_begin_end Concept satisfied by types that supportfunctionaudio_decoder::has_chunk(std::span<const std::byte>) Checks if the file contains a chunk with the specified ID.functiontensor<T, NDims>::has_contiguous_strides(const shape_type &, const shape_type &) Returnstrueifstridesdescribe a packed layout in some axis order.concepthas_data_size Concept satisfied by types that supportconcepthas_expression_traits Concept that is satisfied whenexpression_traits<T>is well-formed.functionshape<Dims>::has_infinity() Detect theinfinite_sizesentinel among the axes.functionshape<0>::has_infinity() A scalar shape has no axes, so it can never containinfinite_size.variabletensor<T, NDims>::has_tensor_range Returnstrueif any ofIndex...is a tensor_range.variablecpu_features::hasABM AMD Advanced Bit Manipulation (LZCNT + POPCNT on AMD).variablecpu_features::hasADX ADX instruction set (arbitrary-precision add with carry).variablecpu_features::hasAES AES instruction set.variablecpu_features::hasAVX AVX instruction set (CPUID-reported, see hasAVXOSSUPPORT).variablecpu_features::hasAVX2 AVX2 instruction set.variablecpu_features::hasAVX512BW AVX-512 Byte and Word.variablecpu_features::hasAVX512CD AVX-512 Conflict Detection.variablecpu_features::hasAVX512DQ AVX-512 Doubleword and Quadword.variablecpu_features::hasAVX512ER AVX-512 Exponential and Reciprocal instructions.variablecpu_features::hasAVX512F AVX-512 Foundation.variablecpu_features::hasAVX512OSSUPPORT AVX-512 state enabled by the OS (XCR0[7:5] == 0b111).variablecpu_features::hasAVX512PF AVX-512 Prefetch.variablecpu_features::hasAVX512VL AVX-512 Vector Length extensions.variablecpu_features::hasAVXOSSUPPORT AVX state enabled by the OS (XCR0[2:1] == 0b11).variablecpu_features::hasBMI1 Bit Manipulation Instructions 1.variablecpu_features::hasBMI2 Bit Manipulation Instructions 2.variablecpu_features::hasCLFSH CLFLUSH instruction.variablecpu_features::hasCMOV CMOVcc conditional move.variablecpu_features::hasCMPXCHG16B CMPXCHG16B (128-bit compare-exchange).variablecpu_features::hasCX8 CMPXCHG8B (64-bit compare-exchange).variablecpu_features::hasERMS Enhanced REP MOVSB/STOSB.variablecpu_features::hasF16C F16C half-precision conversion.variablecpu_features::hasFMA Fused Multiply-Add (FMA3).variablecpu_features::hasFSGSBASE RDFSBASE/WRFSBASE instructions.variablecpu_features::hasFXSR FXSAVE/FXRSTOR.variablecpu_features::hasHLE Hardware Lock Elision (Intel only).variablecpu_features::hasINVPCID INVPCID instruction.variablecpu_features::hasLAHF LAHF/SAHF in 64-bit mode.variablecpu_features::hasLZCNT LZCNT instruction (Intel only).variablecpu_features::hasMMX MMX.variablecpu_features::hasMMXEXT AMD MMX extensions.variablecpu_features::hasMONITOR MONITOR/MWAIT.variablecpu_features::hasMOVBE MOVBE (move byte-swap).variablecpu_features::hasMSR Model-Specific Registers (RDMSR/WRMSR).variablecpu_features::hasOSXSAVE OS enables XSAVE/XRSTOR (CPUID.1:ECX[27]).variablecpu_features::hasPCLMULQDQ PCLMULQDQ carry-less multiplication.variablecpu_features::hasPOPCNT POPCNT instruction.variablecpu_features::hasPREFETCHWT1 PREFETCHWT1 (Intel Xeon Phi).variablecpu_features::hasRDRAND RDRAND random number.variablecpu_features::hasRDSEED RDSEED random seed.variablecpu_features::hasRDTSCP RDTSCP instruction (Intel only).variablecpu_features::hasRTM Restricted Transactional Memory (Intel only).variablecpu_features::hasSEP SYSENTER/SYSEXIT.variablecpu_features::hasSHA SHA instruction set.variablecpu_features::hasSSE SSE.variablecpu_features::hasSSE2 SSE2.variablecpu_features::hasSSE3 SSE3.variablecpu_features::hasSSE41 SSE4.1.variablecpu_features::hasSSE42 SSE4.2.variablecpu_features::hasSSE4a AMD SSE4a.variablecpu_features::hasSSSE3 SSSE3.variablecpu_features::hasSYSCALL SYSCALL/SYSRET (Intel only).variablecpu_features::hasTBM AMD Trailing Bit Manipulation.variablecpu_features::hasXOP AMD XOP.variablecpu_features::hasXSAVE XSAVE/XRSTOR.functionhavg(const vec<T, N> &) Computes the arithmetic mean (average) of all elements in the vector.functionhbitwiseand(const vec<T, N> &) Computes the bitwise AND of all elements in the vector.functionhbitwiseor(const vec<T, N> &) Computes the bitwise OR of all elements in the vector.functionhbitwisexor(const vec<T, N> &) Computes the bitwise XOR of all elements in the vector.functionhdot(const vec<T, N> &, const vec<T, N> &) Computes the dot product of two vectors.variablemoving_sum_state<U, Tag>::head_cursor Write cursor (newest sample).variablemoving_sum_state<U, tag_dynamic_vector>::head_cursor Write cursor (newest sample).functionmap_indices_impl<size, Fn>::helper(csizes_t<I...>)functionhertz_to_note(const T1 &) Convert a frequency in Hertz to a MIDI note number.functionhertz_to_note(E1 &&) Convert a frequency expression in Hertz to MIDI note numbers.variablevec_halves<T, N>::high Upper (remainder) half.enum constantsample_rate_conversion_quality::high High quality.functionspecial_scalar_constants<T>::highbitmask() Returns a value with only the most significant bit set.functionspecial_scalar_constants<float>::highbitmask() Returns negative zero, whose sign bit is set.functionspecial_scalar_constants<double>::highbitmask() Returns negative zero, whose sign bit is set.functionspecial_scalar_constants<bit<T>>::highbitmask() Mask with only the most significant bit set, expressed as a bit.functionhigh(const vec<T, N> &) Extracts the high subvector ofxwith non-power-of-two-aware sizing.enum constantcpu_t::highestfunctionhighhalf(const vec<T, N> &) Extracts the upper half ofx.functionhighhalf(vec_shape<T, N>) Shape-only overload of highhalf() for type deduction.enum constantbiquad_type::highpass Passes frequencies above the cutoff.enum constantbiquad_type::highshelf High-shelf equalizer filter.functionhigh(vec_shape<T, N>) Shape-only overload of high() for type deduction.classhistogram_data<Bins, TCount> Holds the bin counts for a histogram.constructorhistogram_data<Bins, TCount>::histogram_data<Bins, TCount>(size_t) Constructs a runtime-sized histogram.functionhistogram_expression(E &&) Creates an expression that computes a histogram as data flows through it.functionhistogram_expression(E &&, size_t) Creates an expression that computes a histogram as data flows through it.functionhistogram(E &&) Returns the histogram of the expression data.functionhistogram(E &&, size_t) Returns the histogram of the expression data.functionhmax(const vec<T, N> &) Computes the maximum element in the vector.functionhmin(const vec<T, N> &) Computes the minimum element in the vector.functionhmul(const vec<T, N> &) Computes the product of all elements in the vector.functionhorizontal(const vec<T, N> &, ReduceFn &&) Applies a reduction function horizontally across all elements of the vector.functionhorner_even(const T1 &, const Ts &...) Calculate polynomial using Horner's method (even powers)functionhorner_even(E &&...) Creates an expression that evaluates a polynomial with even powers using Horner's method.functionhorner_odd(const T1 &, const Ts &...) Calculate polynomial using Horner's method (odd powers)functionhorner_odd(E &&...) Creates an expression that evaluates a polynomial with odd powers using Horner's method.functionhorner(const T1 &, const Ts &...) Calculate polynomial using Horner's methodfunctionhorner(E &&...) Creates an expression that evaluates a polynomial using Horner's method.functionhproduct(const vec<T, N> &) Computes the product of all elements in the vector.functionhrms(const vec<T, N> &) Computes the root-mean-square (RMS) of the vector elements.functionhsum(const vec<T, N> &) Computes the sum of all elements in the vector.
I¶
enum constantdatatype::itypedefi16enum constantdatatype::i16enum constantaudio_sample_type::i16typedefi16x1typedefi16x16typedefi16x2typedefi16x2x2typedefi16x3typedefi16x32typedefi16x4typedefi16x4x4typedefi16x64typedefi16x8enum constantdatatype::i24structi24 Signed 24-bit integer stored in three bytes (little-endian).constructori24::i24() Default constructor leaving the value uninitialized.enum constantaudio_sample_type::i24constructori24::i24(i32) Construct from a 32-bit signed integer, truncating to 24 bits.typedefi32enum constantdatatype::i32enum constantaudio_sample_type::i32typedefi32x1typedefi32x16typedefi32x2typedefi32x2x2typedefi32x3typedefi32x32typedefi32x4typedefi32x4x4typedefi32x64typedefi32x8typedefi64enum constantdatatype::i64typedefi64x1typedefi64x16typedefi64x2typedefi64x2x2typedefi64x3typedefi64x32typedefi64x4typedefi64x4x4typedefi64x64typedefi64x8typedefi8enum constantdatatype::i8typedefi8x1typedefi8x16typedefi8x2typedefi8x2x2typedefi8x3typedefi8x32typedefi8x4typedefi8x4x4typedefi8x64typedefi8x8concepti_classfunctionibitcast(const From &) Reinterpret the bits of a scalarvalueas its signed counterpart type.functionibitcast(const vec<From, N> &) Reinterpret the bits of a vector as a vector of its signed counterpart type.functioniceil(const T1 &) Returns the smallest integer value not less thanx,as an integer type.functioniceil(E1 &&) Creates an expression that returns the integer equivalent of ceil(x).variabletype_id_t::idfunctionidft(const univector<complex<T>, Tag> &) Performs the inverse complex DFT using a cached plan.enum constantaudiofile_codec::ieee_floatfunctionifloor(const T1 &) Returns the largest integer value not greater thanx,as an integer type.functionifloor(E1 &&) Creates an expression that returns the integer equivalent of floor(x).functioniir_bandpass(const zpk &, double, double, double) Designs a digital bandpass IIR filter and returns ZPK coefficients.functioniir_bandstop(const zpk &, double, double, double) Designs a digital bandstop (notch) IIR filter and returns ZPK coefficients.classiir_filter<T> Runtime IIR filter object usable as a streaming filter.constructoriir_filter<T>::iir_filter<T>(const iir_params<T> &) Construct the filter from biquad parameters.functioniir_highpass(const zpk &, double, double) Designs a digital highpass IIR filter and returns ZPK coefficients.functioniir_lowpass(const zpk &, double, double) Designs a digital lowpass IIR filter and returns ZPK coefficients.deduction guideiir_paramsdeduction guideiir_paramsdeduction guideiir_paramsdeduction guideiir_paramsdeduction guideiir_paramsdeduction guideiir_paramsclassiir_params<T, filters> Fixed-size container of biquad coefficients stored as SoA vectors.constructoriir_params<T, filters>::iir_params<T, filters>() Default constructor: pass-through (b0=1, rest 0).constructoriir_params<T, filters>::iir_params<T, filters>(const biquad_section<T> &) Construct from a single biquad_section.constructoriir_params<T, filters>::iir_params<T, filters>(const biquad_section<T> *, size_t) Build from an array of biquad_section.functioniir_params<T, filters>::iir_params<T, filters>(Container &&) Construct from any container with data()/size().classiir_params<T, tag_dynamic_vector> Dynamic-size specialization of iir_params.constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>()constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(const biquad_section<T> &) Construct from a single biquad_section.constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(const biquad_section<T> *, size_t) Build from a C array offunctioniir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(const iir_params<T, filters> &) Convert a fixed-size iir_params to the dynamic-size form.constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(const iir_params<T, tag_dynamic_vector> &)functioniir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(Container &&) Construct from any container with data()/size().constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(iir_params<T, tag_dynamic_vector> &&)constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(size_t) Allocate storage forconstructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(std::vector<biquad_section<T>> &&) Move-construct from a vector of sections.deduction guideiir_statededuction guideiir_stateclassiir_state<T, filters> Combined IIR filter parameters and runtime state.functioniir_state<T, filters>::iir_state<T, filters>(Args &&...) Forwarding constructor for the embedded iir_params.functioniir(E1 &&, const iir_params<T, tag_dynamic_vector> &) Returns a template expression that applies a runtime-sized biquad cascade to the input.functioniir(E1 &&, const zpk &) Applies an IIR filter (in ZPK form) to an input signal expression.functioniir(E1 &&, iir_params<T, filters>) Returns a template expression that applies a biquad filter cascade to the input.functioniir(E1 &&, std::reference_wrapper<iir_state<T, filters>>) Returns a template expression that applies a biquad cascade using externally-owned state.functionilog2(T) Returns the base-2 logarithm offunctionimag(const complex<T> &) Returns the imaginary part of the complex valuefunctionimag(const vec<complex<T>, N> &) Returns the imaginary parts of a vector of complex values.functionimag(E1 &&) Creates an expression that returns the imaginary part of the complex valuex.typedefimaxfunctionimplicit_cast(U &&)variableexpression_dimensions<Dims, E>::in_dimsvariableexpression_reshape<Arg, OutDims>::in_shapevariablevec<T, N>::element::index Element index withinvariabletensor<T, NDims>::nested_iterator_t::indextypedefindex_t Unsigned integer type used for tensor indices and axis sizes.variableindex_undefined Sentinel index value meaning "no index".variabletensor<T, NDims>::tensor_iterator::indicesfunctionindices(const shape<Dims> &, axis_params<VecAxis, N>) Computes the vector of indices along an axis for a vectorized read.variableindicesfor Constant instance of indicesfor_t for the given type listtypedefindicesfor_t Returns a sequence of indicesvariableinfinite_size Sentinel value denoting a dimension of unbounded/unknown size.enum constantspecial_constant::infinity positive infinityvariableinfinity Positive infinity as adouble.variablescalar_constants<T>::infinity The representation of positive infinity for the type T.functiontimestamps<max_count, fence>::init() Reset the profiler, capturing the current cycle count as time zero.functiongenerator_expj<T, VecWidth>::init_cossin(ST, ST) Initializes a vector of complex exponentials with angular frequencywand starting phasephase.functiongenerator_cossin<T, VecWidth>::init_cossin(T, T) Initializes a vector of interleaved cosine/sine pairs with angular frequencywand starting phasephase.functiondft_stage<T>::initialize(size_t)classinitialvalue<T> Used to determine the initial value for reduce functions.classinline_vector<T, N> A sequence container with fixed-capacity inline storage.constructorinline_vector<T, N>::inline_vector<T, N>() Creates an empty vector.constructorinline_vector<T, N>::inline_vector<T, N>(const inline_vector<T, N> &)constructorinline_vector<T, N>::inline_vector<T, N>(inline_vector<T, N> &&)functioninline_vector<T, N>::inline_vector<T, N>(Iter, Iter) Creates a vector from the range[first, last).constructorinline_vector<T, N>::inline_vector<T, N>(size_type) Creates a vector holdinginitial_sizevalue-initialized elements.constructorinline_vector<T, N>::inline_vector<T, N>(size_type, T) Creates a vector holdinginitial_sizecopies ofinitial_value.constructorinline_vector<T, N>::inline_vector<T, N>(std::initializer_list<T>) Creates a vector from a brace-enclosed initializer list.functionconvolve_filter<T>::input_block_size() Returns the processing block size.variabledft_resampler_params::input_block_size Computed FFT block size (power of two) satisfying the overlap-save constraint.functiondft_resampler<T>::input_block_size() Returns the input FFT block size \(N\) .conceptinput_expression Concept satisfied by expressions that can be read from.functiondft_resampler<T>::input_hop() Returns the number of new input samples consumed per frame.conceptinput_output_expression Concept satisfied by expressions that are both readable and writable.variableconvolve_filter<T>::input_positionvariablesamplerate_converter<T>::input_position Current input position.functionsamplerate_converter<T>::input_position_to_intermediate(itype) Converts an input position to an intermediate (interpolated) position.functionsamplerate_converter<T>::input_position_to_output(itype) Converts an input position to the corresponding output position.variableexpression_padded<Arg>::input_shapevariableexpression_reverse<Arg>::input_shapefunctionsamplerate_converter<T>::input_size_for_output(itype) Calculates the input size required to produce a given output size (pull method).typedefmap_indices_impl<size, Fn>::input_typefunctioninrange(const T1 &, const T2 &, const T3 &) Test whether each element lies within a closed range.functioninserthigh(T, const vec<T, N> &) Inserts a scalarxat the high (right) end ofy,shiftingyone lane to the low (left) side.functioninsertleft(T, const vec<T, N> &) Legacy alias for insertlow().functioninsertlow(T, const vec<T, N> &) Inserts a scalarxat the low (left) end ofy,shiftingyone lane to the high (right) side.functioninsertright(T, const vec<T, N> &) Legacy alias for inserthigh().functionexpression_resource::instance()functionexpression_resource_impl<E>::instance()variableexpression_handle<T, Dims>::instance Pointer to the concrete expression instance.functiondft_cache_impl<int>::instance()typedefopencl_names::int16typedefopencl_names::int2typedefopencl_names::int3typedefopencl_names::int4typedefopencl_names::int8typedefint_type Maps a bit width to the corresponding signed integer typeenum constantspecial_constant::integer integer literal carried byvariableinteger_types Type list of all integer element types (signed and unsigned).variableinteger_vector_types Instance of integer_vector_types_t for use as a value parameter pack.typedefinteger_vector_types_t Type list of all integer vector instantiations for the test sizes.classintegrated_vec<T> Buffer of momentary mean-square energies used to compute the integrated (program) loudness per EBU R128 §3560.constructorintegrated_vec<T>::integrated_vec<T>()functionaudio_data<IsInterleaved>::interlaved() Returns a reference to the interleaved audio data.functioninterleave(const univector2d<Tin, Tag1, Tag2> &) Interleaves audio samples of a 2D univector into a new buffer.functioninterleave(const vec<T, N> &, const vec<T, N> &) Interleaves the lanes of two equal-length vectorsxandy.functioninterleave(E1 &&, E2 &&) Creates an expression that interleaves the lanes ofxandy.functioninterleavehalves(const vec<T, N> &) Interleaves the two halves ofx.functioninterleave(Tout *, const Tin **, size_t, size_t) Interleaves and converts audio samples into a single buffer.functioninterleave(univector<Tout, Tag1> &, const univector2d<Tin, Tag2, Tag3> &) Interleaves and converts audio samples from a 2D univector.namespaceinternalenum constantdft_order::internal Possibly bit/digit-reversed, implementation-defined, may be faster to computeenum constantaudiofile_error::internal_error An internal error occurred.namespaceinternal_genericvariablesamplerate_converter<T>::interpolation_factor Interpolation factor.namespaceintrenum constantaudiofile_error::invalid_argument Invalid argument passedenum constantnpy_decode_result::invalid_header Malformed headerenum constantnpy_decode_result::invalid_shape Shape mismatchenum constantnpy_decode_result::invalid_type Type mismatchenum constantdft_type::inverse Only the inverse transform.functionspecial_scalar_constants<T>::invhighbitmask() Returns a value with every bit except the most significant bit set.functionspecial_scalar_constants<float>::invhighbitmask() Returns a floating-point value with every bit except the sign bit set.functionspecial_scalar_constants<double>::invhighbitmask() Returns a floating-point value with every bit except the sign bit set.functionspecial_scalar_constants<bit<T>>::invhighbitmask() Inverse of highbitmask, i.e. all bits except the high bit set.variableexpression_linspace<T, truncated>::invsizeenum constantaudiofile_error::io_error An input/output error occurred.functionipow(const T &, int) Integer power.functionipow(E1 &&, E2 &&) Creates an expression that returnsxraised to the integer powerb.variableconvolve_filter<T>::ir_segmentsfunctionirealdft(const univector<complex<T>, Tag> &) Performs the inverse complex-to-real DFT using a cached plan.functioniround(const T1 &) Returns the nearest integer value tox,as an integer type.functioniround(E1 &&) Creates an expression that returns the integer equivalent of round(x).variableunivector<T, Size>::is_aligned True: aligned to the maximum vector alignment.variableunivector<T, tag_array_ref>::is_aligned False: alignment of the referenced data is unknown.variableunivector<T, tag_dynamic_vector>::is_aligned True: aligned to the maximum vector alignment.variableis_arg Inline variable that istruewhenT(after decay) is a numeric or boolean type and can therefore be passed by value as an argument.variableunivector<T, Size>::is_array True: backed bystd::array.variableunivector<T, tag_array_ref>::is_array False: not backed bystd::array.variableunivector<T, tag_dynamic_vector>::is_array False: not backed bystd::array.variableunivector<T, Size>::is_array_ref False: owns its data.variableunivector<T, tag_array_ref>::is_array_ref True: holds a reference to external data.variableunivector<T, tag_dynamic_vector>::is_array_ref False: owns its data.functionis_between(T, std::type_identity_t<T>, std::type_identity_t<T>)variableis_bit True whenTis abit<U>specialization.variableis_complex Variable template:trueifTis acomplexspecialization.variableis_compound_type iffunctionis_constant_val(cval_t<T, value>) Returnsfunctionis_constant_val(T) Returnsfunctiontensor<T, NDims>::is_contiguous() Returnstrueif the tensor data is stored contiguously.functionis_divisible(T, T)functiondft_resampler_params::is_downsampling() Returnstrueif this is a downsampling configuration.functiondft_resampler<T>::is_downsampling() Returnstrueif this resampler downsamples byfactor().functiontensor<T, NDims>::tensor_iterator::is_end() Returnstrueif this iterator is the end sentinel.functionis_equal(const T1 &, const T2 &) Returnsfunctionis_even(T) Returnsvariableis_expr_element Inline variable that istruewhenTis a non-cv-qualified scalar vector element type.variableis_f_classfunctionis_greater(const T1 &, const T2 &) Returnsfunctionis_greaterorequal(const T1 &, const T2 &) Returnsvariableis_i_classvariableis_infinite Inline variable that istruewhen the shape ofEis infinite.functiondft_plan<T>::is_initialized() Checks whether the plan is non-empty.functiondft_plan_real<T>::is_initialized() Checks whether the plan is non-empty.functiondft_plan_md<T, Dims>::is_initialized() Checks whether the plan is non-empty.functiondft_plan_md_real<T, Dims>::is_initialized() Checks whether the plan is non-empty.variableis_input_expression Inline variable that istruewhenEsatisfiesinput_expression.variableis_input_output_expression Inline variable that istruewhenEsatisfiesinput_output_expression.functiontensor<T, NDims>::is_last_contiguous() Returnstrueif the last axis has stride 1.functionis_less(const T1 &, const T2 &) Returnsfunctionis_lessorequal(const T1 &, const T2 &) Returnsfunctionis_notequal(const T1 &, const T2 &) Returnsvariableis_number ifvariableis_number_or_bool ifvariableis_numbersvariableis_numeric Check if the type argument is a number or a compound type of numbersvariableis_numeric_args Check if the type arguments are numbers or compound types of numbersvariableis_numeric_or_bool Check if the type argument is a number, bool or a compound type of numbers or boolfunctionis_odd(T) Returnsvariableis_output_expression Inline variable that istruewhenEsatisfiesoutput_expression.functionis_poweroftwo(T) Returnsvariablecompound_type_traits<T>::is_scalarvariablecompound_type_traits<std::pair<T, T>>::is_scalarvariablecompound_type_traits<kfr::vec_shape<T, N>>::is_scalarvariablecompound_type_traits<kfr::vec<T, N>>::is_scalarvariablecompound_type_traits<std::complex<T>>::is_scalar because a complex value is not a scalar.functionis_sequence(csizes_t<number, numbers...>)functionaudio_data<IsInterleaved>::is_silent(fbase) Checks whether all samples in the buffer are effectively silent within a given amplitude threshold.variableis_simd_float_type True whenTis a floating-point SIMD element type.variableis_simd_int_type True whenTis an integer SIMD element type.functionis_simd_size(size_t) Checks whethersizeis a valid SIMD vector size for typeT.variableis_simd_type True whenTis one of the scalar types usable as a SIMD element.functionis_single_codec(audiofile_container) Checks if a container supports a single codec.variableis_u_classtypedefis_val_tvariableis_vec True ifTis avecinstantiation.variableis_vec_element True ifT(after stripping cv) is usable as avecelement type.variableunivector<T, Size>::is_vector False: not dynamically sized.variableunivector<T, tag_array_ref>::is_vector False: not dynamically sized.variableunivector<T, tag_dynamic_vector>::is_vector True: dynamically sized.variablecpu_features::isAMD Vendor string is "AuthenticAMD".functionisawtooth(const T1 &) Inverse (rising) sawtooth wave of a phase in radians.functionisawtooth(E1 &&) Expression overload ofisawtooth; applies element-wise to an expression.functionisawtoothnorm(const T1 &) Inverse (rising) sawtooth wave of a phase ramp in [0, 1) cycles.functionisawtoothnorm(E1 &&) Expression overload ofisawtoothnorm; applies element-wise to an expression.functionisfinite(const vec<T, N> &) Detect finite values element-wise.functionisinf(const vec<T, N> &) Detect infinite values element-wise.variablecpu_features::isIntel Vendor string is "GenuineIntel".functionisnan(const vec<T, N> &) Detect NaN (Not-a-Number) values element-wise.functionisnegative(const vec<T, N> &) Detect negative values element-wise by inspecting the sign bit.functionispositive(const vec<T, N> &) Detect non-negative values element-wise.functionisreal(const complex<T> &) Returns mask with true for real elementstypedefisubtypefunctioniszero(const vec<T, N> &) Detect zero values element-wise.functiontensor<T, NDims>::iterate(Fn &&) Callsfnfor each element together with its multi-dimensional index.typedefarray_ref<T>::iteratortypedefinline_vector<T, N>::iteratortypedeftensor<T, NDims>::iteratorstructrange<T>::iteratortypedeftensor<T, NDims>::tensor_iterator::iterator_categorytypedeftensor<T, NDims>::nested_iterator_t::iterator_categoryfunctionitrunc(const T1 &) Returns the truncated integer part ofx,as an integer type.functionitrunc(E1 &&) Creates an expression that returns the integer equivalent of trunc(x).typedefitypetypedefsamplerate_converter<T>::itypetypedefvec<T, N>::iuscalar_typetypedefvec<T, N>::iusimd_typetypedefvec<T, N>::iuvalue_typetypedefglsl_names::ivec2typedefglsl_names::ivec3typedefglsl_names::ivec4
J¶
functionjaehne_arg(size_t)functionjaehne(std::type_identity_t<T>, size_t) Returns expression template that generates a jaehne vector Generates the sine with linearly increasing frequency from 0hz to nyquist frequency.functionjoin(T) Convert a single value to a string (terminator ofjoin).functionjoin(T, U, Ts...) Join values into a comma-separated string of the form{x},{y}, {rest...}".functionjust_value(T)
K¶
variablezpk::k System gainenum constantwindow_type::kaiservariablesamplerate_converter<T>::kaiser_beta Kaiser window beta parameter.functiondft_resampler<T>::kaiser_beta_from_attenuation(T) Computes the Kaiser window beta from a desired stopband attenuation.namespacekfrfunction::kfr_allocate_aligned(size_t, size_t)function::kfr_allocate(size_t)macroKFR_ALWAYS_INLINEmacroKFR_API_SPECenum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_AVX AVX.enum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_AVX2 AVX2.enum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_AVX512 AVX-512.macroKFR_ARCH_BITNESS_NAMEmacroKFR_ARCH_ID_AVXmacroKFR_ARCH_ID_AVX2macroKFR_ARCH_ID_AVX512macroKFR_ARCH_ID_GENERICmacroKFR_ARCH_ID_NEONmacroKFR_ARCH_ID_NEON64macroKFR_ARCH_ID_RVVmacroKFR_ARCH_ID_SSE2macroKFR_ARCH_ID_SSE3macroKFR_ARCH_ID_SSE41macroKFR_ARCH_ID_SSE42macroKFR_ARCH_ID_SSSE3macroKFR_ARCH_IS_GENERICmacroKFR_ARCH_IS_X86macroKFR_ARCH_NAMEenum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_SSE2 SSE2.enum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_SSE3 SSE3.enum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_SSE41 SSE4.1.enum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_SSE42 SSE4.2.enum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_SSSE3 SSSE3.macroKFR_ARCH_X64macroKFR_ARCH_X86enum constant(Unnamed enum at capi.h:119:1)::KFR_ARCH_X86 Baseline x86 (no SIMD).macroKFR_ASSERTmacroKFR_ASSERT_ACTIVEmacroKFR_ASSERT_INACTIVEmacroKFR_ASSUMEmacroKFR_ASSUME_ALIGNEDmacroKFR_BIN_OPtypedef::kfr_bool Boolean type used throughout the CAPI. Maps tomacroKFR_BREAKPOINTmacroKFR_BUILD_DETAILS_1macroKFR_BUILD_DETAILS_2macroKFR_builtin_readcyclecountertypedef::kfr_c32 Single-precision complex type.typedef::kfr_c64 Double-precision complex type.macroKFR_C_APImacroKFR_CACHE_LINE_SIZEmacroKFR_CALL_CONV_SPECmacroKFR_CDECLmacroKFR_CDECLmacroKFR_CHECK_IMPLmacroKFR_CLASS_REFCOUNTmacroKFR_COMPILER_CLANGmacroKFR_COMPILER_FULL_NAMEmacroKFR_COMPILER_GNUmacroKFR_COMPILER_NAMEmacroKFR_COMPLEX_SIZE_MULTIPLIERmacroKFR_CONCATfunction::kfr_current_arch() Returns the current architecture in use.macroKFR_CVALfunction::kfr_dct_create_plan_f32(size_t) Creates a DCT-II plan (single precision).function::kfr_dct_create_plan_f64(size_t) Creates a DCT-II plan (double precision).function::kfr_dct_delete_plan_f32(KFR_DCT_PLAN_F32 *) Deletes a DCT plan.function::kfr_dct_delete_plan_f64(KFR_DCT_PLAN_F64 *) Deletes a DCT plan.function::kfr_dct_dump_f32(KFR_DCT_PLAN_F32 *) Dumps details of the DCT plan to stdout for inspection.function::kfr_dct_dump_f64(KFR_DCT_PLAN_F64 *) Dumps details of the DCT plan to stdout for inspection.function::kfr_dct_execute_f32(KFR_DCT_PLAN_F32 *, kfr_f32 *, const kfr_f32 *, uint8_t *)function::kfr_dct_execute_f64(KFR_DCT_PLAN_F64 *, kfr_f64 *, const kfr_f64 *, uint8_t *)function::kfr_dct_execute_inverse_f32(KFR_DCT_PLAN_F32 *, kfr_f32 *, const kfr_f32 *, uint8_t *)function::kfr_dct_execute_inverse_f64(KFR_DCT_PLAN_F64 *, kfr_f64 *, const kfr_f64 *, uint8_t *)function::kfr_dct_get_size_f32(KFR_DCT_PLAN_F32 *) Returns the size of a DCT plan.function::kfr_dct_get_size_f64(KFR_DCT_PLAN_F64 *) Returns the size of a DCT plan.function::kfr_dct_get_temp_size_f32(KFR_DCT_PLAN_F32 *) Returns the temporary (scratch) buffer size required by the DCT plan.function::kfr_dct_get_temp_size_f64(KFR_DCT_PLAN_F64 *) Returns the temporary (scratch) buffer size required by the DCT plan.struct::KFR_DCT_PLAN_F32typedef::KFR_DCT_PLAN_F32struct::KFR_DCT_PLAN_F64typedef::KFR_DCT_PLAN_F64function::kfr_deallocate(void *)macroKFR_DEBUG_STRmacroKFR_DEFAULT_ALIGNMENTmacroKFR_DFT_ALGO_SWITCHfunction::kfr_dft_create_2d_plan_f32(size_t, size_t) Creates a 2D complex DFT plan (single precision).function::kfr_dft_create_2d_plan_f64(size_t, size_t) Creates a 2D complex DFT plan (double precision).function::kfr_dft_create_3d_plan_f32(size_t, size_t, size_t) Creates a 3D complex DFT plan (single precision).function::kfr_dft_create_3d_plan_f64(size_t, size_t, size_t) Creates a 3D complex DFT plan (double precision).function::kfr_dft_create_md_plan_f32(size_t, const unsigned int *) Creates an N-dimensional complex DFT plan (single precision).function::kfr_dft_create_md_plan_f64(size_t, const unsigned int *) Creates an N-dimensional complex DFT plan (double precision).function::kfr_dft_create_plan_f32(size_t) Creates a complex DFT plan (single precision).function::kfr_dft_create_plan_f64(size_t) Creates a complex DFT plan (double precision).function::kfr_dft_delete_plan_f32(KFR_DFT_PLAN_F32 *) Deletes a complex DFT plan.function::kfr_dft_delete_plan_f64(KFR_DFT_PLAN_F64 *) Deletes a complex DFT plan.function::kfr_dft_dump_f32(KFR_DFT_PLAN_F32 *) Dumps details of the DFT plan to stdout for inspection.function::kfr_dft_dump_f64(KFR_DFT_PLAN_F64 *) Dumps details of the DFT plan to stdout for inspection.function::kfr_dft_execute_f32(KFR_DFT_PLAN_F32 *, kfr_c32 *, const kfr_c32 *, uint8_t *)function::kfr_dft_execute_f64(KFR_DFT_PLAN_F64 *, kfr_c64 *, const kfr_c64 *, uint8_t *)function::kfr_dft_execute_inverse_f32(KFR_DFT_PLAN_F32 *, kfr_c32 *, const kfr_c32 *, uint8_t *)function::kfr_dft_execute_inverse_f64(KFR_DFT_PLAN_F64 *, kfr_c64 *, const kfr_c64 *, uint8_t *)function::kfr_dft_get_size_f32(KFR_DFT_PLAN_F32 *) Returns the size of the DFT plan, in complex numbers.function::kfr_dft_get_size_f64(KFR_DFT_PLAN_F64 *) Returns the size of the DFT plan, in complex numbers.function::kfr_dft_get_temp_size_f32(KFR_DFT_PLAN_F32 *) Returns the temporary (scratch) buffer size required by the DFT plan.function::kfr_dft_get_temp_size_f64(KFR_DFT_PLAN_F64 *) Returns the temporary (scratch) buffer size required by the DFT plan.enum::KFR_DFT_PACK_FORMAT DFT packing format for real DFTs. See https://www.kfr.dev/docs/latest/dft_format/ for details.typedef::KFR_DFT_PACK_FORMAT DFT packing format for real DFTs. See https://www.kfr.dev/docs/latest/dft_format/ for details.struct::KFR_DFT_PLAN_F32typedef::KFR_DFT_PLAN_F32struct::KFR_DFT_PLAN_F64typedef::KFR_DFT_PLAN_F64function::kfr_dft_real_create_2d_plan_f32(size_t, size_t, kfr_bool) Creates a 2D real DFT plan (single precision).function::kfr_dft_real_create_2d_plan_f64(size_t, size_t, kfr_bool) Creates a 2D real DFT plan (double precision).function::kfr_dft_real_create_3d_plan_f32(size_t, size_t, size_t, kfr_bool) Creates a 3D real DFT plan (single precision).function::kfr_dft_real_create_3d_plan_f64(size_t, size_t, size_t, kfr_bool) Creates a 3D real DFT plan (double precision).function::kfr_dft_real_create_md_plan_f32(size_t, const unsigned int *, kfr_bool) Creates an N-dimensional real DFT plan (single precision).function::kfr_dft_real_create_md_plan_f64(size_t, const unsigned int *, kfr_bool) Creates an N-dimensional real DFT plan (double precision).function::kfr_dft_real_create_plan_f32(size_t, KFR_DFT_PACK_FORMAT) Creates a real DFT plan (single precision).function::kfr_dft_real_create_plan_f64(size_t, KFR_DFT_PACK_FORMAT) Creates a real DFT plan (double precision).function::kfr_dft_real_delete_plan_f32(KFR_DFT_REAL_PLAN_F32 *) Deletes a real DFT plan.function::kfr_dft_real_delete_plan_f64(KFR_DFT_REAL_PLAN_F64 *) Deletes a real DFT plan.function::kfr_dft_real_dump_f32(KFR_DFT_REAL_PLAN_F32 *) Dumps details of the real DFT plan to stdout for inspection.function::kfr_dft_real_dump_f64(KFR_DFT_REAL_PLAN_F64 *) Dumps details of the real DFT plan to stdout for inspection.function::kfr_dft_real_execute_f32(KFR_DFT_REAL_PLAN_F32 *, kfr_c32 *, const kfr_f32 *, uint8_t *)function::kfr_dft_real_execute_f64(KFR_DFT_REAL_PLAN_F64 *, kfr_c64 *, const kfr_f64 *, uint8_t *)function::kfr_dft_real_execute_inverse_f32(KFR_DFT_REAL_PLAN_F32 *, kfr_f32 *, const kfr_c32 *, uint8_t *)function::kfr_dft_real_execute_inverse_f64(KFR_DFT_REAL_PLAN_F64 *, kfr_f64 *, const kfr_c64 *, uint8_t *)function::kfr_dft_real_get_size_f32(KFR_DFT_REAL_PLAN_F32 *) Returns the size of a real DFT plan.function::kfr_dft_real_get_size_f64(KFR_DFT_REAL_PLAN_F64 *) Returns the size of a real DFT plan.function::kfr_dft_real_get_temp_size_f32(KFR_DFT_REAL_PLAN_F32 *) Returns the temporary (scratch) buffer size required by the real DFT plan (single precision).function::kfr_dft_real_get_temp_size_f64(KFR_DFT_REAL_PLAN_F64 *) Returns the temporary (scratch) buffer size required by the real DFT plan (double precision).struct::KFR_DFT_REAL_PLAN_F32typedef::KFR_DFT_REAL_PLAN_F32struct::KFR_DFT_REAL_PLAN_F64typedef::KFR_DFT_REAL_PLAN_F64macroKFR_DFT_SUPPORTS_ODD_REALmacroKFR_DLL_EXPORTmacroKFR_DLL_IMPORTmacroKFR_EMPTY_BASESmacroKFR_ENABLE_IFmacroKFR_ENABLE_IF_IMPLfunction::kfr_enabled_archs() Returns the list of enabled architectures as a string.macroKFR_ENABLED_ARCHS_LISTmacroKFR_ESCmacroKFR_EXPAND_IF_ARCH_avxmacroKFR_EXPAND_IF_ARCH_avx2macroKFR_EXPAND_IF_ARCH_avx512macroKFR_EXPAND_IF_ARCH_sse2macroKFR_EXPAND_IF_ARCH_sse3macroKFR_EXPAND_IF_ARCH_sse41macroKFR_EXPAND_IF_ARCH_sse42macroKFR_EXPAND_IF_ARCH_ssse3macroKFR_EXPOSE_VALUEmacroKFR_EXTERN_Ctypedef::kfr_f32 Single-precision floating-point type.typedef::kfr_f64 Double-precision floating-point type.macroKFR_FALSEmacroKFR_FAST_CCmacroKFR_FILEPATHstruct::KFR_FILTER_C32typedef::KFR_FILTER_C32struct::KFR_FILTER_C64typedef::KFR_FILTER_C64function::kfr_filter_create_convolution_plan_f32(const kfr_f32 *, size_t, size_t) Creates a convolution filter plan (single precision).function::kfr_filter_create_convolution_plan_f64(const kfr_f64 *, size_t, size_t) Creates a convolution filter plan (double precision).function::kfr_filter_create_fir_plan_f32(const kfr_f32 *, size_t) Creates a FIR filter plan (single precision).function::kfr_filter_create_fir_plan_f64(const kfr_f64 *, size_t) Creates a FIR filter plan (double precision).function::kfr_filter_create_iir_plan_f32(const kfr_f32 *, size_t) Creates an IIR filter plan (single precision) from a cascade of second-order sections.function::kfr_filter_create_iir_plan_f64(const kfr_f64 *, size_t) Creates an IIR filter plan (double precision) from a cascade of second-order sections.function::kfr_filter_delete_plan_f32(KFR_FILTER_F32 *) Deletes a filter plan.function::kfr_filter_delete_plan_f64(KFR_FILTER_F64 *) Deletes a filter plan.struct::KFR_FILTER_F32typedef::KFR_FILTER_F32struct::KFR_FILTER_F64typedef::KFR_FILTER_F64function::kfr_filter_process_f32(KFR_FILTER_F32 *, kfr_f32 *, const kfr_f32 *, size_t) Processes input data with a filter.function::kfr_filter_process_f64(KFR_FILTER_F64 *, kfr_f64 *, const kfr_f64 *, size_t) Processes input data with a filter.function::kfr_filter_reset_f32(KFR_FILTER_F32 *) Resets the internal state of a filter plan, including its delay line.function::kfr_filter_reset_f64(KFR_FILTER_F64 *) Resets the internal state of a filter plan, including its delay line.macroKFR_FLATTENmacroKFR_FNmacroKFR_FORmacroKFR_FORCmacroKFR_FPmacroKFR_FUNC_SIGNATUREmacroKFR_FUNCTIONmacroKFR_GCC_VERSIONmacroKFR_GNU_ATTRIBUTESmacroKFR_GNU_PACKEDmacroKFR_HAS_ASSERT_HmacroKFR_HAS_ATTRIBUTEmacroKFR_HAS_BUILTINmacroKFR_HAS_EXCEPTIONSmacroKFR_HAS_EXTENSIONmacroKFR_HAS_FEATUREmacroKFR_HAS_GXX_CXX11macroKFR_HAS_WARNINGmacroKFR_HEADERS_VERSIONmacroKFR_I_FNmacroKFR_I_FN_FULLmacroKFR_ICC_VERSIONmacroKFR_IF_IS_AVXmacroKFR_IF_IS_AVX2macroKFR_IF_IS_AVX512macroKFR_IF_IS_SSE2macroKFR_IF_IS_SSE3macroKFR_IF_IS_SSE41macroKFR_IF_IS_SSE42macroKFR_IF_IS_SSSE3macroKFR_INLINEmacroKFR_INLINE_IN_RELEASEmacroKFR_INLINE_LAMBDAmacroKFR_INLINE_MEMBERmacroKFR_INTRINSICmacroKFR_IO_SEEK_64macroKFR_IO_TELL_64function::kfr_last_error() Returns the last error message.macroKFR_LIKELYmacroKFR_LOGIC_CHECKmacroKFR_LOOP_NOUNROLLmacroKFR_LOOP_UNROLLmacroKFR_MEM_INTRINSICmacroKFR_META_FNmacroKFR_META_FN_TPLmacroKFR_MSC_VERmacroKFR_NARGSmacroKFR_NARGS2macroKFR_NATIVE_F64macroKFR_NATIVE_I64macroKFR_NATIVE_INTRINSICSmacroKFR_NO_UNIQUE_ADDRESSmacroKFR_NODEBUGmacroKFR_NOINLINEmacroKFR_NOOPmacroKFR_OPAQUE_STRUCTmacroKFR_OS_LINUXmacroKFR_OS_NAMEmacroKFR_OS_POSIXmacroKFR_PRAGMAmacroKFR_PRAGMA_CLANGmacroKFR_PRAGMA_GCCmacroKFR_PRAGMA_GNUmacroKFR_PRAGMA_MSVCmacroKFR_PRAGMA_PACK_POPmacroKFR_PRAGMA_PACK_PUSH_1macroKFR_PRINT_AND_ABORTmacroKFR_PUBLIC_CmacroKFR_REPORT_ERRORmacroKFR_REPORT_LOGIC_ERRORmacroKFR_REPORT_RUNTIME_ERRORmacroKFR_RESTRICTmacroKFR_RUNTIME_CHECKmacroKFR_SHUFFLE_SPECIALIZATIONSmacroKFR_STANDARD_PACKmacroKFR_STRINGIFYmacroKFR_STRINGIFY2macroKFR_THROWmacroKFR_THROW_EXCEPTIONmacroKFR_TRUEmacroKFR_UN_OPmacroKFR_UNLIKELYmacroKFR_UNREACHABLEmacroKFR_UNUSEDmacroKFR_VEC_CCmacroKFR_VEC_CMP_OPERATORmacroKFR_VEC_EXTstruct::kfr_vec_hppmacroKFR_VEC_OPERATOR1macroKFR_VEC_OPERATOR2macroKFR_VEC_SHIFT_OPERATORmacroKFR_VERSIONfunction::kfr_version() Returns the library version as an integer.macroKFR_VERSION_FULLmacroKFR_VERSION_LABELmacroKFR_VERSION_MAJORmacroKFR_VERSION_MINORmacroKFR_VERSION_PATCHmacroKFR_VERSION_STRINGfunction::kfr_version_string() Returns the library version as a string.macroKFR_WINDOW_BY_TYPE
L¶
enum constantspeaker_type::L Alias for Left.variablengfft_plan<T>::l2fftsize Log2 of the FFT size (e.g. 16 means a 65536-point FFT).functionlambda_generator(Fn &&) Creates an expression backed by a non-random-access callable.functionlambda(Fn &&, cbool_t<RandomAccess>) Creates an expression backed by a callable.enum constantwindow_type::lanczosvariabletimestamps<max_count, fence>::last Cycle count captured byinitor the most recentrecord; used as the reference point for the next duration measurement.enum constantspeaker_type::Lc Left center (front, between L and C).variableepsilon_scope<void>::ldfunctionshape<Dims>::le(const shape<dims> &) Element-wise less-than-or-equal comparison.functionle(E1 &&, E2 &&) Creates an expression that returns whethere1is less than or equal toe2.variablecomparison<Fn, L, R>::leftvariablehalf_comparison<L>::leftenum constantspeaker_type::Left Front left.enum constantspeaker_type::LeftSurround Alias for Ls.functioncstring<N>::length()variableaudio_format_and_length::lengthfunctionless(const T1 &, const T2 &) Element-wise less-than comparison.functionlessorequal(const T1 &, const T2 &) Element-wise less-or-equal comparison.enum constantspeaker_type::Lfe Low-frequency effects (subwoofer).enum constantspeaker_type::Lfe2 Second low-frequency effects channel.functionlibrary_version() Returns the string representation of the KFR library version, including target architecture.functionlibrary_version_audio() Returns the full version string of the KFR audio module.functionlibrary_version_codecs() Returns a comma-separated list of enabled audio codecs.functionlibrary_version_dft() Returns the full version string of the KFR DFT module.functionlibrary_version_dsp() Returns the full version string of the KFR DSP module.functionlibrary_version_io() Returns the full version string of the KFR IO module.functionlinear(M, T, T) Linear interpolation.variableexpression_window_with_metrics<T, metrics>::linspacefunctionlinspace(T1, T2, size_t, bool, cbool_t<truncated>) Creates an expression that returns evenly spaced numbers over a specified interval.enum constantaudiofile_endianness::littlevariablespecial_value::ll Stored integer literalfunctionload_from_npy(tensor<T, Dims> &, Fn &&) Loads a tensor from.npyformat using a custom read callback.typedeflockfree_ring_buffer Backward-compatible alias forspsc_ring_buffer.functionlog10(const T1 &) Returns the common (base-10) logarithm of x.functionlog10(E1 &&) Creates an expression that returns the common (base-10) logarithm of x.functionlog2(const T1 &) Returns the binary (base-2) logarithm of x.functionlog2(E1 &&) Creates an expression that returns the binary (base-2) logarithm of x.variablescalar_constants<T>::log_10 The natural logarithm of 10 (ln(10)).variablescalar_constants<T>::log_2 The natural logarithm of 2 (ln(2)).functionlog_fmadd(const T1 &, const T2 &, const T3 &) Returns log(x) * m + a.functionlog_fmadd(E1 &&, E2 &&, E3 &&) Creates an expression that returns log(x) * m + a.functionlogb(const T1 &) Returns the unbiased exponent of x as a floating-point value (equivalent tostd::logb).functionlogb(E1 &&) Creates an expression that returns the rounded binary (base-2) logarithm of x.functionlog(const T1 &) Returns the natural logarithm of x.functionlog(E1 &&) Creates an expression that returns the natural logarithm of x.classlogic_errorfunctionlogm(const T1 &, const T2 &) Returns log(x) * m.functionlogm(E1 &&, E2 &&) Creates an expression that returns log(x) * y.functionlogn(const T1 &, const T2 &) Returns the logarithm of x with base y.functionlogn(E1 &&, E2 &&) Creates an expression that returns the logarithm of x with base y.typedefopencl_names::long16typedefopencl_names::long2typedefopencl_names::long3typedefopencl_names::long4typedefopencl_names::long8functionloudness_to_energy(T) Inverse ofenergy_to_loudness: convert LUFS back to linear energy.variablevec_halves<T, N>::low Lower (power-of-two) half.enum constantsample_rate_conversion_quality::low Low quality.functionlow(const vec<T, N> &) Extracts the largest power-of-two-sized low subvector ofx.enum constantspecial_constant::lowest most negative representable valueenum constantcpu_t::lowestfunctionlowhalf(const vec<T, N> &) Extracts the lower half ofx.functionlowhalf(vec_shape<T, N>) Shape-only overload of lowhalf() for type deduction.enum constantbiquad_type::lowpass Passes frequencies below the cutoff.enum constantbiquad_type::lowshelf Low-shelf equalizer filter.functionlow(vec_shape<T, N>) Shape-only overload of low() for type deduction.enum constantaudiofile_codec::lpcmclasslra_vec<T> Sorted buffer of short-term mean-square energies used to compute the Loudness Range (LRA) per EBU R128 / ITU-R BS.1770.constructorlra_vec<T>::lra_vec<T>()enum constantspeaker_type::Ls Left surround.functionlt(E1 &&, E2 &&) Creates an expression that returns whethere1is less thane2.
M¶
enum constantspeaker_type::M Alias for Mono.variablesmall_buffer<T, Capacity>::m_data Pointer to the active storage (inline or heap).variableaudio_decoder::m_formatvariableaudio_encoder::m_formatvariablesmall_buffer<T, Capacity>::m_preallocated Inline storage for up tovariableaudio_decoder::m_readervariableinline_vector<T, N>::m_size Current number of elements stored.variablesmall_buffer<T, Capacity>::m_size Number of elements currently stored.variableexpression_window<T>::m_sizevariableinline_vector<T, N>::m_values Inline storage for the elements.variableaudio_encoder::m_writerfunctionmake_array_ref(Container &&)functionmake_array_ref(T *, std::size_t)structmake_comparisonfunctionmake_complex(const vec<T1, N> &, const vec<T2, N> &) Constructs a vector of complex values from real and imaginary vectors.functionmake_complex(E1 &&, E2 &&) Creates an expression that constructs a complex value from the real partreand the imaginary partim.functionmake_complex(T1, T2) Constructs a complex value from real and imaginary scalars.functionmake_cstring(cchars_t<chars...>)functionmake_cstring(const char (&)[N])functionmake_kfilter(int) Build the EBU R128 K-weighting pre-filter as an IIR expression handle.functionmake_mask(bool, Args...) Constructs a SIMD mask vector from boolean values.functionmake_memory_finalizer(Fn &&) Creates a memory finalizer that invokesfnwhen the handle is destroyed.functionmake_nonmember(const Fn &)functionmake_range(T, T) Make iterable range objectfunctionmake_range(T, T, D) Make iterable range object with stepfunctionmake_resource(E &&) Create anexpression_resourceowninge(moved in), allocated with proper alignment.functionmake_univector(const Container &) Creates univector from a container (must have data() and size() methods)functionmake_univector(const T (&)[N]) Creates univector from a sized arrayfunctionmake_univector(const T *, size_t) Creates univector from data and sizefunctionmake_univector(Container &) Creates univector from a container (must have data() and size() methods)functionmake_univector(T (&)[N]) Creates univector from a sized arrayfunctionmake_univector(T *, size_t) Creates univector from data and sizefunctionmake_vector(const Arg &, const Args &...) Create a vector from scalar values.functionmake_vector(const vec<T, N> &) Identity overload: returns the passed vector unchanged.functionmake_vector(cvals_t<T, Values...>) Create a vector from a compile-time constant list.functionmap_indices() Returns a value ofmap_indices_t<size, Fn...>for use in non-type contexts.classmap_indices_impl<size, Fn> Compile-time index transformer used to build shuffle/permutation tables.typedefmap_indices_t Alias for thecsizes_tproduced bymap_indices_impl<size, Fn...>.functioncvals_t<T, values>::map(Fn &&) Returns a new list withfunctiontensor<T, NDims>::map(Fn &&) Appliesfnto each element and returns the resulting tensor.typedefmask SIMD mask type ofTelements with default widthvector_width.variableplatform<cpu_t::common>::mask_registersvariableplatform<cpu_t::avx512>::mask_registerstypedefvec<T, N>::mask_tfunctionmaskbits(bool) Returns all-ones or all-zeros of typeTdepending onvalue.typedefmaskfor Obtains the mask type associated with a SIMD type.variableexpression_with_arguments<Args>::masks Per-argument dimension masks computed from each argument's shape.typedefmat Matrix alias: a vector of vectors,N2rows ofN1columns.variablestereo_matrix::matrix 2x2 mixing matrix (rows are output coefficients).functionmatrix_halfsum_halfdiff() Returns a 2x2 matrix that computes half-sum/half-difference of stereo channels.functionmatrix_sum_diff() Returns a 2x2 matrix that computes sum/difference of stereo channels.functionmatrix_transpose(T *, const T *, shape<Dims>) Transposes a matrix (supports scalar and compound types).enum constantspecial_constant::max maximum representable valuevariablecpu_features::max Highest supported standard CPUID leaf (leaf 0 EAX).variableexpression_random_range<T, Dims, Reference>::maxvariablerange<T>::maxvariablemax_audio_channels Maximum number of channels in audio data.variablemax_index_t Maximum representable value ofindex_t.variablemax_sindex_t Maximum representable value ofsigned_index_t.variablemax_size_t Maximum value representable by size_tvariablemax_test_size Maximum vector size (in elements) exercised by the test suite for the current architecture.functionmax(const T1 &, const T2 &) Returns the greater of two values.functionmax(E1 &&, E2 &&) Creates an expression that returns the greater ofxandy.variablecursor<Dims>::maximum Upper bound (exclusive) for each axis.variablemaximum_biquad_count Maximum number of cascaded biquad sections (maximum_iir_order / 2).variablemaximum_dims Upper bound on the number of dimensions supported byshape.variablemaximum_expression_width Maximum vector width (in elements) supported by an expression handle for typeT.variablemaximum_iir_order Maximum supported IIR filter order.variableplatform<cpu_t::common>::maximum_vector_alignmentvariableplatform<cpu_t::common>::maximum_vector_alignment_maskvariablemaximum_vector_sizefunctionmaxof(const E1 &) Returns the greatest of all the elements in x.functionmean(const E1 &) Returns the arithmetic mean of all the elements in x.functionmeasure_rdtsc_cycle_time() Measures and returns the estimated cycle time in nanoseconds per tick for rdtsc.typedefmemory_finalizer Shared ownership handle for a memory finalizer.classmemory_reader<T>constructormemory_reader<T>::memory_reader<T>(std::span<const T>)classmemory_writer<T>constructormemory_writer<T>::memory_writer<T>(std::span<T>)variableaudiofile_format::metadata Key-value metadata pairs.typedefmetadata_map Metadata map for storing key-value pairs.enum constantwindow_metrics::metrics_0_1enum constantwindow_metrics::metrics_m1_1enum constantwindow_metrics::metrics_m1_1_truncenum constantwindow_metrics::metrics_m1_1_trunc2enum constantwindow_metrics::metrics_mpi_pienum constantspecial_constant::min minimum positive normalized valuevariableexpression_random_range<T, Dims, Reference>::minvariablerange<T>::minfunctionshape<Dims>::min(const shape<dims> &, const shape<dims> &) Element-wise minimum of two shapes.functionmin(const T1 &, const T2 &) Returns the smaller of two values.functiontimestamps<max_count, fence>::min(const timestamps<max_count, fence> &) Return a new timestamps object containing the per-slot minimum durations.functionmin(E1 &&, E2 &&) Creates an expression that returns the smaller ofxandy.variablecursor<Dims>::minimum Lower bound (inclusive) for each axis.variableplatform<cpu_t::common>::minimum_float_vector_sizevariableplatform<cpu_t::common>::minimum_int_vector_sizevariableminimum_vector_width Minimum SIMD vector width (in elements) for typeTon the native platform.functionminof(const E1 &) Returns the smallest of all the elements in x.functionmix(const T1 &, const T2 &, const T3 &) Linear blend ofxandy.functionmixdown_stereo(Left &&, Right &&, const f64x2x2 &) Returns a template expression that produces a length-2 vector mixing the left and right channels according tomatrix.functionmixdown(E &&...) Returns a template expression that yields the sample-wise sum of all the inputs.functionmix(E1 &&, E2 &&, E3 &&) Creates an expression that returns the linear blend ofxandy.functionmixs(const T1 &, const T2 &, const T3 &) Signed linear blend ofxandy.functionmixs(E1 &&, E2 &&, E3 &&) Creates an expression that returns the signed linear blend ofxandy.functionmod(const T1 &, const T2 &) Modulo ofxbyy.variablecpu_features::model NUL-terminated CPUID model/brand string (leaves 0x80000002–4).functionmodzerobessel(const T1 &) Computes the modified zeroth-order Bessel function of the first kind. This function calculates I₀(x), the modified Bessel function of the first kind with order zero, for the given input value.functionmodzerobessel(E1 &&) Creates an expression that returns the modified Bessel function of the first kind of order 0 of x.enum constantspeaker_type::Mono Mono (front center, single channel).enum constantspeaker_arrangement::Mono Single mono channel (M).classmoving_sum_state<U, Tag> State for a moving-sum (rectangular window) filter with a compile-time-sized delay line.constructormoving_sum_state<U, Tag>::moving_sum_state<U, Tag>()classmoving_sum_state<U, tag_dynamic_vector> Specialization ofmoving_sum_statefor a runtime-sized window.constructormoving_sum_state<U, tag_dynamic_vector>::moving_sum_state<U, tag_dynamic_vector>(size_t) Construct a moving-sum state with the given window length.functionmoving_sum(E1 &&) Returns template expression that performs moving sum on the input.functionmoving_sum(E1 &&, size_t) Returns template expression that performs moving sum on the input.functionmoving_sum(E1 &&, std::reference_wrapper<moving_sum_state<U, Tag>>) Returns template expression that performs moving sum on the input.functionmoving_sum(moving_sum_state<U, STag> &, E1 &&) Returns template expression that performs moving sum on the input.enum constantaudiofile_container::mp3 MPEG audioenum constantaudiofile_codec::mp3structmp3_configstructmp3_decoding_options Options for decoding MP3 audio files.variabletimestamps<max_count, fence>::msg Per-checkpoint labels, parallel todur.variableexpression_random_normal<T, Dims, Reference>::mufunctionmul(const T1 &) Identity mul (single argument).functionmul(const T1 &, const T2 &, const Ts &...) Returns product of all the arguments passed to a function.functionmul(E &&...) Creates an expression that returns the product of all the arguments passed to a function.functionmul(initialvalue<T>) Identity element formul(returns one).functionmulsign(const T1 &, const T2 &) Multiplyxby the sign ofywithout a conditional branch.functioncompiletime::mulsign(T, T) Compile-time multiplication by sign of a second value.functionaudio_data<IsInterleaved>::multiply(fbase) Multiplies the audio data by a specified scalar value.enum constantspeaker_arrangement::Music30 L, R, S (music 3.0).enum constantspeaker_arrangement::Music31 L, R, S, Lfe (music 3.1).enum constantspeaker_arrangement::Music40 L, R, Ls, Rs (music 4.0).enum constantspeaker_arrangement::Music41 L, R, Ls, Rs, Lfe (music 4.1).enum constantspeaker_arrangement::Music60 L, R, Ls, Rs, Sl, Sr (music 6.0).enum constantspeaker_arrangement::Music61 L, R, Lfe, Ls, Rs, Sl, Sr (music 6.1).enum constantspeaker_arrangement::Music70 L, R, C, Ls, Rs, Sl, Sr (music 7.0).enum constantspeaker_arrangement::Music71 L, R, C, Lfe, Ls, Rs, Sl, Sr (music 7.1).enum constantspeaker_arrangement::Music80 L, R, C, Ls, Rs, Sl, Sr, Cs (music 8.0).enum constantspeaker_arrangement::Music81 L, R, C, Lfe, Ls, Rs, Sl, Sr, Cs (music 8.1).
N¶
variablenamed_arg<T>::namevariablenamed::namevariabledft_stage<T>::name Human-readable name of the stage (forstructnamedclassnamed_arg<T>constructornamed::named(const char *)functionnarrow(const vec<T, N> &) Narrowsxto lengthNoutby truncation.enum constantcpu_t::nativevariableplatform<cpu_t::common>::native_cache_alignmentvariableplatform<cpu_t::common>::native_cache_alignment_maskvariableplatform<cpu_t::common>::native_float_vector_sizevariableplatform<cpu_t::avx>::native_float_vector_sizevariableplatform<cpu_t::avx512>::native_float_vector_sizevariableplatform<cpu_t::common>::native_int_vector_sizevariableplatform<cpu_t::avx2>::native_int_vector_sizevariableplatform<cpu_t::avx512>::native_int_vector_sizevariableplatform<cpu_t::common>::native_vector_alignmentvariableplatform<cpu_t::avx>::native_vector_alignmentvariableplatform<cpu_t::avx512>::native_vector_alignmentvariableplatform<cpu_t::common>::native_vector_alignment_maskvariableplatform<cpu_t::avx>::native_vector_alignment_maskvariableplatform<cpu_t::avx512>::native_vector_alignment_maskclassnative_vector_type<T>functionnearest(M, T, T) Nearest-neighbor interpolation.functionne(E1 &&, E2 &&) Creates an expression that returns whethere1is not equal toe2.variabledft_stage<T>::need_reorder Whether the stage output requires bit-reversal reordering.enum constantspecial_constant::neg_infinity negative infinityenum constantspecial_constant::neg_max negated maximum representable valuefunctionneg(const T1 &) Arithmetic negation ofx.functionnegeven(const vec<T, N> &) Negates the even-indexed lanes ofx.variablescalar_constants<T>::neginfinity The representation of negative infinity for the type T.functionnegodd(const vec<T, N> &) Negates the odd-indexed lanes ofx.functiontensor<T, NDims>::nested_begin() Returns a nested iterator to the first sub-tensor along the first axis.functiontensor<T, NDims>::nested_end() Returns the nested iterator sentinel past the last sub-tensor.typedeftensor<T, NDims>::nested_iteratorstructtensor<T, NDims>::nested_iterator_t Iterator over the first axis yielding sub-tensors of one fewer dimension.functiongenerator_linear<T, VecWidth>::next() Advances the generator state by one native vector width.functiongenerator_exp<T, VecWidth>::next() Advances the generator state by one native vector width using the precomputed multiplicative growth factor.functiongenerator_expj<T, VecWidth>::next() Advances the complex rotation by one native vector width using the recurrence relation.functiongenerator_exp2<T, VecWidth>::next() Advances the generator state by one native vector width using the precomputed multiplicative growth factor.functiongenerator_cossin<T, VecWidth>::next() Advances the rotation by one native vector width using the recurrence relation.functiongenerator_sin<T, VecWidth>::next() Advances the rotation by one native vector width using the recurrence relation.functionnext_poweroftwo(T) Returns a nearest power of two that is greater or equal than nfunctionngfft_execute(const ngfft_plan<T> &, bool, complex<T> *, const complex<T> *, dft_algorithm) Executes the FFT with separate input and output buffers, runtime direction and algorithm.functionngfft_execute(const ngfft_plan<T> &, bool, complex<T> *, dft_algorithm) Executes the FFT in-place with runtime direction and algorithm.functionngfft_execute(const ngfft_plan<T> &, cbool_t<inverse>, complex<T> *, const complex<T> *, dft_algorithm) Executes the FFT with separate input and output buffers, a compile-time direction and runtime algorithm.functionngfft_execute(const ngfft_plan<T> &, cbool_t<inverse>, complex<T> *, dft_algorithm) Executes the FFT in-place with a compile-time direction and runtime algorithm.functionngfft_initialize(ngfft_plan<T> &, dft_algorithm) Initializes the plan's twiddles for a runtime algorithm value.classngfft_plan_real<T>constructorngfft_plan_real<T>::ngfft_plan_real<T>()constructorngfft_plan_real<T>::ngfft_plan_real<T>(uint8_t)classngfft_plan<T> Plan structure for the ng FFT algorithms (new in KFR 7.1).functionngfft_real_execute(const ngfft_plan<T> &, complex<T> *, const T *, dft_algorithm) Executes the forward real-to-complex FFT with a runtime algorithm.functionngfft_real_execute(const ngfft_plan<T> &, T *, const complex<T> *, dft_algorithm) Executes the inverse complex-to-real FFT with a runtime algorithm.functionngfft_twiddle_count(ngfft_plan<T> &, dft_algorithm) Returns the twiddle-factor count for a runtime algorithm value.variableexpression_vtable<T, Dims>::Nmax Largest supported block size.structdft_plan<T>::noinitfunctionnoinline(Fn &&, Args &&...)enum constantspeaker_type::None No speaker / unspecified.enum constantspeaker_arrangement::None No arrangement / unspecified.enum constantaudio_dithering::nonetypedeffn_generic::noopfunctionnoop(Ts &&...) Function that returns void and ignores all its argumentsenum constantdft_order::normal Normal orderenum constantsample_rate_conversion_quality::normal Normal quality (balanced).functionfraction::normalize() Reduce the fraction to lowest terms and enforce a positive denominator.functionbiquad_section<T>::normalized_a0() Returns a section scaled so that a0 == 1.functionbiquad_section<T>::normalized_all() Returns a section scaled so that both a0 == 1 and b0 == 1.functionbiquad_section<T>::normalized_b0() Returns a section scaled so that b0 == 1.conceptnot_f_classenum constantaudiofile_error::not_found The file was not foundconceptnot_i_classenum constantaudiofile_error::not_implemented Not implementedconceptnot_u_classenum constantbiquad_type::notch Notch (band-reject) filter.functionnote_to_hertz(const T1 &) Convert a MIDI note number to frequency in Hertz.functionnote_to_hertz(E1 &&) Convert a MIDI note number expression to frequency in Hertz.functionnotequal(const T1 &, const T2 &) Element-wise inequality comparison.functioncvals_t<T, values>::notequal(cvals_t<T, values...>) Returnsenumnpy_decode_result Status returned by the.npyloading function.variableexpression_vtable<T, Dims>::Nsizes Number of supported power-of-two block sizes (1 .. maximum_expression_width<T>).typedefctypes_t<Ts>::nth The type at positiontypedefexpression_with_arguments<Args>::nth Alias for the type of the argument at positiontypedefexpression_with_arguments<Arg>::nth Alias for the argument type (any index).typedefexpression_with_arguments<Args>::nth_trait Alias for the traits of the argument at positiontypedefexpression_with_arguments<Arg>::nth_trait Alias for the traits of the argument.variablefraction::numerator Numerator of the fraction.conceptnumeric Concept satisfied by numeric types (numbers or compound types of numbers)variablenumeric_typesvariablenumeric_vector_types Instance combining integer and floating-point vector types for use as a value parameter pack.
O¶
functionodd(const vec<T, N> &) Extracts the odd-indexed elements ofx(with optional grouping).enum constantnpy_decode_result::ok Successfully loadedvariableexpression_goertzel<T>::omega Target angular frequency [rad/sample].variableexpression_parallel_goertzel<T, width>::omega SIMD vector of target angular frequencies.functionones() Creates an expression that always evaluates to one.functiononoff(cint_t<on>, cint_t<off>) Generates a vector with an on/off pattern over a contiguous range.functiononoff(vec_shape<T, N>, cint_t<on>, cint_t<off>) Shape-driven overload of onoff() for type deduction.functioncmp_eq::op()functioncmp_ne::op()functioncmp_lt::op()functioncmp_gt::op()functioncmp_le::op()functioncmp_ge::op()variable::KFR_DFT_PLAN_F32::opaquevariable::KFR_DFT_PLAN_F64::opaquevariable::KFR_DFT_REAL_PLAN_F32::opaquevariable::KFR_DFT_REAL_PLAN_F64::opaquevariable::KFR_DCT_PLAN_F32::opaquevariable::KFR_DCT_PLAN_F64::opaquevariable::KFR_FILTER_F32::opaquevariable::KFR_FILTER_F64::opaquevariable::KFR_FILTER_C32::opaquevariable::KFR_FILTER_C64::opaquefunctionopen_file_for_appending(const filepath &) Opens typed file for appendingfunctionopen_file_for_reading(const filepath &) Opens typed file for readingfunctionopen_file_for_writing(const filepath &) Opens typed file for writingenumopen_file_modenamespaceopencl_namesfunctionaudio_decoder::open(const file_path &) Opens an audio file from a file path and retrieves its format.functionaudio_encoder::open(const file_path &, const audiofile_format &, audio_decoder *) Opens the encoder with a file path and format.functionaudio_decoder::open(std::shared_ptr<binary_reader>) Opens an audio file using a binary reader and retrieves its format.functionaudio_encoder::open(std::shared_ptr<binary_writer>, const audiofile_format &, audio_decoder *) Opens the encoder with a binary writer and format.functioncval_t<T, val>::operator()() Returns the wrapped valuefunctionvec<T, N>::element::operator+() Unary plus (returns the value).functionvec<T, N>::element::operator-() Unary negation.functionvec<T, N>::element::operator++() Pre-increment.functionvec<T, N>::element::operator--() Pre-decrement.functionshape<Dims>::operator*() Access the underlying static array.functionshape<Dims>::operator->() Pointer-like access to the underlying static array.functionfraction::operator+() Unary plus (returns a copy of the fraction).functionfraction::operator-() Unary minus (negates the numerator).functiontensor<T, NDims>::tensor_iterator::operator*() Dereferences the iterator to the referenced element.functiontensor<T, NDims>::tensor_iterator::operator->() Accesses the referenced element by pointer.functiontensor<T, NDims>::tensor_iterator::operator++() Prefix increment, advancing to the next element in row-major order.functiontensor<T, NDims>::nested_iterator_t::operator*() Dereferences the iterator to the sub-tensor at the current index.functiontensor<T, NDims>::nested_iterator_t::operator++() Prefix increment, advancing to the next sub-tensor.functionstate_holder<T, false>::operator->() Returns a pointer to the state (const overload).functionstate_holder<T, false>::operator->() Returns a pointer to the state (non-const overload).functionstate_holder<T, false>::operator*() Returns a reference to the state (const overload).functionstate_holder<T, false>::operator*() Returns a reference to the state (non-const overload).functionstate_holder<T, true>::operator->() Returns a pointer to the state (const overload).functionstate_holder<T, true>::operator->() Returns a pointer to the state (non-const overload).functionstate_holder<T, true>::operator*() Returns a reference to the state (const overload).functionstate_holder<T, true>::operator*() Returns a reference to the state (non-const overload).functionrange<T>::iterator::operator*()functionrange<T>::iterator::operator->()functionrange<T>::iterator::operator++()functioncomparison<Fn, L, R>::operator()()functionaudio_dithering_state::operator()() Generates one dither sample according to the configured method.functionoperatorfunctionoperator User-defined literal returning aformat_tfor the given string literal.functionoperator User-defined literal returning aprint_tfor the given string literal.functionfn_pass_through::operator()(Args &&...)functionfn_noop::operator()(Args &&...)functionfn_get_first::operator()(Args &&...)functionfn_get_second::operator()(Args &&...)functionfn_get_third::operator()(Args &&...)functionfn_returns<T>::operator()(Args &&...)functionfn_return_constant<T, value>::operator()(Args &&...) Returns the wrapped constantfunctionfn_is_equal::operator()(Args &&...)functionfn_is_notequal::operator()(Args &&...)functionfn_is_less::operator()(Args &&...)functionfn_is_greater::operator()(Args &&...)functionfn_is_lessorequal::operator()(Args &&...)functionfn_is_greaterorequal::operator()(Args &&...)functionfn_is_between::operator()(Args &&...)functionfn_noinline<Fn>::operator()(Args &&...) Invokes the wrapped callable non-inlinedfunctionarray_ref<T>::operator=(array_ref<T> &&)functionaudio_data<IsInterleaved>::operator=(audio_data<IsInterleaved> &&)functionautofree<T>::operator=(autofree<T> &&)operatorbit<T>::operator Converts to bool by testing the sign bit of the stored mask.functionbit<T>::operator==(bool) Equality comparison against a plain bool.functionbit<T>::operator!=(bool) Inequality comparison against a plain bool.operatorexpression_handle<T, Dims>::operatortrueif the handle references a valid instance.operatorfraction::operator True if the fraction is non-zero.functionformat_t<chars>::operator()(const Args &...) Format the given arguments using the stored literal.functionprint_t<chars>::operator()(const Args &...) Print the given arguments to stdout using the stored literal.functionarray_ref<T>::operator=(const array_ref<T> &)functionaudio_data<IsInterleaved>::operator==(const audio_data<IsInterleaved> &)functionaudio_data<IsInterleaved>::operator=(const audio_data<IsInterleaved> &)functionaudiofile_format::operator==(const audiofile_format &)functionautofree<T>::operator=(const autofree<T> &)functionbit<T>::operator==(const bit<T> &) Equality comparison between two bit values.functionbit<T>::operator!=(const bit<T> &) Inequality comparison between two bit values.functioncstring<N>::operator==(const cstring<N> &, const cstring<N> &)functioncstring<N>::operator!=(const cstring<N> &, const cstring<N> &)functioncstring<N>::operator==(const cstring<NN> &)functioncstring<N>::operator!=(const cstring<NN> &)functionoperator==(const data_allocator<T1> &, const data_allocator<T2> &)functionoperator!=(const data_allocator<T1> &, const data_allocator<T2> &)functiondft_plan_md_real<T, Dims>::operator=(const dft_plan_md_real<T, Dims> &)functiondft_plan_md<T, Dims>::operator=(const dft_plan_md<T, Dims> &)functiondft_plan_real<T>::operator=(const dft_plan_real<T> &)functiondft_plan<T>::operator=(const dft_plan<T> &) Copy assignment operator (deleted).functionvec<T, N>::element::operator=(const element &) Copy-assign from another element proxy.functionfir_params<T>::operator=(const fir_params<T> &)functionfir_state<T, U>::operator=(const fir_state<T, U> &)functionfraction::operator+=(const fraction &) Add-assign.functionfraction::operator-=(const fraction &) Subtract-assign.functionfraction::operator*=(const fraction &) Multiply-assign.functionfraction::operator/=(const fraction &) Divide-assign.functionfraction::operator+(const fraction &, const fraction &) Add two fractions.functionfraction::operator-(const fraction &, const fraction &) Subtract two fractions.functionfraction::operator*(const fraction &, const fraction &) Multiply two fractions.functionfraction::operator/(const fraction &, const fraction &) Divide two fractions.functionfraction::operator==(const fraction &, const fraction &) Equality comparison.functionfraction::operator!=(const fraction &, const fraction &) Inequality comparison.functionfraction::operator<(const fraction &, const fraction &) Less-than comparison.functionfraction::operator<=(const fraction &, const fraction &) Less-than-or-equal comparison.functionfraction::operator>(const fraction &, const fraction &) Greater-than comparison.functionfraction::operator>=(const fraction &, const fraction &) Greater-than-or-equal comparison.functiontensor<T, NDims>::operator()(const Index &...) Returns a sub-tensor (slice) selected by a mix of integer indices and tensor_range specifiers. Axes indexed by integers are removed from the result; axes indexed by tensor_range are kept.functioninline_vector<T, N>::operator=(const inline_vector<T, N> &)functioninline_vector<T, N>::operator==(const inline_vector<T, N> &) Returnstrueif both vectors contain the same elements in the same order.functioninline_vector<T, N>::operator!=(const inline_vector<T, N> &) Returnstrueif the vectors differ in size or contents.functionrange<T>::iterator::operator!=(const iterator &)functionequality_comparer<L, R>::operator()(const L &, const R &)functionoperator&(const mask<T1, N> &, const mask<T2, N> &) Bitwise AND of two masks (bit-level, size must match).functionoperator|(const mask<T1, N> &, const mask<T2, N> &) Bitwise OR of two masks (bit-level, size must match).functionoperator&&(const mask<T1, N> &, const mask<T2, N> &) Logical AND of two masks (bit-level conjunction, size must match).functionoperator||(const mask<T1, N> &, const mask<T2, N> &) Logical OR of two masks (bit-level disjunction, size must match).functionoperator^(const mask<T1, N> &, const mask<T2, N> &) Bitwise XOR of two masks (bit-level, size must match).functionoperator~(const mask<T, N> &) Bitwise NOT of a mask.functionoperator!(const mask<T, N> &) Logical NOT of a mask (equivalent to bitwise NOT).functiontensor<T, NDims>::nested_iterator_t::operator==(const nested_iterator_t &) Returnstrueif two iterators refer to the same position.functiontensor<T, NDims>::nested_iterator_t::operator!=(const nested_iterator_t &) Returnstrueif two iterators refer to different positions.functionportable_vec<T, N>::operator==(const portable_vec<T, N> &)functionrandom_state::operator=(const random_state &)functionshape<0>::operator==(const shape<0> &) Two scalar shapes are always equal.functionshape<0>::operator!=(const shape<0> &) Two scalar shapes are never unequal.functiontensor<T, NDims>::operator()(const shape_type &, const shape_type &) Returns a sub-tensor (slice) spanning fromstarttostop.functiontensor<T, NDims>::operator=(const T &) Fills the tensor with a scalar value (const overload).functiontensor<T, NDims>::operator=(const T &) Fills the tensor with a scalar value (rvalue overload).functionoperator+(const T1 &, const vec<T2, N> &)functionoperator-(const T1 &, const vec<T2, N> &)functionoperator*(const T1 &, const vec<T2, N> &)functionoperator/(const T1 &, const vec<T2, N> &)functionoperator%(const T1 &, const vec<T2, N> &)functionoperator&(const T1 &, const vec<T2, N> &)functionoperator|(const T1 &, const vec<T2, N> &)functionoperator^(const T1 &, const vec<T2, N> &)functionoperator<<(const T1 &, const vec<T2, N> &)functionoperator>>(const T1 &, const vec<T2, N> &)functionoperator==(const T1 &, const vec<T2, N> &)functionoperator!=(const T1 &, const vec<T2, N> &)functionoperator>=(const T1 &, const vec<T2, N> &)functionoperator<=(const T1 &, const vec<T2, N> &)functionoperator>(const T1 &, const vec<T2, N> &)functionoperator<(const T1 &, const vec<T2, N> &)functiontensor<T, NDims>::tensor_iterator::operator==(const tensor_iterator &) Returnstrueif two iterators refer to the same position.functiontensor<T, NDims>::tensor_iterator::operator!=(const tensor_iterator &) Returnstrueif two iterators refer to different positions.functiontensor<T, NDims>::operator=(const tensor<T, NDims> &) Copy-assigns the tensor, sharing the data ofsrc.functiontensor<T, NDims>::operator=(const tensor<T, NDims> &) Copy-assigns the tensor fromsrc(const overload).functiontensor<T, NDims>::operator=(const tensor<T, NDims> &) Copy-assigns the tensor fromsrc(rvalue overload).functiontensor<T, NDims>::operator==(const tensor<T, NDims> &, const tensor<T, NDims> &) Returnstrueif both tensors have the same shape and equal elements.functiontensor<T, NDims>::operator==(const tensor<T, NDims> &, tensor<T, NDims> &&) Returnstrueif both tensors have the same shape and equal elements.functiontensor<T, NDims>::operator==(const tensor<T, NDims> &, tensor<T, NDims> &) Returnstrueif both tensors have the same shape and equal elements.functionvec<T, N>::element::operator=(const typename vec<U, M>::element &) Assign from an element proxy of a different vector type.functionoperator==(const univector<T, T1> &, const univector<T, T2> &) Returnstrueif the two univectors have equal size and element-wise equal contents.functionoperator!=(const univector<T, T1> &, const univector<T, T2> &) Returnstrueif the two univectors differ in size or in any element.functionunivector<T, tag_dynamic_vector>::operator=(const univector<T, tag_dynamic_vector> &)functionvec<T, N>::element::operator=(const value_type &) Assign a scalar to the referenced element.functionvec<T, N>::element::operator+=(const value_type &) Add-assign a scalar.functionvec<T, N>::element::operator-=(const value_type &) Subtract-assign a scalar.functionvec<T, N>::element::operator*=(const value_type &) Multiply-assign a scalar.functionvec<T, N>::element::operator/=(const value_type &) Divide-assign a scalar.functionoperator+(const vec<T1, N> &, const T2 &)functionoperator-(const vec<T1, N> &, const T2 &)functionoperator*(const vec<T1, N> &, const T2 &)functionoperator/(const vec<T1, N> &, const T2 &)functionoperator%(const vec<T1, N> &, const T2 &)functionoperator&(const vec<T1, N> &, const T2 &)functionoperator|(const vec<T1, N> &, const T2 &)functionoperator^(const vec<T1, N> &, const T2 &)functionoperator==(const vec<T1, N> &, const T2 &)functionoperator!=(const vec<T1, N> &, const T2 &)functionoperator>=(const vec<T1, N> &, const T2 &)functionoperator<=(const vec<T1, N> &, const T2 &)functionoperator>(const vec<T1, N> &, const T2 &)functionoperator<(const vec<T1, N> &, const T2 &)functionoperator+(const vec<T1, N> &, const vec<T2, N> &)functionoperator-(const vec<T1, N> &, const vec<T2, N> &)functionoperator*(const vec<T1, N> &, const vec<T2, N> &)functionoperator/(const vec<T1, N> &, const vec<T2, N> &)functionoperator%(const vec<T1, N> &, const vec<T2, N> &)functionoperator&(const vec<T1, N> &, const vec<T2, N> &)functionoperator|(const vec<T1, N> &, const vec<T2, N> &)functionoperator^(const vec<T1, N> &, const vec<T2, N> &)functionoperator<<(const vec<T1, N> &, const vec<T2, N> &)functionoperator>>(const vec<T1, N> &, const vec<T2, N> &)functionoperator==(const vec<T1, N> &, const vec<T2, N> &)functionoperator!=(const vec<T1, N> &, const vec<T2, N> &)functionoperator>=(const vec<T1, N> &, const vec<T2, N> &)functionoperator<=(const vec<T1, N> &, const vec<T2, N> &)functionoperator>(const vec<T1, N> &, const vec<T2, N> &)functionoperator<(const vec<T1, N> &, const vec<T2, N> &)functionoperator<<(const vec<T1, N> &, unsigned int)functionoperator>>(const vec<T1, N> &, unsigned int)functionvec<T, N>::operator=(const vec<T, N> &) Copy assignment operator.functionoperator-(const vec<T, N> &)functionoperator~(const vec<T, N> &)functionstereo_matrix::operator()(const vec<vec<T, 2>, N> &) Apply the matrix to a vector of stereo samples.functioncvals_t<T, values>::operator[](csize_t<index>) Returns the value atfunctionoperator-(cval_t<T1, val1>)functionoperator+(cval_t<T1, val1>)functionoperator~(cval_t<T1, val1>)functionoperator!(cval_t<T1, val1>)functionoperator&&(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator||(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator==(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator!=(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator<(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator>(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator<=(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator>=(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator+(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator-(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator*(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator/(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator%(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator<<(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator>>(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator&(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator|(cval_t<T1, val1>, cvals_t<T2, vals2...>)functionoperator^(cval_t<T1, val1>, cvals_t<T2, vals2...>)functioncvals_t<T, values>::operator[](cvals_t<size_t, indices...>) Returns a sub-list containing the values atfunctionoperator-(cvals_t<T1, vals1...>)functionoperator+(cvals_t<T1, vals1...>)functionoperator~(cvals_t<T1, vals1...>)functionoperator!(cvals_t<T1, vals1...>)functionoperator&&(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator||(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator==(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator!=(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator<(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator>(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator<=(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator>=(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator+(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator-(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator*(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator/(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator%(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator<<(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator>>(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator&(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator|(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator^(cvals_t<T1, vals1...>, cval_t<T2, val2>)functionoperator&&(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator||(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator==(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator!=(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator<(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator>(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator<=(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator>=(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator+(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator-(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator*(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator/(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator%(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator<<(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator>>(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator&(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator|(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator^(cvals_t<T1, vals1...>, cvals_t<T2, vals2...>)functionoperator|(datatype, datatype)functionoperator&(datatype, datatype)functionaligned_new::operatorfunctiondft_stage<T>::operatorfunctionaligned_new::operatorfunctionexpression_resource_impl<E>::operator Aligned delete overload matching the aligned allocation inmake_resource.functiondft_stage<T>::operatorfunctiondft_plan_md_real<T, Dims>::operator=(dft_plan_md_real<T, Dims> &&)functiondft_plan_md<T, Dims>::operator=(dft_plan_md<T, Dims> &&)functiondft_plan_real<T>::operator=(dft_plan_real<T> &&)functiondft_plan<T>::operator=(dft_plan<T> &&) Move assignment operator.operatorfraction::operator Convert to double (exact value).functionoperator-(E1 &&) Creates an expression that returns the arithmetic negation ofe1.functionoperator~(E1 &&) Creates an expression that returns the bitwise NOT ofe1.functionoperator+(E1 &&, E2 &&) Creates an expression that returns the sum ofe1ande2.functionoperator-(E1 &&, E2 &&) Creates an expression that returns the difference betweene1ande2.functionoperator*(E1 &&, E2 &&) Creates an expression that returns the product ofe1ande2.functionoperator/(E1 &&, E2 &&) Creates an expression that returns the quotient ofe1divided bye2.functionoperator%(E1 &&, E2 &&) Creates an expression that returns the remainder ofe1divided bye2.functionoperator&(E1 &&, E2 &&) Creates an expression that returns the bitwise AND ofe1ande2.functionoperator|(E1 &&, E2 &&) Creates an expression that returns the bitwise OR ofe1ande2.functionoperator^(E1 &&, E2 &&) Creates an expression that returns the bitwise XOR ofe1ande2.functionoperator<<(E1 &&, E2 &&) Creates an expression that returnse1shifted left bye2bits.functionoperator>>(E1 &&, E2 &&) Creates an expression that returnse1shifted right bye2bits.functionoperator+=(E1 &&, E2 &&) Addse2toe1in place and returns a reference toe1.functionoperator-=(E1 &&, E2 &&) Subtractse2frome1in place and returns a reference toe1.functionoperator*=(E1 &&, E2 &&) Multipliese1bye2in place and returns a reference toe1.functionoperator/=(E1 &&, E2 &&) Dividese1bye2in place and returns a reference toe1.functionoperator%=(E1 &&, E2 &&) Assigns the remainder ofe1divided bye2toe1and returns a reference toe1.functionoperator|=(E1 &&, E2 &&) Assigns the bitwise OR ofe1ande2toe1and returns a reference toe1.functionoperator&=(E1 &&, E2 &&) Assigns the bitwise AND ofe1ande2toe1and returns a reference toe1.functionoperator^=(E1 &&, E2 &&) Assigns the bitwise XOR ofe1ande2toe1and returns a reference toe1.functionoperator<<=(E1 &&, E2 &&) Shiftse1left bye2bits in place and returns a reference toe1.functionoperator>>=(E1 &&, E2 &&) Shiftse1right bye2bits in place and returns a reference toe1.functionfir_params<T>::operator=(fir_params<T> &&)functionfir_state<T, U>::operator=(fir_state<T, U> &&)operatorf16::operator Converts this IEEE 754 binary16 value to single precision.operatorfraction::operator Convert to float (exact value).functioncfor_t<stop, start, conditional>::operator=(Fn &&) Invokesfnfor each index in[start, stop), passing i as template argument.functionexpression_function<Fn, Args>::operator=(In &&) Processes an input expression into this output expression.functiontensor<T, NDims>::operator[](index_t) Returns a reference to the element at the given flat index.functioninline_vector<T, N>::operator=(inline_vector<T, N> &&)functionexpression_unpack<E>::operator=(Input &&) Assigns the values ofinputto all wrapped output expressions.functionunivector_base<T, Class, true>::operator=(Input &&) Assigns an expression to the vector. The expression must have at most one dimension; its elements are written to the vector starting at index 0.functionunivector_base<T, Class, false>::operator=(Input &&) Assignment from an expression is disabled for non-expression vectors. Always triggers a static assertion failure.functionunivector<T, tag_dynamic_vector>::operator=(Input &&) Assigns an expression to the vector, resizing it when the expression has a finite size.functiontensor<T, NDims>::operator=(Input &&) Evaluatesinputand assigns the result to this tensor (const overload).functiontensor<T, NDims>::operator=(Input &&) Evaluatesinputand assigns the result to this tensor (rvalue overload).functiontensor<T, NDims>::operator=(Input &&) Evaluatesinputand assigns the result to this tensor (lvalue overload).operatori24::operator Implicit conversion tointvia as_int().functionvec<T, N>::element::operator++(int) Post-increment.functionvec<T, N>::element::operator--(int) Post-decrement.functiontensor<T, NDims>::tensor_iterator::operator++(int) Postfix increment.functiontensor<T, NDims>::nested_iterator_t::operator++(int) Postfix increment.functionrange<T>::iterator::operator++(int)functionmake_comparison::operator<=(L &&)operatorfraction::operator Convert to integer (truncates toward zero).functioncmp_eq::operator()(L &&, R &&)functioncmp_ne::operator()(L &&, R &&)functioncmp_lt::operator()(L &&, R &&)functioncmp_gt::operator()(L &&, R &&)functioncmp_le::operator()(L &&, R &&)functioncmp_ge::operator()(L &&, R &&)functionaligned_new::operatorfunctiondft_stage<T>::operatorfunctionaligned_new::operatorfunctiondft_stage<T>::operatoroperatorvec<T, N>::operator Convert to a layout-compatibleportable_vec.functionhalf_comparison<L>::operator==(R &&)functionhalf_comparison<L>::operator!=(R &&)functionhalf_comparison<L>::operator<(R &&)functionhalf_comparison<L>::operator>(R &&)functionhalf_comparison<L>::operator<=(R &&)functionhalf_comparison<L>::operator>=(R &&)functionrandom_state::operator=(random_state &&)functionsamplerate_converter<T>::operator=(samplerate_converter<T> &&) Move assignment operator.functioncstring<N>::operator[](size_t)functionportable_vec<T, N>::operator[](size_t)functionportable_vec<T, N>::operator[](size_t)functionvec<T, N>::operator[](size_t) Read element atindexfrom a const lvalue vector.functionvec<T, N>::operator[](size_t) Read element atindexfrom an rvalue vector.functionvec<T, N>::operator[](size_t) Access element atindexfrom a non-const lvalue vector.functionvec<T, N>::element::operator[](size_t) Index into a compound element (nested vector).functionautofree<T>::operator[](size_t) Access element at index.functionautofree<T>::operator[](size_t) Const access to element at index.functionhistogram_data<Bins, TCount>::operator[](size_t) Returns the count in binn.functionebu_r128<T>::operator[](size_t) Access channelindex(read-only).functioninline_vector<T, N>::operator[](size_type) Returns a const reference to the element atindex(no bounds checking).functioninline_vector<T, N>::operator[](size_type) Returns a reference to the element atindex(no bounds checking).functionsmall_buffer<T, Capacity>::operator=(small_buffer<T, Capacity>) Copy- and move-assigns fromotherusing copy-and-swap.functionarray_ref<T>::operator[](std::size_t)functionsmall_buffer<T, Capacity>::operator[](std::size_t)functionsmall_buffer<T, Capacity>::operator[](std::size_t)functionstruct_with_alignment<T, A>::operator=(T) Assigns a new value to the wrapped member.functionstruct_with_alignment<T, false>::operator=(T) Assigns a new value to the wrapped member.functionnamed::operator=(T &&)functiontensor<T, NDims>::operator=(tensor<T, NDims> &&) Move-assigns the tensor fromsrc.functiontensor<T, NDims>::operator==(tensor<T, NDims> &&, const tensor<T, NDims> &) Returnstrueif both tensors have the same shape and equal elements.functiontensor<T, NDims>::operator==(tensor<T, NDims> &, const tensor<T, NDims> &) Returnstrueif both tensors have the same shape and equal elements.functiontensor<T, NDims>::operator==(tensor<T, NDims> &&, tensor<T, NDims> &&) Returnstrueif both tensors have the same shape and equal elements.functiontensor<T, NDims>::operator==(tensor<T, NDims> &&, tensor<T, NDims> &) Returnstrueif both tensors have the same shape and equal elements.functiontensor<T, NDims>::operator==(tensor<T, NDims> &, tensor<T, NDims> &&) Returnstrueif both tensors have the same shape and equal elements.functiontensor<T, NDims>::operator==(tensor<T, NDims> &, tensor<T, NDims> &) Returnstrueif both tensors have the same shape and equal elements.functiontensor_subscript<T, Derived, std::integer_sequence<index_t, Dims...>>::operator()(type_for<index_t, Dims>...) Accesses the element at the given multi-dimensional index.functiontype_id_t::operator==(type_id_t)functiontype_id_t::operator!=(type_id_t)operatorcval_t<T, val>::operator Implicit conversion to the underlying valuefunctionspecial_value::operator Converts to typeoperatorbit<T>::operatoroperatorvec<T, N>::element::operator Read the referenced element.functionautocast_impl<Tfrom>::operator Converts the stored value tofunctionunivector<T, tag_dynamic_vector>::operator=(univector<T, tag_dynamic_vector> &&)functionunivector<T, tag_dynamic_vector>::operator=(univector<T, tag_dynamic_vector> &) Copy assignment from a mutable univector (forwards to the const overload).functionshape<Dims>::operator Implicit conversion toindex_tfor 1D shapes.functionoperator+=(vec<T1, N> &, const T2 &)functionoperator-=(vec<T1, N> &, const T2 &)functionoperator*=(vec<T1, N> &, const T2 &)functionoperator/=(vec<T1, N> &, const T2 &)functionoperator%=(vec<T1, N> &, const T2 &)functionoperator&=(vec<T1, N> &, const T2 &)functionoperator|=(vec<T1, N> &, const T2 &)functionoperator^=(vec<T1, N> &, const T2 &)functionoperator+=(vec<T1, N> &, const vec<T2, N> &)functionoperator-=(vec<T1, N> &, const vec<T2, N> &)functionoperator*=(vec<T1, N> &, const vec<T2, N> &)functionoperator/=(vec<T1, N> &, const vec<T2, N> &)functionoperator%=(vec<T1, N> &, const vec<T2, N> &)functionoperator&=(vec<T1, N> &, const vec<T2, N> &)functionoperator|=(vec<T1, N> &, const vec<T2, N> &)functionoperator^=(vec<T1, N> &, const vec<T2, N> &)functionoperator<<=(vec<T1, N> &, const vec<T2, N> &)functionoperator>>=(vec<T1, N> &, const vec<T2, N> &)functionoperator<<=(vec<T1, N> &, unsigned int)functionoperator>>=(vec<T1, N> &, unsigned int)functionvec<T, N>::operator=(vec<T, N> &&) Move assignment operator.typedefopt_index_t Optional signed index used bytensor_range.functionoptimized_bitshuffle(const vec<T, N> &) Internal ADL-provided implementation for bit-shuffle expressions.typedefor_type Ifvariablesamplerate_converter<T>::order Filter order.typedefdata_allocator<T>::rebind<U>::othervariablebiquad_state<T, filters>::out Last output vector, used as inter-section delay line.variabledft_stage<T>::out_offset Offset (in complex elements) between successive recursive outputs.variableexpression_reshape<Arg, OutDims>::out_shapefunctiondft_resampler<T>::output_block_size() Returns the output FFT block size \(M\) .conceptoutput_expression Concept satisfied by expressions that can be written to.functiondft_resampler<T>::output_hop() Returns the number of valid output samples produced per frame.variablesamplerate_converter<T>::output_position Current output position.functionsamplerate_converter<T>::output_position_to_input(itype) Converts an output position to the corresponding input position.functionsamplerate_converter<T>::output_position_to_intermediate(itype) Converts an output position to an intermediate (pre-decimation) position.functionsamplerate_converter<T>::output_size_for_input(itype) Calculates the output size produced for a given input size (push method).variablemp3_config::outputChannelsvariablemp3_config::outputSampleRatevariableconvolve_filter<T>::overlapvariableoverload_auto Convenience instance of the highest-priority tag for use in overload resolutiontypedefoverload_generic Alias for the lowest-priority tag, used as a fallback overloadstructoverload_priority<0> Lowest priority tag, base of the overload_priority chainclassoverload_priority<n> Tag type forming a linear inheritance chain used to rank overload candidates.overload_priority<n>derives fromoverload_priority<n-1>, so largernis a better match.functionoverride_cpu(cpu_t) Overrides the CPU instruction set used by KFR at runtime.
P¶
variablezpk::p Poles of the transfer functionfunctionpack_elements() Returns the identity value (0) for an empty packfunctionpack_elements(Arg, Args...)functionpack(Args &&...) Creates an expression that packs several input expressions into a single vector-valued expression.functionpack(const Arg &, const Args &...) Pack scalar values into a vector of numeric type.functionebu_channel<T>::packet_size() Return the number of samples per packet.functionebu_r128<T>::packet_size() Return the number of samples per packet (= sample_rate / refresh_rate).functionpacktranspose(const vec<T, N1> &, const vec<T, Ns> &...) Transposes and packssizeof...(Ns)+1vectors of lengthN1into a vector of vectors of lengthN1.functionpadcenter(size_t, const std::string &, char) Centertextwithin a field ofsizecharacters usingcharacter.functionpadded(Arg &&, T) Creates an expression that extendsargwith a constant fill value.variablecpu_features::padding1variablecpu_features::padding2functionpadhigh(const vec<T, N> &) PadsxwithNcountzero-initialized lanes on the high side.functionpadhigh(const vec<T, N> &, std::type_identity_t<T>) PadsxwithNcountcopies ofnewvalueon the high side.functionpadleft(size_t, const std::string &, char) Left-aligntextwithin a field ofsizecharacters by appendingcharacter.functionpadlow(const vec<T, N> &) PadsxwithNcountzero-initialized lanes on the low side.functionpadlow(const vec<T, N> &, std::type_identity_t<T>) PadsxwithNcountcopies ofnewvalueon the low side.functionpadright(size_t, const std::string &, char) Right-aligntextwithin a field ofsizecharacters by prependingcharacter.variableiir_state<T, filters>::paramsvariablefir_state<T, U>::params Filter parameters (reversed taps).functionpart(const vec<T, N> &) Extracts thenumber-thoftotalequal-sized parts ofx.variablepartial_masks Lookup table used bypartial_maskto build vectors with a leading run of all-ones elements.functionpartial_mask(size_t) Returns a vector ofNelements withindexleading all-ones elements followed by zeros.functionpartial_mask(size_t, vec_shape<T, N>) Returns a vector ofNelements withindexleading all-ones elements followed by zeros.functionpartial_read(const T *, size_t) Reads up tocountelements into a vector.functionpartial_write(T *, const vec<T, N> &, size_t) Writes up tocountleading elements of a vector to memory.typedeffn_generic::pass_throughfunctionpass_through(T &&) Function that returns its first argumenttypedefpconstvoid Pointer to const voidenum constantbiquad_type::peak Peaking equalizer filter.variableaudio_stat::peak Peak absolute sample value across all channels.enum constantsample_rate_conversion_quality::perfect Perfect quality (highest, slowest).functionperfplot_save(const std::string &, T1 &&, T2 &&, const std::string &)functionperfplot_show(const std::string &, T1 &&, T2 &&, const std::string &)enum constantwindow_symmetry::periodicenum constantdft_pack_format::Perm Packed format: {DC, Nyquist}, X[1], X[2], ..., X[N/2-1] For even N, the number of complex samples isenum constant::KFR_DFT_PACK_FORMAT::Perm Permuted format (N/2 complex values).functionpermute(const vec<T, N> &, elements_t<Indices...>) Permutes the lanes ofxusing a repeating index pattern.functionpermutegroups(const vec<T, N> &, elements_t<Indices...>) Group-wise variant of permute() that operates on blocks ofgroupelements.functionphasor(std::type_identity_t<T>) Phasor withsample_rate = 1andphase = 0.functionphasor(std::type_identity_t<T>, std::type_identity_t<T>, std::type_identity_t<T>) Phasor (normalized phase ramp in [0, 1)) advancing at the given frequency.variablescalar_constants<T>::pi The mathematical constant π (pi).functionscalar_constants<T>::pi_s(int, int) Returns π scaled bym / d.classpkd_vec<T, N> Packed storage for a vector with no alignment padding.constructorpkd_vec<T, N>::pkd_vec<T, N>() Default constructor (uninitialized).constructorpkd_vec<T, N>::pkd_vec<T, N>(const vec<T, N> &) Store avecinto this packed storage.functionpkd_vec<T, N>::pkd_vec<T, N>(Ts...) Initialize from up toNscalar values.functionplaceholder(csize_t<Key>) Create an unboundexpression_placeholderwith the given key.typedefconvolve_filter<T>::plan_tenum constantwindow_type::planck_taperclassplatform<c> Trait structure describing the SIMD capabilities of a CPU instruction set.structplatform<cpu_t::avx> Platform traits for AVX. Doubles the native float vector size and alignment to 32 bytes and enables fast unaligned access.structplatform<cpu_t::avx2> Platform traits for AVX2. Extends AVX with 256-bit integer vectors.structplatform<cpu_t::avx512> Platform traits for AVX-512. Provides 512-bit vectors, 64-byte alignment, mask register support and an increased register count.structplatform<cpu_t::common> Platform traits for the common (baseline) x86 instruction set.structplatform<cpu_t::sse2> Platform traits for SSE2. Inherits the common baseline and reports the SSE2 register count.structplatform<cpu_t::sse3> Platform traits for SSE3. Equivalent to SSE2.structplatform<cpu_t::sse41> Platform traits for SSE4.1. Equivalent to SSSE3.structplatform<cpu_t::sse42> Platform traits for SSE4.2. Equivalent to SSE4.1.structplatform<cpu_t::ssse3> Platform traits for SSSE3. Equivalent to SSE3.functionplot_save(const std::string &, const T &, const std::string &) Plot data using python and save to filefunctionplot_show(const std::string &, const char *, const std::string &)functionplot_show(const std::string &, const std::string &, const std::string &)functionplot_show(const std::string &, const T &, const std::string &) Plot data using pythontypedefstruct_with_alignment<T, A>::pointer Pointer to this wrapper type.typedefstruct_with_alignment<T, false>::pointer Pointer to this wrapper type.typedefarray_ref<T>::pointertypedefdata_allocator<T>::pointertypedefinline_vector<T, N>::pointertypedeftensor<T, NDims>::pointertypedeftensor<T, NDims>::tensor_iterator::pointertypedeftensor<T, NDims>::nested_iterator_t::pointertypedefrange<T>::pointerfunctionaudio_data<IsInterleaved>::pointers() Retrieves an array of pointers to the base type of the audio data.functionpolar(const T1 &) Converts a complex number to its polar representation (magnitude, phase)functionpolar(E1 &&) Creates an expression that converts a complex number to polar form.functionsmall_buffer<T, Capacity>::pop_back() Removes the last element.classportable_vec<T, N> A portable vector type with fixed size and layout compatible withvec<T, N>.constructorportable_vec<T, N>::portable_vec<T, N>()constructorportable_vec<T, N>::portable_vec<T, N>(T)functionportable_vec<T, N>::portable_vec<T, N>(T, T, Ts...)variableconvolve_filter<T>::positionvariableaudio_data<IsInterleaved>::position Position of the first sample in the audio data.functionpow2(const T &) Returns \(x^2\) .functionpow2(E1 &&) Creates an expression that returnsxraised to the power of 2.functionpow3(const T &) Returns \(x^3\) .functionpow3(E1 &&) Creates an expression that returnsxraised to the power of 3.functionpow4(const T &) Returns \(x^4\) .functionpow4(E1 &&) Creates an expression that returnsxraised to the power of 4.functionpow5(const T &) Returns \(x^5\) .functionpow5(E1 &&) Creates an expression that returnsxraised to the power of 5.functionpow(const T1 &, const T2 &) Returns x raised to the given power y.functionpow(E1 &&, E2 &&) Creates an expression that returns x raised to the given power y.functionpower_to_dB(const T1 &) Convert a power value to decibels (10*log10).functionpower_to_dB(E1 &&) Convert a power expression to decibels (10*log10).functiondft_plan<T>::precompute_disposition(int, bitset, bool) Internal functionvariableconvolve_filter<T>::premulfunctionaudio_data<IsInterleaved>::prepend(const audio_data<IsInterleaved> &) Prepends samples from a buffer with the opposite layout.functionprev_poweroftwo(T) Returns a nearest power of two that is less or equal than nclassprint_t<chars> Callable object holding a compile-time format literal (built byoperator""_print).functionprint(const Args &...) Print values to stdout, each formatted with its default conversion specifier.functionprintfmt(const std::string &, const Args &...) Print to stdout using a{}"-basedformat string.functionprintln(const Args &...) Print values to stdout followed by a newline.functionfilter<T>::process_buffer(T *, const T *, size_t) Filterssizesamples fromsrcintodest.functionexpression_filter<T>::process_buffer(T *, const T *, size_t)functionconvolve_filter<T>::process_buffer(T *, const T *, size_t)functionfir_filter<T, U>::process_buffer(U *, const U *, size_t)functionfilter<T>::process_expression(T *, const expression_handle<T, 1> &, size_t) Evaluatessizesamples of the expressionsrcintodest.functionexpression_filter<T>::process_expression(T *, const expression_handle<T, 1> &, size_t)functionconvolve_filter<T>::process_expression(T *, const expression_handle<T> &, size_t)functionfir_filter<T, U>::process_expression(U *, const expression_handle<U, 1> &, size_t)functiondft_resampler<T>::process_frame(const T *) Processes one frame in-place and returns a pointer to the valid output.functiondft_resampler<T>::process_frame(T *, const T *) Processes one frame via overlap-save and writes normalised output.functionsamplerate_converter<T>::process_impl(univector_ref<T>, univector_ref<const T>) Internal implementation of the process function.functionebu_r128<T>::process_packet(const std::initializer_list<univector_dyn<T>> &) Process one packet for every channel.functionebu_r128<T>::process_packet(const std::initializer_list<univector_ref<T>> &)functionebu_channel<T>::process_packet(const T *) Process one packet ofpacket_size()samples.functionebu_r128<T>::process_packet(std::span<const univector_dyn<T>>)functionebu_r128<T>::process_packet(std::span<const univector_ref<T>>)functionexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::process(const vec<Tin, N> &)functionexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::process(const vec<Tin, width> &)functionstereo_matrix::process(const vec<vec<T, 2>, N> &, csizes_t<indices...>) Internal ADL-provided implementation forstereo_matrixexpressions.functionprocess(Out &&, In &&, shape<0>, shape<0>, csize_t<gw>) Processes a zero-dimensional input expression into a zero-dimensional output expression.functionprocess(Out &&, In &&, shape<outdims>, shape<outdims>, csize_t<gw>) Processes a multi-dimensional input expression into a multi-dimensional output expression.functiondft_resampler<T>::process(std::span<T>, std::span<const T>) Processes an arbitrary-length input stream and writes the resampled output.functionsamplerate_converter<T>::process(univector<T, Tag> &, univector_ref<const T>) Processes input data to produce resampled output (pull or push method).functionshape<Dims>::product() Product of every axis size (total number of elements).functionshape<0>::product() Product of all axes; the empty product is 0.functionshape<dynamic_shape>::product() Product of every axis size; 0 for an empty shape.functionproduct(const E1 &) Returns the product of all the elements in x.variabledft_plan<T>::progressive_optimized True if the plan is for progressive execution of the DFT.functionpromoteto(const Tin &) Promote a scalar toTout.functionpromoteto(const vec<Tin, N> &) Promote a vector to a different element type.functionpromoteto(const vec<vec<Tin, N1>, N2> &) Promote a nested vector to a different element type.variablestride_pointer<const T, groupsize>::ptr Pointer to the first element.variableautofree<T>::ptr Unique pointer with custom deleter for aligned memory.functionptr_cast(const U *) Reinterprets a const pointer of typefunctionptr_cast(U *)functionptr_cast(U *, ptrdiff_t)functionsmall_buffer<T, Capacity>::push_back(const T &) Appendsvalueto the end of the buffer.functioninline_vector<T, N>::push_back(T) Appendsvalueto the end of the vector.functionfir_state<T, U>::push_delayline(Cont &&) Append samples to the delay line ring buffer.functionintegrated_vec<T>::push(T) Append a momentary mean-square energy sample.functionlra_vec<T>::push(T) Insert a short-term mean-square energy sample, keeping the buffer sorted.functionhistogram_data<Bins, TCount>::put(const vec<T, N> &) Adds a vector of values to the histogram, incrementing the appropriate bins.functionhistogram_data<Bins, TCount>::put(T) Adds a single value to the histogram.typedefpvoid Pointer to voidfunctionpython_prologue()
Q¶
variableexpression_goertzel<T>::q0 Current filter output (working state).variableexpression_parallel_goertzel<T, width>::q0 Current filter outputs (working state).variableexpression_goertzel<T>::q1 Previous output sample (working state).variableexpression_parallel_goertzel<T, width>::q1 Previous output samples (working state).variableexpression_goertzel<T>::q2 Output sample two steps back (working state).variableexpression_parallel_goertzel<T, width>::q2 Output samples two steps back (working state).variableqnan Quiet NaN (Not-a-Number) as adouble.variablescalar_constants<T>::qnan A quiet NaN (Not-a-Number) value for the type T. This value does not raise floating-point exceptions.functionq(T) Wrap the string representation ofxin double quotes.
R¶
enum constantspeaker_type::R Alias for Right.variabledft_stage<T>::radix Radix of the stage (number of butterfly arms).variablescalar_constants<T>::radtodeg Radians to degrees conversion factor (π * 180).variableexpression_traits<T>::random_accessvariableexpression_traits_defaults::random_accessvariableexpression_with_traits<Arg>::random_accessvariableexpression_function<Fn, Args>::random_access when all arguments support random access.variableexpression_traits<expression_slice<Arg>>::random_accessvariableexpression_traits<expression_cast<T, Arg>>::random_accessvariableexpression_traits<expression_lambda<T, Dims, Fn, Rnd>>::random_accessvariableexpression_traits<expression_padded<Arg>>::random_accessvariableexpression_traits<expression_fixshape<Arg, fixed_shape_t<ShapeValues...>>>::random_accessvariableexpression_traits<expression_reshape<Arg, OutDims>>::random_accessvariableexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>::random_accessvariableexpression_adjacent<Fn, E>::random_accessvariableexpression_traits<expression_handle<T, Dims>>::random_access Handles are not random-access.variablegenerator<T, VecWidth, Class, Twork>::random_accessvariableexpression_short_fir<tapcount, T, U, E1, stateless>::random_accessvariableexpression_fir<T, U, E1, stateless>::random_accessvariableexpression_moving_sum<U, E1, STag, stateless>::random_accessvariableexpression_delay<delay, E, stateless, STag>::random_accessvariableexpression_delay<1, E, stateless, STag>::random_accessenum constantspecial_constant::random_bits value filled with random bitsfunctionspecial_value::random_bits()functionrandom_bits(random_state &) Generates more than 16 bytes of random data.functionspecial_value::random_generator() Returns a reference to the shared mt19937 random generator (seeded with 1)functionrandom_init() Initializes the random number generator state using the CPU cycle counter.functionrandom_init(u32, u32, u32, u32) Initializes the random number generator with four 32-bit seed values.functionrandom_init(u64, u64) Initializes the random number generator with two 64-bit seed values.functionrandom_next(random_state &) Advances the internal state of the pseudo-random number generator.functionrandom_normal(random_state &, T, T) Generates N normally distributed (Gaussian) random values using Box-Muller transform.functionrandom_range(random_state &, T, T) Generates random values uniformly distributed in the range [min, max) for integral types.structrandom_state Internal state of the pseudo-random number generator.constructorrandom_state::random_state() Default-constructs the state initialized to all zeros.constructorrandom_state::random_state(const random_state &)constructorrandom_state::random_state(random_state &&)functionrandom_uniform(random_state &) Generates a vector of uniformly distributed floating-point numbers in [0.0, 1.0).functionrandommantissa(random_state &) Generates a vector of f32 values with mantissas in [1.0, 2.0).functionrandommantissa(random_state &) Generates a vector of f64 values with mantissas in [1.0, 2.0).classrange<T> Iterable rangeconstructorrange<T>::range<T>(value_type, value_type, diff_type)variableu24::raw Raw byte storage.variablei24::raw Raw byte storage.variablef16::raw Raw bit representation of the half-precision value.structraw_decoding_options Options for decoding raw audio streams.structraw_encoding_options Represents options for raw audio encoding.functionrawsawtooth(const T1 &) Sawtooth wave of a phase ramp in [0, 1) cycles.functionrawsawtooth(E1 &&) Expression overload ofrawsawtooth; applies element-wise to an expression.functionrawsine(const T1 &) Sine of a phase ramp in [0, 1) cycles.functionrawsine(E1 &&) Expression overload ofrawsine; applies element-wise to an expression.functionrawsquare(const T1 &) Square wave of a phase ramp in [0, 1) cycles.functionrawsquare(E1 &&) Expression overload ofrawsquare; applies element-wise to an expression.functionrawtriangle(const T1 &) Triangle wave of a phase ramp in [0, 1) cycles.functionrawtriangle(E1 &&) Expression overload ofrawtriangle; applies element-wise to an expression.enum constantspeaker_type::Rc Right center (front, between R and C).functionrdtsc() Reads the processor's cycle counter.variabletimestamps<max_count, fence>::rdtsc_overheadfunctionaudio_decoder::read_all() Reads the entire audio stream into an interleaved buffer.functionaudio_decoder::read_all_planar() Reads the entire audio stream into a planar buffer.functionread_audiofile_header(const file_path &) Reads the header of an audio file.functionaudio_decoder::read_buffered(const audio_data_interleaved &, const std::function<expected<audio_data_interleaved, audiofile_error> ()> &, audio_data_interleaved &) Reads audio frames into a buffer using a custom read function.functionaudio_reader<T>::read_channels()functionaudio_reader<T>::read_channels(size_t)functionaudio_decoder::read_chunk_bytes(std::span<const std::byte>) Reads a RIFF chunk into a byte vector.functionaudio_decoder::read_chunk(std::span<const std::byte>, const std::function<bool (std::span<const std::byte>)> &, size_t) Reads a RIFF chunk by its identifier.enum constantopen_file_mode::read_existingfunctionread_group(const T *, size_t) Readscountgroups ofgroup*Nelements separated bystridegroups.variableaudio_decoding_options::read_metadata Whether to read metadata tags during decoding.functionaudio_decoder::read_to(const audio_data_interleaved &) Reads audio frames into an interleaved buffer.enum constantopen_file_mode::read_write_existingenum constantopen_file_mode::read_write_newfunctionread(const T *) Reads a vector ofNelements of typeTfrom memory.functionstride_pointer<const T, groupsize>::read(csize_t<N>) GathersNelements from the underlying pointer using the stored stride.variablereader_adapter<From, To>::readerfunctionaudio_decoder::reader() Retrieves the binary reader associated with the decoder.classreader_adapter<From, To>constructorreader_adapter<From, To>::reader_adapter<From, To>(std::shared_ptr<abstract_reader<From>>)functionabstract_reader<T>::read(size_t)functionaudio_decoder::read(size_t) Reads up to a maximum number of audio frames into a newly allocated buffer.functionreader_adapter<From, To>::read(To *, size_t)functionabstract_reader<T>::read(T *, size_t)functionmemory_reader<T>::read(T *, size_t)functionfile_reader<T>::read(T *, size_t)functionaudio_reader_wav<T>::read(T *, size_t) Reads and decodes audio datafunctionaudio_reader_flac<T>::read(T *, size_t) Reads and decodes audio datafunctionaudio_reader_mp3<T>::read(T *, size_t) Reads and decodes audio datafunctionabstract_reader<T>::read(U &)variableconvolve_filter<T>::real_fftvariabledft_plan_md_real<T, Dims>::real_out_is_enough If true, the inverse transform may write directly into the real output buffer without an extra complex working region.functiondft_plan_md_real<T, Dims>::real_out_size() Returns the number of real elements needed to hold the inverse output.functiondft_plan_md_real<T, Dims>::real_out_size_for(shape<Dims>) Returns the real output element count for a given real shape.functionreal(const complex<T> &) Returns the real part of the complex valuefunctionreal(const T &) Returns the real part of the complex valuefunctionreal(const vec<complex<T>, N> &) Returns the real parts of a vector of complex values.functionrealdft(const univector<T, Tag> &) Performs the direct (forward) real-to-complex DFT using a cached plan.functionreal(E1 &&) Creates an expression that returns the real part of the complex valuex.typedefrealftype Alias forftype<decltype(kfr::real(std::declval<T>()))>typedefrealtype Alias fordecltype(kfr::real(std::declval<T>()))typedefcompound_type_traits<T>::rebindtypedefcompound_type_traits<std::pair<T, T>>::rebindtypedefcompound_type_traits<kfr::vec_shape<T, N>>::rebindtypedefcompound_type_traits<kfr::vec<T, N>>::rebindtypedefcompound_type_traits<std::complex<T>>::rebind Rebinds the complex to hold values of typefunctionrebind(const expression_function<Fn, OldArgs...> &, NewArgs &&...) Construct a new expression using the same function as ineand new argumentsfunctionrebind(expression_function<Fn, OldArgs...> &&, NewArgs &&...) Construct a new expression using the same function as ineand new arguments.classdata_allocator<T>::rebind<U>variablescalar_constants<T>::recip_log_10 The reciprocal of the natural logarithm of 10 (1 / ln(10)).variablescalar_constants<T>::recip_log_2 The reciprocal of the natural logarithm of 2 (1 / ln(2)).variablescalar_constants<T>::recip_pi The reciprocal of π (1/π).functionscalar_constants<T>::recip_pi_s(int, int) Returns the reciprocal of π scaled bym / d.functionreciprocal(const T &) Multiplicative inverse ofx.functiontimestamps<max_count, fence>::record(const char *) Record a timestamp checkpoint with an optional label.enum constantwindow_type::rectangularenum constantaudio_dithering::rectangularvariabledft_stage<T>::recursion Whether the stage uses recursive execution.functionreduce(const E1 &, ReduceFn &&, TransformFn &&, FinalFn &&) Reduces a range to a single value.variableexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::reducefnfunctiontensor<T, NDims>::reduce(Fn &&, T) Reduces all elements usingfnand an initial value.functionunivector_base<T, Class, true>::ref() Returns a mutable reference to the underlying data.functionunivector_base<T, Class, true>::ref() Returns a const reference to the underlying data.functionunivector_base<T, Class, false>::ref() Returns a mutable reference to the underlying data.functionunivector_base<T, Class, false>::ref() Returns a const reference to the underlying data.functionunivector<T, tag_array_ref>::ref() Returns*thisas a reference. Intended for use on rvalues to forward the contained reference without copying.functionref_cast(const U &) Reinterprets a const reference of typefunctionref_cast(U &)typedefarray_ref<T>::referencetypedefdata_allocator<T>::referencetypedefinline_vector<T, N>::referencetypedeftensor_subscript<T, Derived, std::integer_sequence<index_t, Dims...>>::referencetypedeftensor<T, NDims>::referencetypedeftensor<T, NDims>::tensor_iterator::referencetypedeftensor<T, NDims>::nested_iterator_t::referencetypedefrange<T>::referencefunctionreference_dft_md(complex<T> *, const complex<T> *, shape<dynamic_shape>, bool, size_t, size_t) Performs Multidimensional Complex DFT using reference implementation (slow, used for testing)functionreference_dft_md(complex<T> *, const T *, shape<dynamic_shape>, bool, size_t, size_t) Performs Multidimensional Direct Real DFT using reference implementation (slow, used for testing)functionreference_dft_md(T *, const complex<T> *, shape<dynamic_shape>, bool, size_t, size_t) Performs Multidimensional Inverse Real DFT using reference implementation (slow, used for testing)functionreference_dft(complex<T> *, const complex<T> *, size_t, bool, size_t, size_t) Performs Complex DFT using reference implementation (slow, used for testing)functionreference_dft(complex<T> *, const T *, size_t, size_t, size_t) Performs Direct Real DFT using reference implementation (slow, used for testing)functionreference_dft(T *, const complex<T> *, size_t, size_t, size_t) Performs Inverse Real DFT using reference implementation (slow, used for testing)functionrem(const T1 &, const T2 &) Remainder ofxdivided byy.functionrem(const vec<T, N> &, const vec<T, N> &) Returns the element-wise floating-point remainder of vectorsxandy.functionshape<Dims>::remove_back() Drop the last axis.functionshape<dynamic_shape>::remove_back() Drop the last axis.functionshape<Dims>::remove_front() Drop the first axis.functionshape<dynamic_shape>::remove_front() Drop the first axis.functionrender(Expr &&) Converts an expression to a dynamically sized univector.functionrender(Expr &&, csize_t<Size>) Converts an expression to a fixed-size univector.functionrender(Expr &&, size_t, size_t) Converts a slice of an expression to a dynamically sized univector of the given size.functionrepeat(const vec<T, N> &) Repeats the contents ofxcounttimes.variabledft_stage<T>::repeats Number of recursive repetitions used during execution.functionreplace(const vec<T, N> &, const vec<T, N> &) Replaces a contiguous range ofxwith the corresponding lanes ofy.typedefrepr_type Alias for the type used byrepresentation<T>when formatting values of typeT.classrepresentation<fmt_t<kfr::complex<T>, t, width, prec>> String representation specialization for a formatted complex value.classrepresentation<fmt_t<kfr::generic::vec<T, N>, t, width, prec>>classrepresentation<fmt_t<kfr::tensor<T, dims>, t, width, prec>> Specialization of representation for a formatted tensor, providing formatted string conversion.classrepresentation<fmt_t<kfr::univector<T, Tag>, t, width, prec>>representationspecialization that formats a fmt_t-wrappedunivectoras a string, applying the wrapped format options to each element.classrepresentation<kfr::complex<T>> String representation specialization forkfr::complex<T>.structrepresentation<kfr::cpu_t>structrepresentation<kfr::fraction> String representation specialization forfraction.classrepresentation<kfr::generic::mask<T, N>> String representation of amaskfor formatting/logging.classrepresentation<kfr::generic::vec<T, N>> String representation of avecfor formatting/logging.structrepresentation<kfr::npy_decode_result>classrepresentation<kfr::shape<dims>> String representation of ashape, used byas_stringand the formatting framework.structrepresentation<kfr::special_value>classrepresentation<kfr::tensor<T, dims>> Specialization of representation for tensor, providing string conversion.classrepresentation<kfr::univector<T, Tag>>representationspecialization that formats aunivectoras a string using KFR's built-in array formatting.classrepresentation<named_arg<T>> Representation ofnamed_argasname= value".classrepresentation<std::array<T, Size>> Representation ofstd::arrayas a brace-delimited list of its elements.classrepresentation<std::pair<T1, T2>> Representation ofstd::pairas(first;second)".classrepresentation<std::shared_ptr<T1>> Representation ofstd::shared_ptrasType(value)orType(nullptr)".structrepresentation<std::shared_ptr<void>> Representation ofstd::shared_ptr<void>asType(pointer)orType(nullptr)".structrepresentation<std::string_view> Representation ofstd::string_viewas astd::string.classrepresentation<std::unique_ptr<T1>> Representation ofstd::unique_ptrasType(value)orType(nullptr)".classrepresentation<std::vector<T, Allocator>> Representation ofstd::vectoras a brace-delimited list of its elements.classrepresentation<std::weak_ptr<T1>> Representation ofstd::weak_ptrasType(value)orType(nullptr)".classrepresentation<T> Primary template for converting a value of typeTto its string representation.functiontensor<T, NDims>::require_contiguous() Throws if the tensor is not contiguous.typedefresample_quality Alias for sample_rate_conversion_quality.functionresampler(sample_rate_conversion_quality, size_t, size_t, subtype<T>, subtype<T>) Helper function to create a sample rate converter instance.functionaudio_data<IsInterleaved>::reserve(size_t) Increases the allocated capacity, preserving existing samples.functionfilter<T>::reset() Resets the internal state (such as a delay line).functionexpression_filter<T>::reset() Resets the state of the wrapped expression.functionexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::reset()functionconvolve_filter<T>::reset() Resets the filter state (clears input history and overlap buffers).functiondft_resampler<T>::reset() Resets the resampler to its freshly-constructed state, clearing all buffered input without changing filter parameters.functionfir_filter<T, U>::reset() Reset internal filter statefunctionintegrated_vec<T>::reset() Clear the buffer and invalidate the cached result.functionlra_vec<T>::reset() Clear the buffer and invalidate the cached result.functionebu_channel<T>::reset() Zero the momentary and short-term sum-of-squares ring buffers.functionebu_r128<T>::reset() Request a deferred reset of all channels and accumulators.functionsamplerate_converter<T>::reset() Resets the converter to its initial state.functionaudio_data<IsInterleaved>::reset() Resets the object to its default state.functionreset(const expression_delay<1, E, stateless, STag> &) Clears a one-sample delay expression's stored sample.functionreset(const expression_delay<delay, E, stateless, STag> &) Clears a multi-sample delay expression's ring buffer and cursor.functionreset(const expression_fir<T, U, E1, stateless> &) Clears a generic FIR expression's delay line while preserving its taps.functionreset(const expression_goertzel<T> &) Clears a Goertzel resonator's recursive state.functionreset(const expression_handle<T, NDims> &) Internal ADL-provided implementation forexpression_handleexpressions.functionreset(const expression_iir_l<filters, T, E1, Stateless> &) Clears an IIR cascade's delay-line state while preserving its coefficients.functionreset(const expression_iir<filters, T, E1, Stateless> &)functionreset(const expression_moving_sum<U, E1, STag, stateless> &) Clears a moving-sum expression's delay line and restores its cursors.functionreset(const expression_parallel_goertzel<T, width> &) Clears all recursive states in a parallel Goertzel expression.functionreset(const expression_short_fir<tapcount, T, U, E1, stateless> &) Clears a short FIR expression's delay line while preserving its taps.functionreset(const expression_with_arguments<Args...> &) Resets all arguments of anexpression_with_arguments.functionreset(const internal_generic::anything &) No-op reset hook for theanythingplaceholder type.functiontensor<T, NDims>::reshape_may_copy(const kfr::shape<dims> &, bool) Returns a tensor with a different shape, copying if necessary.functionreshape(Arg &&, const shape<OutDims> &) Creates an expression that exposes the same data asargwith a different shape.functiontensor<T, NDims>::reshape(const kfr::shape<dims> &) Returns a tensor with a different shape without copying. The tensor must be contiguous.functionresize(const vec<T, N> &) Resizes a vector to lengthNout.functionresize(const vec<T, N> &) Identity overload of resize() for theNout==Ncase.functionunivector<T, Size>::resize(size_t) No-op for API compatibility with dynamically sized vectors.functionunivector<T, tag_array_ref>::resize(size_t) No-op for API compatibility with dynamically sized vectors.functionaudio_data<IsInterleaved>::resize(size_t) Resizes the container to hold exactly new_size elements.functionaudio_data<IsInterleaved>::resize(size_t, fbase) Resize to the specified length and initialize newly added samples.functionsmall_buffer<T, Capacity>::resize(std::size_t) Resizes the buffer tonewsizeelements.variableexpression_handle<T, Dims>::resource Owning resource, or null for a non-owning handle.variableexpression_goertzel<T>::result Output complex bin value (written on destruction).variableexpression_parallel_goertzel<T, width>::result Output array offunctiongenerator<T, VecWidth, Class, Twork>::resync(T) Reinitializes the generator state so that the next produced value corresponds to the givenstart.functionreturn_constant(Args &&...) Function that returns constant of type T and ignores all its argumentstypedeffn_generic::returnsfunctionreturns(Ts &&...) Function that returns value-initialization of type T and ignores all its argumentstypedefarray_ref<T>::reverse_iteratorfunctionreverse(Arg &&) Creates an expression that exposesargwith its trailing dimension reversed.functionreverse(const vec<T, N> &) Reverses the order of lanes inx(with optional grouping).functionreverse(const vec<vec<T, N1>, N2> &) Reverses the order of inner vectors in a vector of vectors.functionshape<Dims>::revindex(size_t) Read an axis by its position from the back.functionshape<0>::revindex(size_t) Read an axis by its position from the back; always returns 1 because there are no axes.enum constantaudiofile_container::rf64 RF64 by EBUvariablecomparison<Fn, L, R>::rightenum constantspeaker_type::Right Front right.enum constantspeaker_type::RightSurround Alias for Rs.functionunivector_base<T, Class, true>::ringbuf_read(size_t &, T &) Reads a single element from the ring buffer atcursorintovalueand advances the cursor.functionunivector_base<T, Class, true>::ringbuf_read(size_t &, T *, size_t) Readsdestsizeelements from the ring buffer atcursorintodest.The buffer is treated as circular: reads that cross the end wrap around to the beginning. Ifdestsizeexceeds the buffer capacity, only the most recentsize()elements are produced and the leading portion ofdestis skipped.cursoris advanced by the number of elements actually read and wrapped into[0,size()).functionunivector_base<T, Class, true>::ringbuf_read(size_t &, vec<T, N> &) ReadsNelements from the ring buffer atcursorinto the SIMD vectorx.functionunivector_base<T, Class, true>::ringbuf_step(size_t &, size_t) Advancescursorbystep,wrapping it into the[0,size()) range.functionunivector_base<T, Class, true>::ringbuf_write(size_t &, const T &) Writes a singlevalueinto the ring buffer atcursorand advances the cursor.functionunivector_base<T, Class, true>::ringbuf_write(size_t &, const T *, size_t) Writessrcsizeelements fromsrcinto the ring buffer starting atcursor.The buffer is treated as circular: data that does not fit before the end wraps around to the beginning. Ifsrcsizeexceeds the buffer capacity, only the most recentsize()elements are kept and the rest is skipped.cursoris advanced by the number of elements actually written and wrapped into[0,size()).functionunivector_base<T, Class, true>::ringbuf_write(size_t &, const vec<T, N> &) Writes theNelements of the SIMD vectorxinto the ring buffer atcursor.variableaudio_stat::rms Root mean square of all samples across all channels.functionrms(const E1 &) Returns the root mean square of all the elements in x.variableaudio_dithering_state::rnd Random number generator.functionrol(const T1 &, const T2 &) Bitwise left rotate.functionroot(const T1 &, const T2 &) Returns the real y-th root of x.functionroot(E1 &&, E2 &&) Creates an expression that returns the real nth root of x.functionror(const T1 &, const T2 &) Bitwise right rotate.functionshape<Dims>::rotate_left() Rotate the axes left by one position.functionshape<dynamic_shape>::rotate_left() Rotate the axes left by one position.functionshape<Dims>::rotate_right() Rotate the axes right by one position.functionshape<dynamic_shape>::rotate_right() Rotate the axes right by one position.functionrotateleft(const vec<T, N> &, csize_t<amount>) Rotates the lanes ofxto the left byamountpositions.functionrotateright(const vec<T, N> &, csize_t<amount>) Rotates the lanes ofxto the right byamountpositions.functionrotatetwo(const vec<T, N> &, const vec<T, N> &) Combines two vectorsloandhiwith a rotation byshiftlanes.functionround(const T1 &) Returns the nearest integer value tox.functionround(E1 &&) Creates an expression that returnsxrounded to the nearest integer.enum constantspeaker_type::Rs Right surround.functionebu_r128<T>::running() Return whether the meter is currently running (seestart(),stop()).enum constantcpu_t::runtimeclassruntime_error
S¶
variablestate_holder<T, false>::s The owned state value.variablestate_holder<T, true>::s Pointer to the externally owned state. Never null for a valid holder.enum constantspeaker_type::S Rear surround (single).variablebiquad_state<T, filters>::s1 First delay register per section.variablebiquad_state<T, filters>::s2 Second delay register per section.functionsafe_cast(const InType &) Casts between integral types after range-checking the source value.functionebu_r128<T>::sample_rate() Return the configured sample rate in Hz.variableaudiofile_format::sample_rate Sample rate in Hz.enumsample_rate_conversion_quality Defines the quality levels for sample rate conversion.functionsample_rate_converter(sample_rate_conversion_quality, size_t, size_t, subtype<T>, subtype<T>) Helper function to create a sample rate converter instance.typedefsample_rate_t Sample rate expressed in Hertz.functionaudiofile_format::sample_type()functionaudiofile_format::sample_type_lpcm()variableaudio_format::samplerateclasssamplerate_converter<T> A template class for performing sample rate conversion on audio signals.constructorsamplerate_converter<T>::samplerate_converter<T>() Default constructor.constructorsamplerate_converter<T>::samplerate_converter<T>(int, itype, itype, fbase, fbase, fbase, fbase) Constructs a sample rate converter from explicit filter parameters.constructorsamplerate_converter<T>::samplerate_converter<T>(sample_rate_conversion_quality, itype, itype, fbase, fbase) Constructs a sample rate converter.constructorsamplerate_converter<T>::samplerate_converter<T>(samplerate_converter<T> &&) Move constructor.functionsamples_load(audio_sample_type, fbase *const *, const std::byte *, size_t, size_t, bool) Loads interleaved audio samples based on sample type.functionsamples_load(audio_sample_type, fbase *, const std::byte *, size_t, bool) Loads audio samples based on sample type.functionsamples_load(fbase *const *, const Tin *, size_t, size_t, bool) Loads interleaved audio samples into a planar floating-point buffer.functionsamples_load(fbase *, const Tin *, size_t, bool) Loads audio samples into a floating-point buffer.functionsamples_store(audio_sample_type, std::byte *, const fbase *const *, size_t, size_t, bool) Stores interleaved audio samples based on sample type.functionsamples_store(audio_sample_type, std::byte *, const fbase *const *, size_t, size_t, const audio_quantization &, bool) Stores interleaved audio samples based on sample type with quantization.functionsamples_store(audio_sample_type, std::byte *, const fbase *, size_t, const audio_quantization &, bool) Stores audio samples based on sample type with quantization.functionsamples_store(Tout *, const fbase *const *, size_t, size_t, bool) Stores planar floating-point samples into a interleaved buffer.functionsamples_store(Tout *, const fbase *const *, size_t, size_t, const audio_quantization &, bool) Stores planar floating-point samples into an interleaved buffer with quantization.functionsamples_store(Tout *, const fbase *, size_t, const audio_quantization &, bool) Stores floating-point samples into a buffer with quantization.functionsatadd(const T1 &, const T2 &) Adds two numeric values using saturation arithmetic.functionsatadd(E1 &&, E2 &&) Creates an expression that addsxandyusing saturation.functionsatsub(const T1 &, const T2 &) Subtracts two numeric values using saturation arithmetic.functionsatsub(E1 &&, E2 &&) Creates an expression that subtractsyfromxusing saturation.functionsaturate_I(const T1 &) Type-I saturation curve (odd-symmetric, bounded to (-1, 1)).functionsaturate_I(E1 &&) Expression form of saturate_I.functionsaturate_II(const T1 &) Type-II saturation curve (odd-symmetric, bounded to (-1, 1)).functionsaturate_II(E1 &&) Expression form of saturate_II.functionsave_to_npy(const tensor<T, Dims> &, Fn &&) Saves a tensor to.npyformat using a custom write callback.variableepsilon_scope<T>::savedvariableconvolve_filter<T>::saved_inputvariableiir_state<T, filters>::saved_state Snapshot used for block-based processing.functionsawtooth(const T1 &) Sawtooth wave of a phase in radians.functionsawtooth(E1 &&) Expression overload ofsawtooth; applies element-wise to an expression.functionsawtoothnorm(const T1 &) Sawtooth wave of a phase ramp in [0, 1) cycles (alias ofrawsawtooth).functionsawtoothnorm(E1 &&) Expression overload ofsawtoothnorm; applies element-wise to an expression.classscalar_constants<T> Collection of mathematical and machine constants for the scalar typeT.functionvec_shape<T, N>::scalar_size() Total number of scalar components, including compound element widths.functionvec<T, N>::scalar_size()typedefvec_shape<T, N>::scalar_type Scalar component type of the element.typedefvec<T, N>::scalar_typefunctionscalar(T) Creates an expression that wraps a single value.functionscale()variableaudio_sample_traits<i16>::scale Maximum representable magnitude used as conversion scale.variableaudio_sample_traits<i24>::scale Maximum representable magnitude used as conversion scale.variableaudio_sample_traits<i32>::scale Maximum representable magnitude used as conversion scale.variableaudio_sample_traits<f32>::scale Scale factor for float samples (always 1).variableaudio_sample_traits<f64>::scale Scale factor for double samples (always 1).variablereader_adapter<From, To>::scalevariablewriter_adapter<From, To>::scalevariableaudio_dithering_state::scale Amplitude scale applied to the generated noise.functionscale(csizes_t<indices...>)functionscatter_stride(T *, const vec<T, N> &, size_t) ScattersN/groupsizegroups ofgroupsizecontiguous elements ofvaluetobaseseparated bystride.functionscatter(const T *, const vec<T, N> &) Scatters elements ofvaluetobaseat the given compile-time indices.functionscatter(T *, const vec<IT, N> &, const vec<T, Nout> &) ScattersNgroups ofgroupsizecontiguous elements ofvaluetobaseusing a vector of offsets.variableconvolve_filter<T>::scratch1variableconvolve_filter<T>::scratch2enum constantcpu_t::secondaryvariableseed_from_rdtsc Tag value used to seed the random number generator from the CPU cycle counter.structseed_from_rdtsc_t Tag type for seeding the random number generator from the CPU cycle counter.functionaudio_decoder::seek_is_precise() Determines whether seeking is precise for this decoder.enumseek_origin Seek originfunctionaudio_writer_wav<T>::seek(imax, seek_origin)functionaudio_reader_wav<T>::seek(imax, seek_origin) Seeks to specific samplefunctionaudio_reader_flac<T>::seek(imax, seek_origin) Seeks to specific samplefunctionaudio_reader_mp3<T>::seek(imax, seek_origin) Seeks to specific samplefunctionabstract_stream<T>::seek(int64_t, int)functionabstract_stream<T>::seek(int64_t, seek_origin)functionmemory_reader<T>::seek(int64_t, seek_origin)functionmemory_writer<T>::seek(int64_t, seek_origin)functionreader_adapter<From, To>::seek(int64_t, seek_origin)functionwriter_adapter<From, To>::seek(int64_t, seek_origin)functionfile_reader<T>::seek(int64_t, seek_origin)functionfile_writer<T>::seek(int64_t, seek_origin)functionaudio_decoder::seek(uint64_t) Seeks to a specific sample position in the audio stream.variableconvolve_filter<T>::segmentsfunctioncompiletime::select(bool, T, T) Compile-time conditional select between two values.functionselect(const mask<T1, N> &, const T2 &, const T3 &) Returns x if m is true, otherwise return y. Order of the arguments is same as in ternary operator.functionselect(cvals_t<bool, flags...>, cvals_t<T, values1...>, cvals_t<T, values2...>) Element-wise selection between two value lists based on a flag list. For each position, returnsvalues1[i]ifflags[i]istrue, otherwisevalues2[i].functionselect(E1 &&, E2 &&, E3 &&) Creates an expression that returnsxifmis true, otherwise returnsy.functionsequence(const Ts &...) Creates an expression that cycles through the provided list of values.functionconvolve_filter<T>::set_data(const univector_ref<const T> &) Sets (replaces) the filter kernel.functionset_elements(const expression_cast<T, Arg> &, const shape<NDims> &, const axis_params<Axis, N> &, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forfunctionexpression_discard<Tin, Dims>::set_elements(const expression_discard<Tin, Dims> &, shape<Dims>, axis_params<VecAxis, N>, const std::type_identity_t<vec<Tin, N>> &) Discards a vector write.functionset_elements(const expression_handle<T, NDims> &, const shape<NDims> &, const axis_params<Axis, N> &, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forexpression_handleexpressions.functionset_elements(const expression_slice<Arg> &, const shape<NDims> &, const axis_params<Axis, N> &, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forfunctionset_elements(const tensor<T, NDims> &, const shape<NDims> &, const axis_params<Axis, N> &, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation for tensor expressions. WritesvalueasNelements alongAxisstarting atindexintoself.functionset_elements(expression_fixshape<Arg, Shape> &, const shape<Traits::dims> &, const axis_params<Axis, N> &, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forfunctionset_elements(expression_function<fn::packtranspose, Args...> &, shape<Tr::dims>, axis_params<Axis, N>, const std::type_identity_t<vec<typename Tr::value_type, N>> &) Internal ADL-provided implementation forfunctionexpression_goertzel<T>::set_elements(expression_goertzel<T> &, shape<1>, axis_params<VecAxis, N>, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forexpression_goertzelexpressions.functionexpression_parallel_goertzel<T, width>::set_elements(expression_parallel_goertzel<T, width> &, shape<1>, axis_params<VecAxis, N>, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forexpression_parallel_goertzelexpressions.functionexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::set_elements(expression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn> &, shape<Dims>, axis_params<VecAxis, N>, const std::type_identity_t<vec<Tin, N>> &)functionset_elements(expression_reshape<Arg, outdims> &, const shape<Traits::dims> &, const axis_params<Axis, N> &, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forfunctionset_elements(expression_reverse<Arg> &, const shape<Traits::dims> &, const axis_params<Axis, N> &, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forfunctionexpression_unpack<E>::set_elements(expression_unpack<E...> &, shape<dims>, axis_params<Axis, N>, const std::type_identity_t<vec<value_type, N>> &)functionset_elements(strided_channel<T> &, const shape<1> &, const axis_params<0, N> &, const std::type_identity_t<vec<T, N>> &)functionset_elements(T &, const shape<0> &, const axis_params<Axis, N> &, const std::type_identity_t<vec<T, N>> &) Stores a single-element vector into a scalar element.functionset_elements(univector<T, Tag> &, const shape<1> &, const axis_params<0, N> &, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forset_elementsexpressions.functionfir_filter<T, U>::set_params(fir_params<T>) Replace the filter parameters (alias offunctionshape<Dims>::set_revindex(size_t, index_t) Write an axis by its position from the back.functionshape<0>::set_revindex(size_t, index_t) Set an axis by its position from the back; a no-op.functionfir_filter<T, U>::set_taps(fir_params<T>) Replace the filter taps (resets parameters; delay line is unchanged until next process).functionvec<T, N>::set(csize_t<index>, const value_type &) Set element at compile-timeindex(compound element type).functionvec<T, N>::set(size_t, const value_type &) Set element at runtimeindex(compound element type).functionportable_vec<T, N>::shape()functionvec<T, N>::shape()constructorshape<0>::shape() Default-construct an empty (scalar) shape.deduction guideshape Deduction guide forshapefrom a parameter pack.functiontensor<T, NDims>::shape() Returns the shape of the tensor.structshape<0> Scalar shape specialization.typedeftensor<T, NDims>::shape_typeclassshape<dims> Fixed-rank multidimensional shape used bytensor.constructorshape<Dims>::shape<dims>(const base &) Construct a shape from a base static array.structshape<dynamic_shape> Run-time-rank shape specialization.constructorshape<0>::shape(index_t) Construct a scalar shape; the value is ignored.functionshape<dynamic_shape>::shape(shape<Dims>) Construct a dynamic-rank shape from a fixed-rank one.variabledft_resampler_params::shift Resampling factor as a power of 2 (e.g. 1 for 2x, -1 for 0.5x, 0 for filter-only).functionshl(const T1 &, const T2 &) Bitwise left shift.typedefopencl_names::short16typedefopencl_names::short2typedefopencl_names::short3typedefopencl_names::short4typedefopencl_names::short8classshort_fir_state<tapcount, T, U> State for a short FIR filter (tap count in range 2..33).functionshort_fir_state<tapcount, T, U>::short_fir_state<tapcount, T, U>(const univector<const T, N> &) Construct from a runtime-sized tap vector (const data variant).functionshort_fir_state<tapcount, T, U>::short_fir_state<tapcount, T, U>(const univector<T, N> &) Construct from a runtime-sized tap vector.functionshort_fir(E1 &&, const univector<T, TapCount> &) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).functionshort_fir(E1 &&, std::reference_wrapper<short_fir_state<TapCount, T, U>>) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).functionshort_fir(short_fir_state<InternalTapCount, T, U> &, E1 &&) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).functionshr(const T1 &, const T2 &) Bitwise right shift.functionshuffle(const vec<T, N> &, const vec<T, N> &, elements_t<Indices...>) Shuffles the concatenation of two equal-length vectors using a repeating index pattern.functionvec<T, N>::shuffle(const vec<T, N> &, csizes_t<indices...>) Permute elements from two concatenated vectors(*this, y).functionvec<T, N>::shuffle(csizes_t<indices...>) Permute elements of this vector according toi.functionshufflegroups(const vec<T, N> &, const vec<T, N> &, elements_t<Indices...>) Group-wise variant of shuffle() that operates on blocks ofgroupelements.functionshuffleindexbits(const vec<T, N> &, elements_t<A...>) Shuffles lanes ofxby permuting the bits of each lane index.functionshufflevector(const vec<complex<T>, N> &, csizes_t<indices...>) Shuffles the complex elements ofxaccording toindices.functionshufflevector(const vec<T, N> &, csizes_t<indices...>) Permute elements of a single vector.functionshufflevectors(const vec<complex<T>, N> &, const vec<T, N> &, csizes_t<indices...>) Shuffles complex elements from two vectorsxandyaccording toindices.functionshufflevectors(const vec<T, N> &, const vec<T, N> &, csizes_t<indices...>) Permute elements from two concatenated vectors.functionsamplerate_converter<T>::sidelobe_att() Calculates the sidelobe attenuation based on the Kaiser beta parameter.functionsamplerate_converter<T>::sidelobe_attenuation(sample_rate_conversion_quality) Returns the sidelobe attenuation for a given quality level.variableexpression_random_normal<T, Dims, Reference>::sigmatypedefsigned_index_t Signed integer type used for tensor indices and axis sizes.variablesigned_types Type list of all signed integer element types.variablesigned_vector_types Instance of signed_vector_types_t for use as a value parameter pack.typedefsigned_vector_types_t Type list of signed-integer vector instantiations for the test sizes.conceptsimd_compat Concept satisfied by scalar types usable as SIMD elements.variablevec<T, N>::simd_element_count Number of native lanes.variablevec<T, N>::simd_element_sizetypedefvec<T, N>::simd_element_typevariableplatform<cpu_t::common>::simd_register_countvariableplatform<cpu_t::sse2>::simd_register_countvariableplatform<cpu_t::avx512>::simd_register_counttypedefvec<T, N>::simd_typefunctionsin2x(const T &, const T &) Returnssin(2x)from already computedsin(x)andcos(x).functionsin3x(const T &, const T &) Returnssin(3x)from already computedsin(x)andcos(x).functionsinc(const T1 &) Returns the (normalized) sinc function ofx.functionsinc(E1 &&) Creates an expression that returns the sinc function of x.functionsin(const T1 &) Returns the trigonometric sine of x, evaluated in radians.functionsincos(const T1 &) Returns the trigonometric sine of the even elements ofxand cosine of the odd elements.functionsincosdeg(const T1 &) Returns the trigonometric sine of the even elements and cosine of the odd elements ofx,wherexis a vector of angles expressed in degrees.functionsincosdeg(E1 &&) Creates an expression that returns the trigonometric sine of the even elements of x and cosine of the odd elements. x must be expressed in degrees.functionsincos(E1 &&) Creates an expression that returns the trigonometric sine of the even elements of x and cosine of the odd elements. x must be a vector.functionsindeg(const T1 &) Returns the trigonometric sine of the angle expressed in degrees.functionsindeg(E1 &&) Creates an expression that returns the trigonometric sine of x (expressed in degrees).functionsin(E1 &&) Creates an expression that returns the trigonometric sine of x.functionsine(const T1 &) Sine of a phase in radians.functionsine(E1 &&) Expression overload ofsine; applies element-wise to an expression.functionsinenorm(const T1 &) Sine of a phase ramp in [0, 1) cycles (alias ofrawsine).functionsinenorm(E1 &&) Expression overload ofsinenorm; applies element-wise to an expression.functionsinh(const T1 &) Returns the hyperbolic sine of x.functionsinhcosh(const T1 &) Computes sinh and cosh of x in a single pass and interleaves the results.functionsinhcosh(E1 &&) Creates an expression that returns the hyperbolic sine of the even elements of x and the hyperbolic cosine of the odd elements of x.functionsinh(E1 &&) Creates an expression that returns the hyperbolic sine of x.functionsink(E &&) Reads the expressionexprthrough the whole range.functioncompiletime::sin(T) Compile-time sine, accurate to better than 1e-4.functioncvals_t<T, values>::size() Number of values in the listfunctioncvals_t<T>::size() Number of values (always 0)functionctypes_t<Ts>::size() Number of types in the listfunctionvec_shape<T, N>::size() Number of elements in the vector.functioncstring<N>::size()functionportable_vec<T, N>::size()functionvec<T, N>::size()functionshape<0>::size() Returns the number of elements (always 0).variableexpression_slice<Arg>::sizevariableexpression_linspace<T, truncated>::sizefunctionarray_ref<T>::size()functionspsc_ring_buffer<T>::size() Returns an approximate number of elements currently available for dequeue.functioninline_vector<T, N>::size() Returns the number of elements currently stored.functiontensor<T, NDims>::size() Returns the total number of elements in the tensor.functionhistogram_data<Bins, TCount>::size() Returns the number of bins.functionsmall_buffer<T, Capacity>::size()variabledft_plan<T>::size The size of the DFT as passed to the constructor.variabledft_plan_real<T>::size Number of real samples in the transform.variabledft_plan_md<T, Dims>::size Per-dimension sizes of the transform.variabledft_plan_md_real<T, Dims>::size Per-dimension sizes of the real transform.functionexpression_window<T>::size()functionabstract_stream<T>::size()functionmemory_reader<T>::size()functionmemory_writer<T>::size()functionreader_adapter<From, To>::size()functionwriter_adapter<From, To>::size()variablestrided_channel<T>::size Number of samples in the channel.variableaudio_data<IsInterleaved>::size Number of samples per channel.variableexpression_concatenate<Arg1, Arg2, ConcatAxis>::size1functionsize_add(size_t, size_t) Saturating addition for shape sizes.variableunivector<T, Size>::size_known True: the size is known at compile time.variableunivector<T, tag_array_ref>::size_known False: the size is not known at compile time.variableunivector<T, tag_dynamic_vector>::size_known False: the size is not known at compile time.functionsize_min(size_t) Returns the minimum of a single value.functionsize_min(size_t, size_t, Ts...) Returns the minimum of two or more values (recursively).functionsize_of() Size of a (possibly compound) type measured in bytes of its deepest scalar.functionsize_of_shape(const shape<dims> &) Total number of elements described by a shape.functionsize_sub(size_t, size_t) Saturating subtraction for shape sizes.typedefcstring<N>::size_typetypedefarray_ref<T>::size_typetypedefdata_allocator<T>::size_typetypedefunivector<T, Size>::size_typetypedefunivector<T, tag_array_ref>::size_typetypedefunivector<T, tag_dynamic_vector>::size_typetypedefinline_vector<T, N>::size_typetypedeftensor<T, NDims>::size_typefunctionsamplerate_converter<T>::skip(size_t, univector_ref<const T>) Skips a specified number of output samples, updating internal state.enum constantspeaker_type::Sl Side left.functionaudio_data<IsInterleaved>::slice_past_end(size_t) Creates a new audio_data object representing a slice of audio data starting past the end of the current data.functionslice(Arg &&, std::type_identity_t<shape<Dims>>, std::type_identity_t<shape<Dims>>) Creates an expression that exposes a sub-region of another expression.functionslice(const vec<T, N> &) Extracts a contiguous subvector ofcountelements starting atstart.functionslice(const vec<T, N> &, const vec<T, N> &) Extracts a contiguous subvector spanning the concatenation ofxandy.functioncstring<N>::slice(csize_t<start>)functioncstring<N>::slice(csize_t<start>, csize_t<count>)functionunivector_base<T, Class, true>::slice(size_t, size_t) Returns subrange of the vector. If start is greater or equal to this->size, returns empty univector If requested size is greater than this->size, returns only available elementsfunctionunivector_base<T, Class, true>::slice(size_t, size_t) Returns subrange of the vector. If start is greater or equal to this->size, returns empty univector If requested size is greater than this->size, returns only available elementsfunctionaudio_data<IsInterleaved>::slice(size_t, size_t) Creates a slice of the audio data starting at a specified position and with a specified length.classsmall_buffer<T, Capacity> A dynamically-sized buffer with a small-size optimization.constructorsmall_buffer<T, Capacity>::small_buffer<T, Capacity>() Constructs an empty buffer pointing at the inline storage.destructorsmall_buffer<T, Capacity>::~small_buffer<T, Capacity>() Destructor; releases any heap allocation.constructorsmall_buffer<T, Capacity>::small_buffer<T, Capacity>(const small_buffer<T, Capacity> &) Copy-constructs fromother.constructorsmall_buffer<T, Capacity>::small_buffer<T, Capacity>(small_buffer<T, Capacity> &&) Move-constructs fromother,leavingotherin an empty state.constructorsmall_buffer<T, Capacity>::small_buffer<T, Capacity>(std::size_t) Constructs a buffer withsizedefault-initialized elements.variablevec<T, N>::SN Total scalar count.functionsnprintfmt(char *, size_t, const std::string &, const Args &...) Write to a buffer using a{}"-basedformat string.functionsort(const vec<T, N> &) Sort the elements in the vector in ascending orderfunctionsortdesc(const vec<T, N> &) Sort the elements in the vector in descending ordertypedefSpeakerenumspeaker_arrangement Predefined speaker arrangements.enumspeaker_type Speaker types (channel positions).typedefSpeakerArrangementvariableaudiofile_format::speakers Speaker arrangement.enumspecial_constant Enumeration of special numeric values selectable throughspecial_value.classspecial_constants<T> Provides special constants for the scalar subtype ofT.classspecial_scalar_constants<bit<T>> Special scalar constants forbit<T>.structspecial_scalar_constants<double> Provides special bit-pattern constants fordouble.structspecial_scalar_constants<float> Provides special bit-pattern constants forfloat.classspecial_scalar_constants<T> Provides special bit-pattern constants for a scalar type.structspecial_value Type-erased constant convertible to any numeric typeT. Holds either aspecial_constanttag, an integer literal, or a floating-point literal, and converts toTaccording to the active variant.constructorspecial_value::special_value(const special_value &)constructorspecial_value::special_value(double) Constructs from a double literalconstructorspecial_value::special_value(int) Constructs from an int literalconstructorspecial_value::special_value(long long) Constructs from a long long literalconstructorspecial_value::special_value(special_constant) Constructs from a special_constant tagfunctionsplit(const vec<T, N> &) Terminal overload of split() for variadic recursion.functionsplit(const vec<T, N> &, vec<T, N / 2> &, vec<T, N / 2> &) Splitsxinto two equal halves.functionsplit(const vec<T, N> &, vec<T, N / 4> &, vec<T, N / 4> &, vec<T, N / 4> &, vec<T, N / 4> &) Splitsxinto four equal quarters.functionsplit(const vec<T, N> &, vec<T, Nout> &, Args &&...) Splitsxinto consecutive subvectors written into the supplied output references.functionsplitpairs(const vec<T, N> &) Deinterleaves adjacent pairs (inverse of interleavehalves withside1== 2).classspsc_ring_buffer<T> Single-producer/single-consumer queue backed by an externalunivector.constructorspsc_ring_buffer<T>::spsc_ring_buffer<T>() Constructs an empty queue withfrontandtailset to 0.variablescalar_constants<T>::sqr_pi The square of π (pi²).functionsqr(const T1 &) Returns square of x.functionsqrdiff(const T1 &, const T2 &) Returns square of the difference of two arguments.functionsqr(E1 &&) Creates an expression that returns the square ofx.functionsqrsum(const T1 &, const Ts &...) Square of the sum of all arguments.variablescalar_constants<T>::sqrt_2 The square root of 2 (√2).functionsqrt(const T1 &) Returns the positive square root of x. \(\sqrt{x}\)functionsqrt(E1 &&) Creates an expression that returns the positive square root of x. \(\sqrt{x}\)functionsquare(const T1 &) Square wave of a phase in radians.functionsquare(E1 &&) Expression overload ofsquare; applies element-wise to an expression.functionsquarenorm(const T1 &) Square wave of a phase ramp in [0, 1) cycles (alias ofrawsquare).functionsquarenorm(E1 &&) Expression overload ofsquarenorm; applies element-wise to an expression.enum constantspeaker_type::Sr Side right.variabletensor<T, NDims>::tensor_iterator::srcvariabletensor<T, NDims>::nested_iterator_t::srcenum constantcpu_t::sse2enum constantcpu_t::sse3enum constantcpu_t::sse41enum constantcpu_t::sse42enum constantcpu_t::ssse3typedefvec<T, N>::STtypedefgenerator_expj<T, VecWidth>::STtypedefconvolve_filter<T>::STfunctiondft_resampler_params::stage_factor() Returns the per-stage conversion ratio (>1 for upsampling, <1 for downsampling).variabledft_stage<T>::stage_size Number of complex elements processed by this stage.variabledft_plan<T>::stages Internal data.variabletensor_range::start Start of the range (inclusive).std::nulloptmeans "from the beginning" (or "to the end" for negative steps).variableexpression_counter<T, Dims>::startvariableexpression_slice<Arg>::startvariableexpression_linspace<T, truncated>::startfunctionebu_r128<T>::start() (Re)start measurement: subsequent packets update the buffers.variablestopwatch::start_time Tick count captured at construction.functionaudio_data<IsInterleaved>::stat() Retrieves the statistical information of the audio data.variableexpression_random_uniform<T, Dims, Reference>::statevariableexpression_random_range<T, Dims, Reference>::statevariableexpression_random_normal<T, Dims, Reference>::statevariableiir_state<T, filters>::state Active delay-line state.variableexpression_iir_l<filters, T, E1, Stateless>::statevariableexpression_iir<filters, T, E1, Stateless>::statevariableexpression_short_fir<tapcount, T, U, E1, stateless>::statevariableexpression_fir<T, U, E1, stateless>::statevariableexpression_moving_sum<U, E1, STag, stateless>::statevariablefir_filter<T, U>::statevariableexpression_delay<delay, E, stateless, STag>::statevariableexpression_delay<1, E, stateless, STag>::stateclassstate_holder<T, false> Owning specialization ofstate_holder.constructorstate_holder<T, false>::state_holder<T, false>()constructorstate_holder<T, false>::state_holder<T, false>(const state_holder<T, false> &)constructorstate_holder<T, false>::state_holder<T, false>(state_holder<T, false> &&)constructorstate_holder<T, false>::state_holder<T, false>(state_holder<T, true>) Converts a stateless holder into an owning one by copying the referenced state.constructorstate_holder<T, false>::state_holder<T, false>(std::reference_wrapper<const T>)constructorstate_holder<T, false>::state_holder<T, false>(std::reference_wrapper<T>)constructorstate_holder<T, false>::state_holder<T, false>(T) Constructs the holder by moving in a state value.classstate_holder<T, Stateless> Holds a state value, either by ownership or by reference, depending on theStatelesstemplate parameter.classstate_holder<T, true> Stateless (non-owning) specialization ofstate_holder.constructorstate_holder<T, true>::state_holder<T, true>()constructorstate_holder<T, true>::state_holder<T, true>(const state_holder<T, true> &)constructorstate_holder<T, true>::state_holder<T, true>(const T &)constructorstate_holder<T, true>::state_holder<T, true>(state_holder<T, true> &&)constructorstate_holder<T, true>::state_holder<T, true>(std::reference_wrapper<T>) Constructs the holder from a reference wrapper, storing a pointer to the referenced object.constructorstate_holder<T, true>::state_holder<T, true>(T)constructorstate_holder<T, true>::state_holder<T, true>(T &)constructorstate_holder<T, true>::state_holder<T, true>(T &&)classstatic_assert_eq<T, left, right>classstatic_assert_type_eq<Left, Right>functionexpression_vtable<T, Dims>::static_begin_pass(void *, shape<Dims>, shape<Dims>) begin_pass trampoline: forwards tobegin_passforExpression.functionexpression_vtable<T, Dims>::static_end_pass(void *, shape<Dims>, shape<Dims>) end_pass trampoline: forwards toend_passforExpression.functionexpression_vtable<T, Dims>::static_get_elements(void *, shape<Dims>, T *) get_elements trampoline: forwards toget_elementsforExpression.functionexpression_vtable<T, Dims>::static_reset(void *) reset trampoline: forwards toresetforExpression.functionexpression_vtable<T, Dims>::static_set_elements(void *, shape<Dims>, const T *) set_elements trampoline: forwards toset_elementsforExpression.functionexpression_vtable<T, Dims>::static_shapeof(void *, shape<Dims> &) shapeof trampoline: queriesexpression_traits::get_shapeforExpression.variableshape<0>::static_size Compile-time size of the shape, always zero.variableunivector<T, Size>::static_size Compile-time size of the vector.functionexpression_vtable<T, Dims>::static_substitute(void *, expression_handle<T, Dims>) substitute trampoline: invokeskfr::substituteonExpression.namespace::stdfunctionstddev(const E1 &) Computes the standard deviation of the given expression.functionsteady_time() Returns the current time in nanoseconds since epoch using steady_clock.variabletensor_range::step Step between elements. Defaults to 1. May be negative for a reverse iteration.variablegenerator_exp<T, VecWidth>::stepvariablegenerator_expj<T, VecWidth>::stepvariablegenerator_exp2<T, VecWidth>::stepvariablegenerator_cossin<T, VecWidth>::stepvariablegenerator_sin<T, VecWidth>::stepvariablerange<T>::iterator::stepvariablerange<T>::stepvariableexpression_counter<T, Dims>::stepsenum constantspeaker_arrangement::Stereo L, R.structstereo_matrix 2x2 mixing matrix functor for stereo channel transformations.enum constantspeaker_arrangement::StereoCenter Lc, Rc.enum constantspeaker_arrangement::StereoCLfe C, Lfe.enum constantspeaker_arrangement::StereoSide Sl, Sr.enum constantspeaker_arrangement::StereoSurround Ls, Rs.variabletensor_range::stop End of the range (exclusive).std::nulloptmeans "to the end" (or "from the beginning" for negative steps).variableexpression_linspace<T, truncated>::stopfunctionebu_r128<T>::stop() Pause measurement: packets are still filtered but buffers are frozen.functionstop_constexpr() Non-constexpr function used to halt constant evaluation invariabledft_resampler_params::stopband_atten_db Desired stopband attenuation in dB (e.g. 144). Controls Kaiser beta.structstopwatch RAII-style stopwatch measuring wall-clock elapsed time viaclock_now.constructorstopwatch::stopwatch()typedefinline_vector<T, N>::stored_size_type Smallest unsigned integer able to hold values up tofunctionstr_find(const cstring<N1> &, const cstring<Nneedle> &)functionstr_replace(const cstring<N1> &, const cstring<Nfrom> &, const cstring<Nto> &)variablestride_pointer<const T, groupsize>::stride Offset (in groups) between consecutive groups.variablestrided_channel<T>::stride Stride (in elements) between successive samples.classstride_pointer<const T, groupsize> Read-only strided pointer: a pointer paired with a stride that supports grouped gather reads.classstride_pointer<T, groupsize> Mutable strided pointer: a pointer paired with a stride that supports grouped scatter writes.constructorstride_pointer<T, groupsize>::stride_pointer<T, groupsize>(T *, size_t)classstrided_channel<T> Represents a strided audio channel.functiontensor<T, NDims>::strides() Returns the strides of the tensor.classstruct_with_alignment<T, A> Wrapper exposing a member of typeTwith the requested alignment.classstruct_with_alignment<T, false> Packed, unaligned specialization of struct_with_alignment.functionshape<Dims>::sub_shape_undef(const shape<dims> &, const shape<dims> &) Variant ofsub_shapethat also propagatesundefined_size.functionshape<Dims>::sub_shape(const shape<dims> &, const shape<dims> &) Subtract one shape from another, treatinginfinite_sizeas infinite.functionsubadd(const vec<T, N> &, const vec<T, N> &) Returns a vector witha-bin the low half anda+bin the high half.functionshape<Dims>::sub(const shape<dims> &) Element-wise subtraction of two shapes.functionsub(const T1 &, const T2 &) Subtraction of two values.functionsub(E1 &&, E2 &&) Creates an expression that returns the difference betweenxandy.functionsub(initialvalue<T>) Identity element forsub(returns zero).typedefcvals_t<T, values>::subscriptclasscvals_t<T, values>::subscript_t<cvals_t<size_t, indices...>>classcvals_t<T, values>::subscript_t<U>functionsubstitute(const internal_generic::anything &, Args &&...) Fallbacksubstitutethat accepts any expression and arguments and does nothing.functionexpression_handle<T, Dims>::substitute(expression_handle<T, Dims>) Replace the placeholder inside the referenced expression withnew_handle.functionsubstitute(expression_handle<T, Dims> &, expression_handle<T, Dims>, csize_t<Key>) Substitute the placeholder inside the expression referenced byexpr.functionsubstitute(expression_placeholder<T, Dims, Key> &, expression_handle<T, Dims>, csize_t<Key>) Bind a placeholder to a concrete expression handle.functionsubstitute(expression_with_arguments<Args...> &, expression_handle<T, Dims>, csize_t<Key>) Recursively substitute a placeholder inside a composite expression.typedefcompound_type_traits<T>::subtypetypedefsubtype The immediate subtype of a compound typetypedefcompound_type_traits<std::pair<T, T>>::subtypetypedeftypebits<T>::subtypetypedefcompound_type_traits<kfr::vec_shape<T, N>>::subtypetypedefcompound_type_traits<kfr::vec<T, N>>::subtypetypedefcompound_type_traits<std::complex<T>>::subtype Scalar component type of the complex value.functionshape<Dims>::sum() Sum of every axis size.functionsum(const E1 &) Returns the sum of all the elements in x.functionsumsqr(const E1 &) Returns the sum of squares of all the elements in x.variablevec<T, N>::SWstructswallow Utility class to use in list-initialization context Accepts any number of arguments and discards them; useful for pack expansion side effects.functionswallow::swallow(T &&...) Constructs from any arguments, discarding themfunctionaudio_data<IsInterleaved>::swap(audio_data<IsInterleaved> &) Exchanges the contents of this buffer withother.functionaudio_data<IsInterleaved>::swap(audio_data<IsInterleaved> &, audio_data<IsInterleaved> &) Swaps two audio_data buffers.functionswapbyteorder(const T &) Swap byte order ofx.functionswap(const vec<T, N> &) Swaps adjacent groups ofelementslanes.functionfile_handle::swap(file_handle &)functionsmall_buffer<T, Capacity>::swap(small_buffer<T, Capacity> &, small_buffer<T, Capacity> &) Swaps the contents of two buffers.functionswept_arg(size_t)functionswept(std::type_identity_t<T>, size_t) Returns expression template that generates a jaehne vector Generates the sine with logarithmically increasing frequency from 0hz to nyquist frequency.variablewave_encoding_options::switch_to_rf64_if_over_4gbenum constantwindow_symmetry::symmetricvariablesymmetric_linspacestructsymmetric_linspace_t Tag type used to select the symmetric-linspace constructor ofexpression_linspace.functionsymmlinspace(T, size_t, cbool_t<truncated>) Creates an expression that returns evenly spaced numbers over a symmetric interval.functiongenerator_linear<T, VecWidth>::sync(T) Reinitializes the generator so the next vector starts atstart.functiongenerator_exp<T, VecWidth>::sync(T) Reinitializes the generator so the next vector starts atstart.functiongenerator_expj<T, VecWidth>::sync(T) Reinitializes the generator so the next vector starts at phasestart.functiongenerator_exp2<T, VecWidth>::sync(T) Reinitializes the generator so the next vector starts atstart.functiongenerator_cossin<T, VecWidth>::sync(T) Reinitializes the generator so the next vector starts at phasestart.functiongenerator_sin<T, VecWidth>::sync(T) Reinitializes the generator so the next vector starts at phasestart.
T¶
typedefexpression_delay<delay, E, stateless, STag>::Ttypedefexpression_delay<1, E, stateless, STag>::Tenum constant(Unnamed enum at base/univector.hpp:42:1)::tag_array_ref Tag for a non-owning reference to external data.enum constant(Unnamed enum at base/univector.hpp:42:1)::tag_dynamic_vector Tag for a dynamically sized, owning vector.variablemoving_sum_state<U, Tag>::tail_cursor Read cursor (oldest sample).variablemoving_sum_state<U, tag_dynamic_vector>::tail_cursor Read cursor (oldest sample).functiontall() Build a range that spans the entire axis (defaults for all three components).functiontan(const T1 &) Computes the tangent of the input (in radians).functiontandeg(const T1 &) Computes the tangent of the input (in degrees).functiontandeg(E1 &&) Creates an expression that returns the trigonometric tangent of x (expressed in degrees).functiontan(E1 &&) Creates an expression that returns the trigonometric tangent of x.functiontanh(const T1 &) Returns the hyperbolic tangent of x.functiontanh(E1 &&) Creates an expression that returns the hyperbolic tangent of x.variableshort_fir_state<tapcount, T, U>::taps Filter coefficients (zero-padded).variablefir_params<T>::taps Filter coefficients (reversed order).variablesamplerate_converter<T>::taps Number of filter taps.functionabstract_stream<T>::tell()functionmemory_reader<T>::tell()functionmemory_writer<T>::tell()functionreader_adapter<From, To>::tell()functionwriter_adapter<From, To>::tell()functionfile_reader<T>::tell()functionfile_writer<T>::tell()functionaudio_writer_wav<T>::tell()functionaudio_reader_wav<T>::tell() Returns current positionfunctionaudio_reader_flac<T>::tell() Returns current positionfunctionaudio_reader_mp3<T>::tell() Returns current positionvariableconvolve_filter<T>::tempvariabledft_stage<T>::temp_size Size in bytes of scratch buffer required by this stage.variabledft_plan<T>::temp_size The temporary (scratch) buffer size for the DFT plan.variabledft_plan_md<T, Dims>::temp_size Scratch buffer size in bytes required byvariabledft_plan_md_real<T, Dims>::temp_size Scratch buffer size in bytes required byfunctiontensor_from_container(Container) Creates a 1D tensor referencing the data of a container. The container is moved into a memory finalizer so the data remains valid for the tensor's lifetime.structtensor<T, NDims>::tensor_iterator Tensor iterator. Iterates through the flattened array in row-major order.structtensor_range Half-open or one-ended range descriptor for tensor slicing.classtensor_subscript<T, Derived, Dims> Base for the subscript operator helper of tensor.classtensor_subscript<T, Derived, std::integer_sequence<index_t, Dims...>> Specialization of tensor_subscript for an explicit integer sequence of dimensions.classtensor<T, dynamic_shape> Specialization of tensor for a dynamic shape. Not implemented yet.classtensor<T, NDims> Holds or references multidimensional data and provides access to individual elements and complex operations on the data.constructortensor<T, NDims>::tensor<T, NDims>() Default constructor. Creates a tensor with a null shape.constructortensor<T, NDims>::tensor<T, NDims>(const shape_type &) Constructs a tensor with the given shape and allocates memory for it.constructortensor<T, NDims>::tensor<T, NDims>(const shape_type &, const shape_type &) Constructs a tensor with the given shape and a packed stride layout.constructortensor<T, NDims>::tensor<T, NDims>(const shape_type &, const shape_type &, std::initializer_list<T>) Constructs a tensor with the given shape and strides and fills it from a flat initializer list.constructortensor<T, NDims>::tensor<T, NDims>(const shape_type &, const shape_type &, T) Constructs a tensor with the given shape and strides, allocates memory, and fills it withvalue.constructortensor<T, NDims>::tensor<T, NDims>(const shape_type &, const std::initializer_list<T> &) Constructs a tensor with the given shape, allocates memory, and fills it from a flat initializer list.constructortensor<T, NDims>::tensor<T, NDims>(const shape_type &, T) Constructs a tensor with the given shape, allocates memory, and fills it withvalue.functiontensor<T, NDims>::tensor<T, NDims>(const std::initializer_list<std::initializer_list<std::initializer_list<std::initializer_list<U>>>> &) Initializes a 4D tensor from a braced list. Defined for 4D tensors only.functiontensor<T, NDims>::tensor<T, NDims>(const std::initializer_list<std::initializer_list<std::initializer_list<U>>> &) Initializes a 3D tensor from a braced list. Defined for 3D tensors only.functiontensor<T, NDims>::tensor<T, NDims>(const std::initializer_list<std::initializer_list<U>> &) Initializes a 2D tensor from a braced list. Defined for 2D tensors only.functiontensor<T, NDims>::tensor<T, NDims>(const std::initializer_list<U> &) Initializes a 1D tensor from a braced list. Defined for 1D tensors only.constructortensor<T, NDims>::tensor<T, NDims>(const tensor<T, NDims> &)constructortensor<T, NDims>::tensor<T, NDims>(const tensor<T, NDims> &&)functiontensor<T, NDims>::tensor<T, NDims>(Input &&) Constructs a tensor by evaluating an expression.constructortensor<T, NDims>::tensor<T, NDims>(T *, const shape_type &, const shape_type &, memory_finalizer) Constructs a tensor from an external pointer, shape, strides, and finalizer.constructortensor<T, NDims>::tensor<T, NDims>(T *, const shape_type &, memory_finalizer) Constructs a tensor from an external pointer, shape, and finalizer using default strides.constructortensor<T, NDims>::tensor<T, NDims>(tensor<T, NDims> &&)constructortensor<T, NDims>::tensor<T, NDims>(tensor<T, NDims> &)variabletest_vector_sizes Set of vector sizes used by the test harness.enum constantspeaker_type::Tfc Top front center.enum constantspeaker_type::Tfl Top front left.enum constantspeaker_type::Tfr Top front right.classtimestamps<max_count, fence> High-resolution scoped profiler using RDTSC (x86) or CNTVCT_EL0 (AArch64).namespace::tlenum constantspeaker_type::Tm Top middle.functiontensor<T, NDims>::to_array() Copies the tensor elements into a std::array.functionto_filter(E &&) Creates a filter from an expression containing a placeholder.functionto_filter(expression_handle<T, 1> &&) Creates a filter from an expression handle containing a placeholder.functionshape<0>::to_flat(const shape<0> &) Flat offset for a scalar; the only valid offset is 0.functionshape<Dims>::to_flat(const shape<Dims> &) Convert multi-dimensional indices to a flat offset.functionto_handle(E &) Converts the given expression into an opaque handle.functionto_handle(E &&) Converts the given expression into an opaque handle.functionto_sos(const zpk &) Converts a zero-pole-gain filter to second-order sections (SOS) form.functionshape<Dims>::to_std_array() Convert the shape to astd::array.functionto_string(audiofile_error) Converts an audiofile_error to its string representation.functiontensor<T, NDims>::to_string(int, int, std::string, std::string, std::string) Returns a string representation of the tensor.functionto_vec(const portable_vec<T, N> &) Convert aportable_vecto the nativevectype.functionto_vec(const shape<Dims> &) Converts a shape to a vector of unsigned integers.functionto_vec(const std::array<T, N> &) Converts astd::arrayofNelements to a vector.functionshape<Dims>::tomask() Build adimsetmask with bits set for non-collapsed axes.functionshape<0>::tomask() Build adimsetwith all bits set.enum constantaudiofile_error::too_large data chunk too large for standard WAVfunctionhistogram_data<Bins, TCount>::total() Returns the total number of values added to the histogram.variableaudiofile_format::total_framesfunctionaudio_data<IsInterleaved>::total_samples() Calculates the total number of audio samples.functiontprocess_body(Out &&, In &&, size_t, size_t, size_t, shape<outdims>, shape<indims>) Core loop body that copies a vectorized slice fromintoout.functiontrace(E1 &&) Creates an expression that prints the requested values to the console for debugging purposes.functionshape<Dims>::trailing_zeros() Number of trailing axes of size 1, counting from the back.functionshape<0>::trailing_zeros() A scalar shape has no trailing collapsed axes.functiontrange(std::optional<signed_index_t>, std::optional<signed_index_t>, std::optional<signed_index_t>) Build atensor_rangefrom explicit start/stop/step values.variableexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::transformfnvariabledft_resampler_params::transition_width Transition bandwidth normalised to the lower-rate Nyquist (0..1].functionsamplerate_converter<T>::transition_width() Calculates the transition width based on sidelobe attenuation and depth.functionsamplerate_converter<T>::transition_width(sample_rate_conversion_quality) Returns the transition width for a given quality level.functionshape<Dims>::transpose() Reverse the order of the axes.functiontensor<T, NDims>::transpose() Returns a tensor with the order of axes reversed. For 0D and 1D tensors returns*this.functiontranspose(const vec<T, N> &) Transposes a vector viewed as aside1xside2matrix (row-major).functiontranspose(const vec<T, N> &) Identity overload of transpose() for small vectors (size <= 3).functiontranspose(const vec<vec<T, N>, N> &) Transposes a vector of vectors (matrix of vectors).functiontransposeinverse(const vec<T, N> &) Inverse transpose of a vector viewed as aside1xside2matrix (row-major).functiontransposeinverse(const vec<T, N> &) Identity overload of transposeinverse() for small vectors (size <= 3).enum constantspeaker_type::Trc Top rear center.functiontrender(const E &) Evaluates an expression and returns the result as a tensor.functiontrender(const E &, shape<Traits::dims>) Evaluates an expression up tosizeand returns the result as a tensor.functiontriangle(const T1 &) Triangle wave of a phase in radians.functiontriangle(E1 &&) Expression overload oftriangle; applies element-wise to an expression.functiontrianglenorm(const T1 &) Triangle wave of a phase ramp in [0, 1) cycles (alias ofrawtriangle).functiontrianglenorm(E1 &&) Expression overload oftrianglenorm; applies element-wise to an expression.enum constantwindow_type::triangularenum constantaudio_dithering::triangularfunctionshape<Dims>::trim() Reduce the shape to a lower rank by dropping leading axes.functionshape<0>::trim() Reduce the scalar shape to a smaller rank.enum constantspeaker_type::Trl Top rear left.enum constantspeaker_type::Trr Top rear right.functionshape<Dims>::trunc() Drop the last axis. Synonym forremove_back.functiontruncate(Arg &&, std::type_identity_t<shape<Dims>>) Creates an expression that exposesargstarting at the origin with the givensize.functionunivector_base<T, Class, true>::truncate(size_t) Returns subrange of the vector starting from 0. If requested size is greater than this->size, returns only available elementsfunctionunivector_base<T, Class, true>::truncate(size_t) Returns subrange of the vector starting from 0. If requested size is greater than this->size, returns only available elementsfunctionaudio_data<IsInterleaved>::truncate(size_t) Truncates the audio data to the specified length.functiontrunc(const T1 &) Returns the integer part ofxby removing its fractional part.functiontrunc(E1 &&) Creates an expression that returns the integer part ofxby removing its fractional part.functioncompiletime::trunc(T) Compile-time truncation toward zero.functionspsc_ring_buffer<T>::try_dequeue(T *, size_t, const univector<T, Tag> &, bool) Attempts to dequeuesizeelements frombufferintodest.functionspsc_ring_buffer<T>::try_enqueue(const T *, size_t, univector<T, Tag> &, bool) Attempts to enqueuesizeelements fromsourceintobuffer.functiontstart(signed_index_t, signed_index_t) Build a range that starts atstartand continues to the end of the axis.functiontstep(signed_index_t) Build a range that uses the specified step but no explicit start or stop.functiontstop(signed_index_t, signed_index_t) Build a range that stops atstop.typedefspecial_constants<T>::Tsub The scalar subtype used to provide the constants.typedefconstants<T>::Tsubenum constantwindow_type::tukeyclass::std::tuple_element<I, kfr::vec<T, N>>class::std::tuple_size<kfr::vec<T, N>>variablengfft_plan<T>::twiddles User-allocated pointer to twiddle factors. The required element count is obtained from ngfft_twiddle_count(); the buffer must be cache-line aligned. Initialise via ngfft_initialize() before first use.typedefcval_t<T, val>::typetypedefcvals_t<T, values>::typetypedefcvals_t<T, values>::subscript_t<cvals_t<size_t, indices...>>::typetypedefcvals_t<T>::typetypedefctype_t<T>::type The wrapped typetypedefmap_indices_impl<size, Fn>::typetypedefconstruct_common_type<CT, Tpl>::typetypedefvector_types_for_size_t_impl<vec_tpl, T, csizes_t<sizes...>>::typetypedefbitmask<bits>::type The unsigned integer type selected for the requested width.typedefrepresentation<T>::typetypedefrepresentation<named_arg<T>>::typetypedefrepresentation<std::pair<T1, T2>>::typetypedefrepresentation<std::unique_ptr<T1>>::typetypedefrepresentation<std::weak_ptr<T1>>::typetypedefrepresentation<std::shared_ptr<T1>>::typetypedefrepresentation<std::shared_ptr<void>>::typetypedefrepresentation<std::array<T, Size>>::typetypedefrepresentation<std::vector<T, Allocator>>::typetypedefrepresentation<std::string_view>::typetypedefnative_vector_type<T>::typetypedefvec_template<N>::typetypedefvecvec_template<N1, N2>::typetypedefvec_vec_template<N1, N2>::typetypedefrepresentation<kfr::generic::vec<T, N>>::typetypedefrepresentation<fmt_t<kfr::generic::vec<T, N>, t, width, prec>>::typetypedefrepresentation<kfr::generic::mask<T, N>>::typetypedef::std::tuple_element<I, kfr::vec<T, N>>::typetypedefrepresentation<kfr::complex<T>>::type Result type of the conversion.typedefrepresentation<fmt_t<kfr::complex<T>, t, width, prec>>::type Result type of the conversion.typedefvec_of_complex<N>::type The complex vector type for component typetypedefrepresentation<kfr::shape<dims>>::typetypedefrepresentation<kfr::univector<T, Tag>>::typetypedefrepresentation<fmt_t<kfr::univector<T, Tag>, t, width, prec>>::typetypedefaudio_sample_get_type<audio_sample_type::i16>::type Native C++ type corresponding toaudio_sample_type::i16.typedefaudio_sample_get_type<audio_sample_type::i24>::type Native C++ type corresponding toaudio_sample_type::i24.typedefaudio_sample_get_type<audio_sample_type::i32>::type Native C++ type corresponding toaudio_sample_type::i32.typedefaudio_sample_get_type<audio_sample_type::f32>::type Native C++ type corresponding toaudio_sample_type::f32.typedefaudio_sample_get_type<audio_sample_type::f64>::type Native C++ type corresponding toaudio_sample_type::f64.variableaudio_sample_traits<i16>::type Matchingaudio_sample_typeenumerator.variableaudio_sample_traits<i24>::type Matchingaudio_sample_typeenumerator.variableaudio_sample_traits<i32>::type Matchingaudio_sample_typeenumerator.variableaudio_sample_traits<f32>::type Matchingaudio_sample_typeenumerator.variableaudio_sample_traits<f64>::type Matchingaudio_sample_typeenumerator.typedefexpand_cvals<T, Tpl, cvals_t<T, vals...>>::typetypedefrepresentation<kfr::fraction>::typetypedefrepresentation<kfr::tensor<T, dims>>::typetypedefrepresentation<fmt_t<kfr::tensor<T, dims>, t, width, prec>>::typetypedefrepresentation<kfr::npy_decode_result>::typetypedefwindow_by_type<window_type::rectangular>::typetypedefwindow_by_type<window_type::triangular>::typetypedefwindow_by_type<window_type::bartlett>::typetypedefwindow_by_type<window_type::cosine>::typetypedefwindow_by_type<window_type::hann>::typetypedefwindow_by_type<window_type::bartlett_hann>::typetypedefwindow_by_type<window_type::hamming>::typetypedefwindow_by_type<window_type::bohman>::typetypedefwindow_by_type<window_type::blackman>::typetypedefwindow_by_type<window_type::blackman_harris>::typetypedefwindow_by_type<window_type::kaiser>::typetypedefwindow_by_type<window_type::flattop>::typetypedefwindow_by_type<window_type::gaussian>::typetypedefwindow_by_type<window_type::lanczos>::typetypedefwindow_by_type<window_type::cosine_np>::typetypedefwindow_by_type<window_type::planck_taper>::typetypedefwindow_by_type<window_type::tukey>::typevariableaudio_format::typetypedefrepresentation<kfr::special_value>::typetypedefrepresentation<kfr::cpu_t>::typestructtype_id_tconstructortype_id_t::type_id_t(const void *)typedefexpression_with_arguments<Args>::type_listtypedefexpression_with_arguments<Arg>::type_listfunctiontype_name() Gets the fully qualified name of the type, including namespace and template parameters (if any)functiontype_name(T) Gets the fully qualified name of the type, including namespace and template parameters (if any)typedeftype_of Extracts the wrapped type from a ctype_t-like wrapperenum constantdatatype::typebits_maskclasstypebits<T>variabletypeclassenum constantdatatype::typeclass_maskfunctiontypeindex() Returns the zero-based index of type
U¶
enum constantdatatype::utypedefu16enum constantdatatype::u16typedefu16x1typedefu16x16typedefu16x2typedefu16x2x2typedefu16x3typedefu16x32typedefu16x4typedefu16x4x4typedefu16x64typedefu16x8enum constantdatatype::u24structu24 Unsigned 24-bit integer stored in three bytes (little-endian).typedefu32enum constantdatatype::u32typedefu32x1typedefu32x16typedefu32x2typedefu32x2x2typedefu32x3typedefu32x32typedefu32x4typedefu32x4x4typedefu32x64typedefu32x8typedefu64enum constantdatatype::u64typedefu64x1typedefu64x16typedefu64x2typedefu64x2x2typedefu64x3typedefu64x32typedefu64x4typedefu64x4x4typedefu64x64typedefu64x8typedefu8enum constantdatatype::u8typedefu8x1typedefu8x16typedefu8x2typedefu8x2x2typedefu8x3typedefu8x32typedefu8x4typedefu8x4x4typedefu8x64typedefu8x8conceptu_classfunctionubitcast(const From &) Reinterpret the bits of a scalarvalueas its unsigned counterpart type.functionubitcast(const vec<From, N> &) Reinterpret the bits of a vector as a vector of its unsigned counterpart type.typedefopencl_names::uchar16typedefopencl_names::uchar2typedefopencl_names::uchar3typedefopencl_names::uchar4typedefopencl_names::uchar8functionuibitcast(const From &) Reinterpret the bits of a scalarvalueas its unsigned-or-signed counterpart type.functionuibitcast(const vec<From, N> &) Reinterpret the bits of a vector as a vector of its unsigned-or-signed counterpart type.typedefopencl_names::uint16typedefopencl_names::uint2typedefopencl_names::uint3typedefopencl_names::uint4typedefopencl_names::uint8typedefuitypetypedefopencl_names::ulong16typedefopencl_names::ulong2typedefopencl_names::ulong3typedefopencl_names::ulong4typedefopencl_names::ulong8typedefumaxfunctiontensor<T, NDims>::unary_inplace(Fn &&) Appliesfnto each element in place.functiontensor<T, NDims>::unary(Fn &&) Applies a unary function to each element and returns the resulting tensor.variableundefined_size Sentinel value denoting a dimension whose size is not yet known.functionundefinedvector() Return an uninitialized vector of the given type and size.functionundefinedvector(vec_shape<T, N>) Return an uninitialized vector matching the given shape.functionunitimpulse() Returns expression template that generates a unit impulsetypedefunivector2d Alias for a 2D container of univectors.typedefunivector3d Alias for a 3D container of univectors.classunivector_base<T, Class, false> Specialization for univectors that cannot be assigned from expressions. Provides only reference access to the underlying data.classunivector_base<T, Class, is_expression> Base class for allunivectorspecializations, providing common operations such as slicing, references and ring-buffer helpers. Ring-buffer helpers operate on caller-owned cursors and are intended for single-threaded use only; concurrent access requires external synchronization.classunivector_base<T, Class, true> Specialization for univectors that can be assigned from expressions.typedefunivector_dyn Alias forunivector<T, tag_dynamic_vector>;typedefunivector_ref Alias forunivector<T, tag_array_ref>;typedefunivector_tag Tag type that selects the storage strategy of aunivectororabstract_vector.classunivector<T, Size> Class that represent data in KFR. Many KFR functions can take this class as an argument. Can inherit from std::vector, std::array or keep only reference to data and its size.constructorunivector<T, Size>::univector<T, Size>()functionunivector<T, Size>::univector<T, Size>(const T &, const Args &...) Constructs the vector from a brace-enclosed list of values.constructorunivector<T, Size>::univector<T, Size>(const univector<T, Size> &)functionunivector<T, Size>::univector<T, Size>(Input &&) Constructs the vector and initializes it from an input expression.constructorunivector<T, Size>::univector<T, Size>(size_t, const T &) Constructs the vector withSizecopies ofvalue.constructorunivector<T, Size>::univector<T, Size>(univector<T, Size> &)constructorunivector<T, Size>::univector<T, Size>(univector<T, Size> &&)classunivector<T, tag_array_ref> Non-owning univector specialization that holds a reference to external data.constructorunivector<T, tag_array_ref>::univector<T, tag_array_ref>(array_ref<T> &&)constructorunivector<T, tag_array_ref>::univector<T, tag_array_ref>(const array_ref<T> &)functionunivector<T, tag_array_ref>::univector<T, tag_array_ref>(const univector<T, Tag> &) Constructs a reference from a const univector of any storage tag.constructorunivector<T, tag_array_ref>::univector<T, tag_array_ref>(const univector<T, tag_array_ref> &)functionunivector<T, tag_array_ref>::univector<T, tag_array_ref>(const univector<U, Tag> &) Constructs a const reference from a const univector of a different element type. Only participates in overload resolution whenTis const-qualified and the underlying element types match after removing const.functionunivector<T, tag_array_ref>::univector<T, tag_array_ref>(univector<T, Tag> &) Constructs a reference from a mutable univector of any storage tag.constructorunivector<T, tag_array_ref>::univector<T, tag_array_ref>(univector<T, tag_array_ref> &)constructorunivector<T, tag_array_ref>::univector<T, tag_array_ref>(univector<T, tag_array_ref> &&)functionunivector<T, tag_array_ref>::univector<T, tag_array_ref>(univector<U, Tag> &) Constructs a const reference from a mutable univector of a different element type.functionunivector<T, tag_array_ref>::univector<T, tag_array_ref>(univector<U, Tag> &&) Constructs a const reference by taking a reference to the data of a temporary univector.classunivector<T, tag_dynamic_vector> Dynamically sized, owning univector backed bystd::vectorusing KFR'sdata_allocator. Memory is aligned to the maximum vector alignment.constructorunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>()constructorunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(const array_ref<const T> &) Constructs from a constarray_refby copying its elements.constructorunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(const array_ref<T> &) Constructs from a mutablearray_refby copying its elements.functionunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(const std::vector<T, Allocator> &) Deleted overload to prevent construction from astd::vectorwith a foreign allocator.constructorunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(const std::vector<T, data_allocator<T>> &) Copy-constructs from astd::vectorusing the same allocator.constructorunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(const univector<T, tag_dynamic_vector> &)functionunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(Input &&) Constructs the vector from an input expression, resizing to the expression's size. The expression must be finite and have at most one dimension.functionunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(std::vector<T, Allocator> &&) Deleted overload to prevent construction from astd::vectorwith a foreign allocator.constructorunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(std::vector<T, data_allocator<T>> &&) Move-constructs from astd::vectorusing the same allocator.constructorunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(univector<T, tag_dynamic_vector> &)constructorunivector<T, tag_dynamic_vector>::univector<T, tag_dynamic_vector>(univector<T, tag_dynamic_vector> &&)enum constantaudio_sample_type::unknownenum constantaudiofile_container::unknownenum constantaudiofile_codec::unknownenum constantaudiofile_error::unknown An unknown error occurredenum(Unnamed enum at base/univector.hpp:42:1) Compile-time tags selecting the storage strategy of aunivector.enum(Unnamed enum at capi.h:119:1) Supported architectures enumeration.functionunpack(E &&...) Creates an expression that fans out a vector input into several output expressions.typedefunsigned_type Maps a bit width to the corresponding unsigned integer typevariableunsigned_types Type list of all unsigned integer element types.variableunsigned_vector_types Instance of unsigned_vector_types_t for use as a value parameter pack.typedefunsigned_vector_types_t Type list of unsigned-integer vector instantiations for the test sizes.typedefunwrap_bitfunctionunwrap_bit_value(const bit<T> &) Overload unwrapping abit<T>to its underlying mask value.functionunwrap_bit_value(const T &) Returns the underlying mask value of a bit, or the value itself for non-bit types.functionupsample2(E1 &&) Upsamples a signal by a factor of 2 by inserting zero samples.functionupsample4(E1 &&) Upsamples a signal by a factor of 4 by inserting zero samples.typedefvec<T, N>::uscalar_typevariableaudio_format::use_w64variabledft_stage<T>::user Stage-specific user value (e.g. log2 of the stage size).typedefopencl_names::ushort16typedefopencl_names::ushort2typedefopencl_names::ushort3typedefopencl_names::ushort4typedefopencl_names::ushort8typedefvec<T, N>::usimd_typetypedefusubtypetypedefutypetypedefvec<T, N>::uvalue_typetypedefglsl_names::uvec2typedefglsl_names::uvec3typedefglsl_names::uvec4
V¶
variablevec<T, N>::element::v Owning vector.variablevec<T, N>::(Anonymous union at simd/vec.hpp:831:5)::vvariablerandom_state::v Internal 128-bit state stored as four 32-bit lanes.variablevec_halves<T, 1>::val The single scalar value.functionval_of(cval_t<T, value>) Extracts the value from a cval_t constantfunctionval_of(T) Returns the value itself (overload for runtime values)functionaudiofile_format::valid()variablecval_t<T, val>::value The wrapped constant valuevariableautocast_impl<Tfrom>::valuevariablebitmask<bits>::value The stored bit value.variablebit<T>::value The raw mask value.variablestruct_with_alignment<T, A>::value The wrapped value.variablestruct_with_alignment<T, false>::value The wrapped value.variablecstring<N>::valuevariablenamed_arg<T>::valuevariablefmt_t<T, t, width, prec>::valuevariableaxis_params<Axis, N>::value Alias ofwidthkept for backwards compatibility.variableexpression_scalar<T>::valuevariablegenerator<T, VecWidth, Class, Twork>::valuevariableexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::valuevariablerange<T>::iterator::valuetypedefvalue_or_reftypedefcval_t<T, val>::value_typetypedefvec_shape<T, N>::value_type The element type stored in the vector.typedefcstring<N>::value_typetypedefportable_vec<T, N>::value_typetypedefvec<T, N>::value_typetypedefexpression_traits<T>::value_typetypedefexpression_with_traits<Arg>::value_typetypedefexpression_function<Fn, Args>::value_type Value type produced by the expression.typedefexpression_discard<Tin, Dims>::value_typetypedefexpression_traits<expression_scalar<T>>::value_typetypedefexpression_traits<expression_counter<T, Dims>>::value_typetypedefexpression_traits<expression_slice<Arg>>::value_typetypedefexpression_traits<expression_cast<T, Arg>>::value_typetypedefexpression_traits<expression_lambda<T, Dims, Fn, Rnd>>::value_typetypedefexpression_traits<expression_padded<Arg>>::value_typetypedefexpression_traits<expression_reverse<Arg>>::value_typetypedefexpression_traits<expression_fixshape<Arg, fixed_shape_t<ShapeValues...>>>::value_typetypedefexpression_traits<expression_reshape<Arg, OutDims>>::value_typetypedefexpression_traits<expression_linspace<T, truncated>>::value_typetypedefexpression_traits<expression_concatenate<Arg1, Arg2, ConcatAxis>>::value_typetypedefexpression_unpack<E>::value_typetypedefexpression_adjacent<Fn, E>::value_typetypedefexpression_trace<E>::value_typetypedefexpression_dimensions<Dims, E>::value_typetypedefarray_ref<T>::value_typetypedefdata_allocator<T>::value_typetypedefunivector<T, Size>::value_typetypedefunivector<T, tag_array_ref>::value_typetypedefunivector<T, tag_dynamic_vector>::value_typetypedefexpression_traits<univector<T, Tag>>::value_typetypedefexpression_traits<expression_handle<T, Dims>>::value_typetypedefexpression_placeholder<T, Dims, Key>::value_typetypedefexpression_traits<expression_placeholder<T, Dims, Key>>::value_typetypedefgenerator<T, VecWidth, Class, Twork>::value_typetypedefinline_vector<T, N>::value_typetypedeftensor<T, NDims>::value_typetypedeftensor<T, NDims>::tensor_iterator::value_typetypedeftensor<T, NDims>::nested_iterator_t::value_typetypedefexpression_traits<tensor<T, Dims>>::value_typetypedefexpression_random_uniform<T, Dims, Reference>::value_typetypedefexpression_random_range<T, Dims, Reference>::value_typetypedefexpression_random_normal<T, Dims, Reference>::value_typetypedefexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::value_typetypedefexpression_histogram<Bins, E, TCount>::value_typetypedefexpression_window<T>::value_typetypedefrange<T>::value_typetypedefexpression_iir_l<filters, T, E1, Stateless>::value_typetypedefexpression_iir<filters, T, E1, Stateless>::value_typetypedefexpression_short_fir<tapcount, T, U, E1, stateless>::value_typetypedefexpression_fir<T, U, E1, stateless>::value_typetypedefexpression_moving_sum<U, E1, STag, stateless>::value_typetypedefexpression_delay<delay, E, stateless, STag>::value_typetypedefexpression_delay<1, E, stateless, STag>::value_typetypedefexpression_goertzel<T>::value_typetypedefexpression_parallel_goertzel<T, width>::value_typetypedefexpression_traits<strided_channel<T>>::value_typetypedefvalue_type_of Extracts thefunctionhistogram_data<Bins, TCount>::values() Returns a reference to the bin counts, excluding the below/above counters.functionvariance(const E1 &) Computes the variance of the given input expression.deduction guidevec Deduction guide: a braced list of scalars deduces tovec<common_type, N>.typedefglsl_names::vec2typedefglsl_names::vec3typedefglsl_names::vec4classvec_halves<T, 1> Specialization ofvec_halvesfor single-element vectors.classvec_halves<T, N> Splits avec<T, N>into its two halves for recursive decomposition.classvec_of_complex<N> Helper that maps a scalar component typeTtovec<complex<T>,N>.variablevec_rank Rank of a type within the compound-vector hierarchy.classvec_shape<T, N> Describes the shape of a SIMD vector ofNelements of typeT.constructorvec_shape<T, N>::vec_shape<T, N>() Default constructor.classvec_template<N> Alias template producingvec<T, N>for a fixedN.classvec_vec_template<N1, N2> Alias template producingvec<vec<T, N1>, N2>for fixedN1,N2.classvec<T, 0> Rejected specialization for zero-sized vectors.classvec<T, N> SIMD vector type ofTelements with default widthvector_width.constructorvec<T, N>::vec<T, N>() Default constructor (elements are left uninitialized).constructorvec<T, N>::vec<T, N>(cones_t) Construct an all-ones vector (tag constructor).constructorvec<T, N>::vec<T, N>(const portable_vec<T, N> &) Reinterpret aportable_vecas avec(layout-compatible).constructorvec<T, N>::vec<T, N>(const simd_type &) Construct from a native SIMD register.functionvec<T, N>::vec<T, N>(const U &) Broadcast a compound value to all elements (non-scalar element type).functionvec<T, N>::vec<T, N>(const value_type *, cbool_t<aligned>) Load from a memory location.functionvec<T, N>::vec<T, N>(const value_type &, const value_type &, const Us &...) Construct from two or more compound values (non-scalar element type).constructorvec<T, N>::vec<T, N>(const vec<std::conditional_t<compound_type_traits<T>::is_scalar, bit<T>, T>, N> &) Construct a value vector from a mask of the same scalar type.constructorvec<T, N>::vec<T, N>(const vec<T, N> &) Copy constructor.functionvec<T, N>::vec<T, N>(const vec<T, Ns> &...) Concatenate several vectors whose sizes sum toN.functionvec<T, N>::vec<T, N>(const vec<U, N> &) Promote from a vector of a different (possibly compound) type.constructorvec<T, N>::vec<T, N>(const vec<unwrap_bit<T>, N> &) Construct a mask vector from a value vector of the same scalar type.constructorvec<T, N>::vec<T, N>(czeros_t) Construct an all-zeros vector (tag constructor).functionvec<T, N>::vec<T, N>(from_lambda, Fn &&) Construct from a generator callable.constructorvec<T, N>::vec<T, N>(vec<T, N> &&) Move constructor.functionvector_alignment(size_t) Return the alignment (next power of two ofsize) for a vector ofsizebytes.variablevector_capacity Total SIMD capacity (in elements) for typeTon the native platform.typedefhistogram_data<Bins, TCount>::vector_typetypedefvector_types_for_size_t Convenience alias for the type list produced by vector_types_for_size_t_impl.classvector_types_for_size_t_impl<vec_tpl, T, csizes_t<sizes...>> Specialization that expands the size list into actypes_tof vector types.classvector_types_for_size_t_impl<vec_tpl, T, sizes> Builds a type list of vector instantiations ofvec_tplfor element typeTover the test vector sizes.variablevector_width SIMD vector width (in elements) for typeTon the native platform.variablevector_width_for SIMD vector width (in elements) for typeTon the given CPU.classvecvec_template<N1, N2> Alias template producingvec<vec<T, N1>, N2>for fixedN1,N2.typedefvecx Convenience alias building nestedvectypes from a list of sizes.variablecpu_features::vendor NUL-terminated CPUID vendor string (leaf 0).variableversionvariableversion_full KFR version string including architecture and compiler namevariableversion_majorvariableversion_minorvariableversion_patchvariableversion_string KFR version stringvariablegenerator_linear<T, VecWidth>::vstepvariablegenerator_exp<T, VecWidth>::vstepvariablegenerator_exp2<T, VecWidth>::vstepvariableexpression_handle<T, Dims>::vtable Pointer to the static vtable for the instance type.
W¶
enum constantaudiofile_container::w64 Sony WAVE64structw64_decoding_options Options for decoding W64 audio files.structw64_encoding_options Represents options for W64 audio encoding.enum constantaudiofile_container::wave RIFF WAVEstructwave_decoding_options Options for decoding WAVE audio files.structwave_encoding_options Represents options for WAVE audio encoding, including RF64 support for large files.functionwaveshaper_hardclip(E1 &&, double) Hard-clipping waveshaper.functionwaveshaper_poly(E1 &&, fbase, fbase, Cs...) Polynomial (odd-only) waveshaper using Horner evaluation.functionwaveshaper_saturate_I(E1 &&, double) Waveshaper based on the type-I saturation curve.functionwaveshaper_saturate_II(E1 &&, double) Waveshaper based on the type-II saturation curve.functionwaveshaper_tanh(E1 &&, double) Hyperbolic-tangent waveshaper.functionexception::what()functionwiden(const vec<T, Nout> &, TS) Identity overload of widen() for theNout== input length case.functionwiden(const vec<T, N> &, std::type_identity_t<T>) Widensxto lengthNoutby appending lanes set tonewvalue.variablecompound_type_traits<T>::widthvariablecompound_type_traits<std::pair<T, T>>::widthvariabletypebits<T>::widthvariablecompound_type_traits<kfr::vec_shape<T, N>>::widthvariablecompound_type_traits<kfr::vec<T, N>>::widthvariablecompound_type_traits<std::complex<T>>::width Number of immediate sub-elements (real and imaginary).variableaxis_params<Axis, N>::width The vector width.variablegenerator<T, VecWidth, Class, Twork>::widthvariableexpression_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn>::widthfunctionwidthof() Returns the width (number of scalar components) offunctionwidthof(T) Returns the width (number of scalar components) offunctionwindow_bartlett_hann(size_t, ctype_t<T>) Returns template expression that generates a Bartlett-Hann window of lengthsizefunctionwindow_bartlett(size_t, ctype_t<T>) Returns template expression that generates a Bartlett window of lengthsizefunctionwindow_blackman_harris(size_t, window_symmetry, ctype_t<T>) Returns template expression that generates a Blackman-Harris window of lengthsizefunctionwindow_blackman(size_t, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns template expression that generates a Blackman window of lengthsizewhere α =alphafunctionwindow_bohman(size_t, ctype_t<T>) Returns template expression that generates a Bohman window of lengthsizeclasswindow_by_type<window_type> Type trait mapping a window_type to its corresponding expression typestructwindow_by_type<window_type::bartlett>structwindow_by_type<window_type::bartlett_hann>structwindow_by_type<window_type::blackman>structwindow_by_type<window_type::blackman_harris>structwindow_by_type<window_type::bohman>structwindow_by_type<window_type::cosine>structwindow_by_type<window_type::cosine_np>structwindow_by_type<window_type::flattop>structwindow_by_type<window_type::gaussian>structwindow_by_type<window_type::hamming>structwindow_by_type<window_type::hann>structwindow_by_type<window_type::kaiser>structwindow_by_type<window_type::lanczos>structwindow_by_type<window_type::planck_taper>structwindow_by_type<window_type::rectangular>structwindow_by_type<window_type::triangular>structwindow_by_type<window_type::tukey>functionwindow_cosine_np(size_t, ctype_t<T>) Returns template expression that generates a cosine window (numpy compatible) of lengthsizefunctionwindow_cosine(size_t, ctype_t<T>) Returns template expression that generates a cosine window of lengthsizefunctionwindow_flattop(size_t, ctype_t<T>) Returns template expression that generates a flat-top window of lengthsizefunctionwindow_gaussian(size_t, std::type_identity_t<T>, ctype_t<T>) Returns template expression that generates a Gaussian window of lengthsizewhere α =alphafunctionwindow_hamming(size_t, std::type_identity_t<T>, ctype_t<T>) Returns template expression that generates a Hamming window of lengthsizewhere α =alphafunctionwindow_hann(size_t, ctype_t<T>) Returns template expression that generates a Hann window of lengthsizefunctionwindow_kaiser(size_t, std::type_identity_t<T>, ctype_t<T>) Returns template expression that generates a Kaiser window of lengthsizewhere β =betafunctionwindow_lanczos(size_t, ctype_t<T>) Returns template expression that generates a Lanczos window of lengthsizeclasswindow_linspace<T> Linspace expression specialized for window abscissa generationconstructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_0_1>, size_t, window_symmetry)constructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_m1_1_trunc2>, size_t, window_symmetry)constructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_m1_1_trunc>, size_t, window_symmetry)constructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_m1_1>, size_t, window_symmetry)constructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_mpi_pi>, size_t, window_symmetry)enumwindow_metrics Selects the abscissa range and endpoint handling used by window expressionsfunctionsamplerate_converter<T>::window_param(fbase)functionsamplerate_converter<T>::window_param(sample_rate_conversion_quality) Computes the Kaiser window parameter for a given quality level.functionwindow_planck_taper(size_t, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns template expression that generates a Planck-taper window of lengthsizefunctionwindow_rectangular(size_t, ctype_t<T>) Returns template expression that generates a rectangular window of lengthsizeenumwindow_symmetry Window symmetry modefunctionwindow_triangular(size_t, ctype_t<T>) Returns template expression that generates a triangular window of lengthsizefunctionwindow_tukey(size_t, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns template expression that generates a Tukey window of lengthsize(numpy compatible)enumwindow_type Window function types supported by KFRfunctionsamplerate_converter<T>::window(fbase) Computes the Kaiser window function for a given sample position.functionwindow(size_t, cval_t<window_type, type>, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns a window expression of the requested compile-time typefunctionwindow(size_t, window_type, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns a type-erased window expression of the requested runtime typefunctionwrap_bit_value(const T &) Pass-through overload of wrap_bit_value for non-bit types.functionwrap_bit_value(const unwrap_bit<T> &) Wraps a raw mask value into abit<T>.functionwrap_fmt(const U &, ctype_t<Fmt>) Wrapvalwith the format typeFmtwhenFmtis notvoid.functionwrap_fmt(const U &, ctype_t<void>) Identity pass-through used when no format type is specified.variablestride_pointer<T, groupsize>::writable_ptrfunctionaudio_writer<T>::write_channels(const univector2d<T, Tag1, Tag2> &)functionwrite_group(T *, size_t, const vec<T, group * count * N> &) Writescountgroups ofgroup*Nelements separated bystridegroups.enum constantopen_file_mode::write_newfunctionaudio_encoder::write(const audio_data_interleaved &) Writes a chunk of interleaved audio data to the encoder.functionwriter_adapter<From, To>::write(const To *, size_t)functionabstract_writer<T>::write(const T *, size_t)functionmemory_writer<T>::write(const T *, size_t)functionfile_writer<T>::write(const T *, size_t)functionaudio_writer_wav<T>::write(const T *, size_t) Write data to underlying binary writer data is PCM samples in interleaved format size is the number of samples (PCM frames * channels)functionabstract_writer<T>::write(const U &)functionstride_pointer<T, groupsize>::write(const vec<T, N> &, csize_t<N>) ScattersNelements ofvalto the underlying pointer using the stored stride.variablewriter_adapter<From, To>::writerfunctionaudio_encoder::writer() Retrieves the binary writer associated with the encoder.classwriter_adapter<From, To>constructorwriter_adapter<From, To>::writer_adapter<From, To>(std::shared_ptr<abstract_writer<From>>)functionwrite(T *, const vec<T, N> &) Writes a vector ofNelements of typeTto memory.functionvec<T, N>::write(value_type *, cbool_t<aligned>) Store to a memory location.
Z¶
variablezpk::z Zeros of the transfer functionfunctionzeroize(T1 &) Fills a value with zerosfunctionzeros() Creates an expression that always evaluates to zero.functionzerovector() Return an all-zeros vector of the given type and size.functionzerovector(vec_shape<T, N>) Return an all-zeros vector matching the given shape.functionzerovector(vec<T, N>) Return an all-zeros vector matching the type of the given vector.functionzip(const vec<T, N1> &, const vec<T, Ns> &...) Zips multiple vectors into a vector of vectors.structzpk Zero-pole-gain (ZPK) representation of a linear time-invariant (LTI) filter.
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.