Member Functions¶
A¶
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).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).functioni24::as_int() Reconstructs the signed 32-bit value, sign-extending from bit 23.functionvec<T, N>::asmask() Reinterpret the bits as a mask of the same shape.functionvec<T, N>::asvec() Reinterpret a mask vector as a value vector (drops thebitwrapper).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.
B¶
functionportable_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.functionbit<T>::bit<T>(const bit<U> &) Convert a bit of another element type to this one.
F¶
functionvec<T, N>::flatten()functionvec<T, N>::from_flatten(const vec<ST, SN> &) Reconstruct a (possibly compound) vector from a flat scalar vector.functionf16::from_raw(u16)functionvec<T, N>::frombits(const vec<U, M> &) Reinterpret the bits ofvas a vector of this type.functionportable_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.
G¶
functionvec<T, N>::get() Get element at compile-timeindex(template parameter form).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<kfr::complex<T>>::get(const kfr::complex<T> &) Converts a complex value to its string form.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> &)functionvec<T, N>::get(csize_t<index>) Get element at compile-timeindex(compound element type).functionvec<T, N>::get(size_t) Get element at runtimeindex(compound element type).
H¶
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.
I¶
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.
O¶
functionvec<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.functionbit<T>::operator==(bool) Equality comparison against a plain bool.functionbit<T>::operator!=(bool) Inequality comparison against a plain bool.functionbit<T>::operator==(const bit<T> &) Equality comparison between two bit values.functionbit<T>::operator!=(const bit<T> &) Inequality comparison between two bit values.functionvec<T, N>::element::operator=(const element &) Copy-assign from another element proxy.functionportable_vec<T, N>::operator==(const portable_vec<T, N> &)functionvec<T, N>::element::operator=(const typename vec<U, M>::element &) Assign from an element proxy of a different vector type.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.functionvec<T, N>::operator=(const vec<T, N> &) Copy assignment operator.functionvec<T, N>::element::operator++(int) Post-increment.functionvec<T, N>::element::operator--(int) Post-decrement.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).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.functionvec<T, N>::operator=(vec<T, N> &&) Move assignment operator.
P¶
functionscalar_constants<T>::pi_s(int, int) Returns π scaled bym / d.functionpkd_vec<T, N>::pkd_vec<T, N>(Ts...) Initialize from up toNscalar values.functionportable_vec<T, N>::portable_vec<T, N>(T, T, Ts...)
R¶
functionstride_pointer<const T, groupsize>::read(csize_t<N>) GathersNelements from the underlying pointer using the stored stride.functionscalar_constants<T>::recip_pi_s(int, int) Returns the reciprocal of π scaled bym / d.
S¶
functionvec_shape<T, N>::scalar_size() Total number of scalar components, including compound element widths.functionvec<T, N>::scalar_size()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()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.functionvec_shape<T, N>::size() Number of elements in the vector.functionportable_vec<T, N>::size()functionvec<T, N>::size()
V¶
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).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.functionvec<T, N>::vec<T, N>(from_lambda, Fn &&) Construct from a generator callable.
W¶
functionstride_pointer<T, groupsize>::write(const vec<T, N> &, csize_t<N>) ScattersNelements ofvalto the underlying pointer using the stored stride.functionvec<T, N>::write(value_type *, cbool_t<aligned>) Store to a memory location.
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.