NVIDIA Holoscan SDK v2.2.0
Holoscan v2.2.0

Template Struct convert< std::complex< typeT > >

template<typename typeT>
struct convert<std::complex<typeT>>

Custom YAML parser for std::complex types

Handles parsing of strings containing a complex floating point value.

Examples of valid strings are: “1.0 + 2.5j” “-1.0 - 3i” “1+3.3j”

There may be 0 or 1 space between a + or - sign and the digits. Either “i” or “j” must appear immediately after the second number.

Public Static Functions

static inline Node encode(const std::complex<typeT> &data)
static inline bool decode(const Node &node, std::complex<typeT> &data)

Previous Template Struct convert< NTV2Channel >
Next Class HealthImpl
© Copyright 2022-2023, NVIDIA. Last updated on Aug 2, 2024.