Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
8908552d
Commit
8908552d
authored
Apr 27, 2020
by
Guilherme Dantas
Committed by
Wenzel Jakob
Jul 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
d031efe7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
docs/advanced/pycpp/numpy.rst
+1
-1
No files found.
docs/advanced/pycpp/numpy.rst
View file @
8908552d
...
@@ -67,7 +67,7 @@ specification.
...
@@ -67,7 +67,7 @@ specification.
To create a C++ function that can take a Python buffer object as an argument,
To create a C++ function that can take a Python buffer object as an argument,
simply use the type ``py::buffer`` as one of its arguments. Buffers can exist
simply use the type ``py::buffer`` as one of its arguments. Buffers can exist
in a great variety of configurations, hence some safety checks are usually
in a great variety of configurations, hence some safety checks are usually
necessary in the function body. Below, you can see a
n
basic example on how to
necessary in the function body. Below, you can see a basic example on how to
define a custom constructor for the Eigen double precision matrix
define a custom constructor for the Eigen double precision matrix
(``Eigen::MatrixXd``) type, which supports initialization from compatible
(``Eigen::MatrixXd``) type, which supports initialization from compatible
buffer objects (e.g. a NumPy matrix).
buffer objects (e.g. a NumPy matrix).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment