Classes, Structs & Unions¶
A¶
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.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.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.classaxis_params<Axis, N> Compile-time axis descriptor used by SIMD tensor accessors.
C¶
classcursor<Dims> Multi-dimensional iteration cursor.
E¶
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.classexpression_adjacent<Fn, E> Expression that applies a binary function to each value and its previous value.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.classexpression_counter<T, Dims> Expression that produces a sequence of valuesstart, start + step, start + 2*step, ...for one or more dimensions.classexpression_dimensions<Dims, E> Expression that adjusts the dimensionality of another expression.classexpression_discard<Tin, Dims> Output expression that discards all written values.classexpression_filter<T> Filter adapter that wraps an expression containing a placeholder.classexpression_fixshape<Arg, Shape> Expression that overrides the shape of another expression with a compile-time shape.classexpression_function<Fn, Args> Expression that applies a callable to its arguments.classexpression_handle<T, Dims> Opaque type-erased handle to an expression (forward declaration).classexpression_histogram<Bins, E, TCount> Expression that computes a histogram as data flows through it.classexpression_lambda<T, Dims, Fn, Rnd> Expression backed by a user-provided callable.classexpression_linspace<T, truncated> Expression that produces evenly spaced values fromstarttostop.classexpression_padded<Arg> Expression that extends another expression with a constant fill value.classexpression_placeholder<T, Dims, Key> A placeholder expression that can be bound to a concrete expression at runtime.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_reduce<Tout, Dims, Twork, Tin, ReduceFn, TransformFn, FinalFn> Expression that reduces an input expression to a single value.classexpression_reshape<Arg, OutDims> Expression that exposes the same data as another expression with a different shape.structexpression_resource Base class for owning the storage of a type-erased expression.classexpression_resource_impl<E>expression_resourcethat owns an expression of typeEby value.classexpression_reverse<Arg> Expression that exposes another expression with its trailing dimension reversed.classexpression_scalar<T> Expression that wraps a single scalar value of typeT.classexpression_slice<Arg> Expression that exposes a sub-region of another expression.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<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_unpack<E> Expression that writes a single vector-valued input into several output expressions.classexpression_vtable<T, Dims> Virtual table providing type-erased access to an expression of value typeTand dimensionalityDims.classexpression_with_arguments<Arg> Single-argument specialization ofexpression_with_arguments.classexpression_with_arguments<Args> Holds the arguments of an expression along with their dimension masks.classexpression_with_traits<Arg> Wraps a single-argument expression and forwards its traits.
F¶
classfilter<T> Abstract base class for single-argument filters, mainly intended for DSP processing.classfixed_shape_t<Values> Type-level storage for a fixedshapebuilt from a list of constants.structfraction Exact rational number represented as a numerator/denominator pair.
G¶
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} \\]classgenerator_exp2<T, VecWidth> Generator that produces a base-2 exponential sequence \(x_i = 2^{ start + i \cdot step }\) .classgenerator_expj<T, VecWidth> Generator that produces a complex exponential \(x_i = e^{ j ( start + i \cdot step ) }\) .classgenerator_exp<T, VecWidth> Generator that produces an exponential sequence \(x_i = e^{ start + i \cdot step }\) .classgenerator_linear<T, VecWidth> Generator that produces an arithmetic progression \(x_i = start + i \cdot step\) .classgenerator_sin<T, VecWidth> Generator that produces sine values \(x_i = \sin( start + i \cdot step )\) .classgenerator<T, VecWidth, Class, Twork> CRTP base for stateful streaming generators that produce fixed-width vectors of values on demand.
H¶
classhistogram_data<Bins, TCount> Holds the bin counts for a histogram.
I¶
classinline_vector<T, N> A sequence container with fixed-capacity inline storage.
R¶
structrandom_state Internal state of the pseudo-random number generator.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.structrepresentation<kfr::fraction> String representation specialization forfraction.structrepresentation<kfr::npy_decode_result>classrepresentation<kfr::shape<dims>> String representation of ashape, used byas_stringand the formatting framework.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.
S¶
structseed_from_rdtsc_t Tag type for seeding the random number generator from the CPU cycle counter.structshape<0> Scalar shape specialization.classshape<dims> Fixed-rank multidimensional shape used bytensor.structshape<dynamic_shape> Run-time-rank shape specialization.classsmall_buffer<T, Capacity> A dynamically-sized buffer with a small-size optimization.classspsc_ring_buffer<T> Single-producer/single-consumer queue backed by an externalunivector.classstate_holder<T, false> Owning specialization ofstate_holder.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.structsymmetric_linspace_t Tag type used to select the symmetric-linspace constructor ofexpression_linspace.
T¶
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.
U¶
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.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.classunivector<T, tag_array_ref> Non-owning univector specialization that holds a reference to external data.classunivector<T, tag_dynamic_vector> Dynamically sized, owning univector backed bystd::vectorusing KFR'sdata_allocator. Memory is aligned to the maximum vector alignment.
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.