Class representation¶
class representation<kfr::shape<dims>> base¶
String representation of a shape , used by as_string and the formatting framework.
| dims | Rank of the shape. |
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<kfr::shape<dims>>::type
Declared at base/shape.hpp:1348
function get(const kfr::shape<dims> &) ¶
Returns the string representation of value.
| value | The shape to format. |
| The string representation. |
Fully qualified name: kfr::representation<kfr::shape<dims>>::get(const kfr::shape<dims> &)
Declared at base/shape.hpp:1352
Fully qualified name: kfr::representation<kfr::shape<dims>>
Declared at base/shape.hpp:1346
Class representation¶
class representation<kfr::univector<T, Tag>> base¶
template <typename T, kfr::univector_tag Tag>
struct representation<kfr::univector<T, Tag>> { … } representation specialization that formats a univector as a string using KFR's built-in array formatting.
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<kfr::univector<T, Tag>>::type
Declared at base/univector.hpp:922
function get(const kfr::univector<T, Tag> &) ¶
Returns a string representation of value.
Fully qualified name: kfr::representation<kfr::univector<T, Tag>>::get(const kfr::univector<T, Tag> &)
Declared at base/univector.hpp:924
Fully qualified name: kfr::representation<kfr::univector<T, Tag>>
Declared at base/univector.hpp:920
Class representation¶
class representation<fmt_t<kfr::univector<T, Tag>, t, width, prec>> base¶
template <char t, int width, int prec, typename T, kfr::univector_tag Tag>
struct representation<fmt_t<kfr::univector<T, Tag>, t, width, prec>> { … } representation specialization that formats a fmt_t-wrapped univector as a string, applying the wrapped format options to each element.
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<fmt_t<kfr::univector<T, Tag>, t, width, prec>>::type
Declared at base/univector.hpp:935
function get(const fmt_t<kfr::univector<T, Tag>, t, width, prec> &) ¶
Returns a string representation of value with per-element formatting.
Fully qualified name: kfr::representation<fmt_t<kfr::univector<T, Tag>, t, width, prec>>::get(const fmt_t<kfr::univector<T, Tag>, t, width, prec> &)
Declared at base/univector.hpp:937
Fully qualified name: kfr::representation<fmt_t<kfr::univector<T, Tag>, t, width, prec>>
Declared at base/univector.hpp:933
Class representation¶
struct representation<kfr::fraction> base¶
String representation specialization for fraction .
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<kfr::fraction>::type
Declared at base/fraction.hpp:169
function get(const kfr::fraction &) ¶
Fully qualified name: kfr::representation<kfr::fraction>::get(const kfr::fraction &)
Declared at base/fraction.hpp:170
Fully qualified name: kfr::representation<kfr::fraction>
Declared at base/fraction.hpp:167
Class representation¶
class representation<kfr::tensor<T, dims>> base¶
Specialization of representation for tensor, providing string conversion.
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<kfr::tensor<T, dims>>::type
Declared at base/tensor.hpp:1365
function get(const kfr::tensor<T, dims> &) ¶
Returns the string representation of value.
Fully qualified name: kfr::representation<kfr::tensor<T, dims>>::get(const kfr::tensor<T, dims> &)
Declared at base/tensor.hpp:1367
Fully qualified name: kfr::representation<kfr::tensor<T, dims>>
Declared at base/tensor.hpp:1363
Class representation¶
class representation<fmt_t<kfr::tensor<T, dims>, t, width, prec>> base¶
template <char t, int width, int prec, typename T, kfr::index_t dims>
struct representation<fmt_t<kfr::tensor<T, dims>, t, width, prec>> { … } Specialization of representation for a formatted tensor, providing formatted string conversion.
typedef type ¶
using type = std::string Fully qualified name: kfr::representation<fmt_t<kfr::tensor<T, dims>, t, width, prec>>::type
Declared at base/tensor.hpp:1374
function get(const fmt_t<kfr::tensor<T, dims>, t, width, prec> &) ¶
Returns the formatted string representation of value.
Fully qualified name: kfr::representation<fmt_t<kfr::tensor<T, dims>, t, width, prec>>::get(const fmt_t<kfr::tensor<T, dims>, t, width, prec> &)
Declared at base/tensor.hpp:1376
Fully qualified name: kfr::representation<fmt_t<kfr::tensor<T, dims>, t, width, prec>>
Declared at base/tensor.hpp:1372
Class representation¶
struct representation<kfr::npy_decode_result> base¶
template <>
struct representation<kfr::npy_decode_result> { … } typedef type ¶
using type = std::string Fully qualified name: kfr::representation<kfr::npy_decode_result>::type
Declared at base/npy.hpp:496
function get(kfr::npy_decode_result) ¶
static std::string get(kfr::npy_decode_result value) Fully qualified name: kfr::representation<kfr::npy_decode_result>::get(kfr::npy_decode_result)
Declared at base/npy.hpp:497
Fully qualified name: kfr::representation<kfr::npy_decode_result>
Declared at base/npy.hpp:494