| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,10 +49,10 @@ Both containers enable the numpy-style APIs of xtensor (see [the numpy to xtenso | |||
| 49 | 49 | ||
| 50 | 50 | ```cpp | |
| 51 | 51 | #include <numeric> // Standard library import for std::accumulate | |
| 52 | - #include "pybind11/pybind11.h" // Pybind11 import to define Python bindings | ||
| 53 | - #include "xtensor/xmath.hpp" // xtensor import for the C++ universal functions | ||
| 52 | + #include <pybind11/pybind11.h> // Pybind11 import to define Python bindings | ||
| 53 | + #include <xtensor/xmath.hpp> // xtensor import for the C++ universal functions | ||
| 54 | 54 | #define FORCE_IMPORT_ARRAY | |
| 55 | - #include "xtensor-python/pyarray.hpp" // Numpy bindings | ||
| 55 | + #include <xtensor-python/pyarray.hpp> // Numpy bindings | ||
| 56 | 56 | ||
| 57 | 57 | double sum_of_sines(xt::pyarray<double>& m) | |
| 58 | 58 | { | |
@@ -91,9 +91,9 @@ s | |||
| 91 | 91 | **C++ code** | |
| 92 | 92 | ||
| 93 | 93 | ```cpp | |
| 94 | - #include "pybind11/pybind11.h" | ||
| 94 | + #include <pybind11/pybind11.h> | ||
| 95 | 95 | #define FORCE_IMPORT_ARRAY | |
| 96 | - #include "xtensor-python/pyvectorize.hpp" | ||
| 96 | + #include <xtensor-python/pyvectorize.hpp> | ||
| 97 | 97 | #include <numeric> | |
| 98 | 98 | #include <cmath> | |
| 99 | 99 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments