Skip to content

Commit 8292605

Browse files
committed
Add README
1 parent bf4a7bd commit 8292605

File tree

1 file changed

+17
-0
lines changed
  • source-code/interfaciing-c-c++-fortran/Pybind11/Stats

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Statistics
2+
3+
Illustration of how to use numpy arrays in pybind11.
4+
5+
6+
## What is it?
7+
8+
1. `src/statistics/statistics.h`: declaration of a (simple) statistics
9+
analysis class.
10+
1. `src/statistics/statistics.cpp`: definition of class methods.
11+
1. `src/statistics/CMakeLists.txt`: CMake file to build a shared object.
12+
1. `src/bindings/statistics_bind.cpp`: definition of the pybind11
13+
wrapper code.
14+
1. `src/bindings/CMakeLists.txt`: CMake file to build the shared object
15+
that provides the Python module.
16+
1. `CMakeLists.txt`: CMake file to build the extension.
17+
1. `test.py`: Python scripts that uses the module.

0 commit comments

Comments
 (0)