Function render¶
function render(Expr &&) base¶
template <typename Expr, typename T = expression_value_type<Expr>>
KFR_INTRINSIC univector<T> render(Expr&& expr) Converts an expression to a dynamically sized univector.
The expression must be one-dimensional and finite; the result is resized to the expression's shape and filled with its elements.
| Expr | Type of the expression. |
| T | Element type of the result (deduced from Expr). |
| expr | Expression to render. |
A univector holding the evaluated expression. |
Fully qualified name: kfr::render(Expr &&)
Declared at base/univector.hpp:872
Function render¶
function render(Expr &&, size_t, size_t) base¶
template <typename Expr, typename T = expression_value_type<Expr>>
KFR_INTRINSIC univector<T> render(Expr&& expr, size_t size, size_t offset = 0) Converts a slice of an expression to a dynamically sized univector of the given size.
| Expr | Type of the expression. |
| T | Element type of the result (deduced from Expr). |
| expr | Expression to render. |
| size | Number of elements to render. |
| offset | Index of the first element to render. |
A univector holding the evaluated slice. |
Fully qualified name: kfr::render(Expr &&, size_t, size_t)
Declared at base/univector.hpp:891
Function render¶
function render(Expr &&, csize_t<Size>) base¶
template <typename Expr, size_t Size, typename T = expression_value_type<Expr>>
KFR_INTRINSIC univector<T, Size> render(Expr&& expr, csize_t<Size>) Converts an expression to a fixed-size univector.
| Expr | Type of the expression. |
| Size | Compile-time size of the result. |
| T | Element type of the result (deduced from Expr). |
| expr | Expression to render. |
A univector<T, Size> holding the evaluated expression. |
Fully qualified name: kfr::render(Expr &&, csize_t<Size>)
Declared at base/univector.hpp:906
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.