Class vec_shape¶
class vec_shape<T, N> simd¶
template <typename T, size_t N>
struct vec_shape { … } Describes the shape of a SIMD vector of N elements of type T.
Provides the element type, the element count and the total scalar count, accounting for compound element types.
| T | Element type. |
| N | Number of elements. |
typedef value_type ¶
using value_type = T The element type stored in the vector.
Fully qualified name: kfr::vec_shape<T, N>::value_type
Declared at simd/types.hpp:741
function size() ¶
constexpr static size_t size() noexcept { … } Number of elements in the vector.
Fully qualified name: kfr::vec_shape<T, N>::size()
Declared at simd/types.hpp:743
constructor vec_shape<T, N>() ¶
constexpr vec_shape() noexcept = default Default constructor.
Fully qualified name: kfr::vec_shape<T, N>::vec_shape<T, N>()
Declared at simd/types.hpp:745
typedef scalar_type ¶
using scalar_type = subtype<T> Scalar component type of the element.
Fully qualified name: kfr::vec_shape<T, N>::scalar_type
Declared at simd/types.hpp:748
function scalar_size() ¶
constexpr static size_t scalar_size() noexcept { … } Total number of scalar components, including compound element widths.
Fully qualified name: kfr::vec_shape<T, N>::scalar_size()
Declared at simd/types.hpp:750
Fully qualified name: kfr::vec_shape<T, N>
Declared at simd/types.hpp:738