Skip to content

Class representation

class representation<kfr::shape<dims>> base

template <kfr::index_t dims>
struct representation<kfr::shape<dims>> { … }

String representation of a shape , used by as_string and the formatting framework.

Template parameters
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> &)

static std::string get(const kfr::shape<dims>& value)

Returns the string representation of value.

Parameters
value The shape to format.
Returns
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

function get(const kfr::univector<T, Tag> &)

static std::string get(const kfr::univector<T, Tag>& value)

Returns a string representation of value.

Fully qualified name: kfr::representation<kfr::univector<T, Tag>>::get(const kfr::univector<T, Tag> &)

Fully qualified name: kfr::representation<kfr::univector<T, Tag>>

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

function get(const fmt_t<kfr::univector<T, Tag>, t, width, prec> &)

static std::string get(const fmt_t<kfr::univector<T, Tag>, t, width, prec>& value)

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> &)

Fully qualified name: kfr::representation<fmt_t<kfr::univector<T, Tag>, t, width, prec>>

Class representation

struct representation<kfr::fraction> base

template <>
struct representation<kfr::fraction> { … }

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 &)

static std::string get(const kfr::fraction& value)

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

template <typename T, kfr::index_t dims>
struct representation<kfr::tensor<T, dims>> { … }

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> &)

static std::string get(const kfr::tensor<T, dims>& value)

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> &)

static std::string get(const fmt_t<kfr::tensor<T, dims>, t, width, prec>& value)

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

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.