Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wrap
pybind11
tests
test_cmake_build
wrap/pybind11/tests/test_cmake_build/main.cpp
Go to the documentation of this file.
1
#include <
pybind11/pybind11.h
>
2
namespace
py
=
pybind11
;
3
4
PYBIND11_MODULE
(test_cmake_build,
m
) {
5
m
.def(
"add"
, [](
int
i
,
int
j
) {
return
i +
j
; });
6
}
m
Matrix3f m
Definition:
AngleAxis_mimic_euler.cpp:1
pybind11
Definition:
wrap/pybind11/pybind11/__init__.py:1
pybind11.h
PYBIND11_MODULE
PYBIND11_MODULE(test_cmake_build, m)
Definition:
wrap/pybind11/tests/test_cmake_build/main.cpp:4
i
int i
Definition:
BiCGSTAB_step_by_step.cpp:9
j
std::ptrdiff_t j
Definition:
tut_arithmetic_redux_minmax.cpp:2
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:35