Go to the documentation of this file.
26 static constexpr
const char value[3] = {
'Z',
c,
'\0'};
30 #ifndef PYBIND11_CPP17
43 static constexpr
bool value =
true;
57 Py_complex
result = PyComplex_AsCComplex(src.
ptr());
58 if (
result.real == -1.0 && PyErr_Occurred()) {
68 return PyComplex_FromDoubles((
double) src.real(), (
double) src.imag());
constexpr descr< N - 1 > const_name(char const (&text)[N])
return_value_policy
Approach used to cast a previously unknown C++ instance into a Python object.
#define PYBIND11_NAMESPACE_END(name)
#define PYBIND11_NAMESPACE_BEGIN(name)
static constexpr bool value
#define PYBIND11_TYPE_CASTER(type, py_name)
PyObject * ptr() const
Return the underlying PyObject * pointer.
static handle cast(const std::complex< T > &src, return_value_policy, handle)
static BinaryMeasurement< Rot3 > convert(const BetweenFactor< Pose3 >::shared_ptr &f)
typename std::enable_if< B, T >::type enable_if_t
from cpp_future import (convenient aliases from C++14/17)
bool load(handle src, bool convert)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:00