pybind11/example
Jason Rhinelander 9ffb3dda5f Eigen support for special matrix objects
Functions returning specialized Eigen matrices like Eigen::DiagonalMatrix and
Eigen::SelfAdjointView--which inherit from EigenBase but not
DenseBase--isn't currently allowed; such classes are explicitly copyable
into a Matrix (by definition), and so we can support functions that
return them by copying the value into a Matrix then casting that
resulting dense Matrix into a numpy.ndarray.  This commit does exactly
that.
2016-08-04 15:24:41 -04:00
..
CMakeLists.txt Improve CI test coverage: eigen, numpy and C++14 2016-07-30 17:18:33 +02:00
eigen.cpp Eigen support for special matrix objects 2016-08-04 15:24:41 -04:00
eigen.py Eigen support for special matrix objects 2016-08-04 15:24:41 -04:00
eigen.ref Eigen support for special matrix objects 2016-08-04 15:24:41 -04:00
example-arg-keywords-and-defaults.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-arg-keywords-and-defaults.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-arg-keywords-and-defaults.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-buffers.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-buffers.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-buffers.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-callbacks.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-callbacks.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-callbacks.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-constants-and-functions.cpp Fix scoped enums and add scoped enum example 2016-08-04 00:01:39 -04:00
example-constants-and-functions.py Only support ==/!= int on unscoped enums 2016-08-04 00:21:37 -04:00
example-constants-and-functions.ref Only support ==/!= int on unscoped enums 2016-08-04 00:21:37 -04:00
example-custom-exceptions.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-custom-exceptions.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-custom-exceptions.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-eval_call.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-eval.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-eval.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-eval.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-inheritance.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-inheritance.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-inheritance.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-keep-alive.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-keep-alive.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-keep-alive.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-methods-and-attributes.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-methods-and-attributes.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-methods-and-attributes.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-modules.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-modules.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-modules.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-numpy-vectorize.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-numpy-vectorize.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-numpy-vectorize.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-opaque-types.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-opaque-types.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-opaque-types.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-operator-overloading.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-operator-overloading.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-operator-overloading.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-pickling.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-pickling.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-pickling.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-python-types.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-python-types.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-python-types.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-sequences-and-iterators.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-sequences-and-iterators.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-sequences-and-iterators.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-smart-ptr.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-smart-ptr.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-smart-ptr.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-stl-binder-vector.cpp minor namespace change in example 2016-07-19 17:35:09 +02:00
example-stl-binder-vector.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-stl-binder-vector.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-virtual-functions.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-virtual-functions.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example-virtual-functions.ref Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example.cpp Rename examples files, as per #288 2016-07-18 16:43:18 -04:00
example.h last breaking change: be consistent about the project name 2015-10-15 18:23:56 +02:00
issues.cpp Fix #283: don't print first arg of constructor 2016-07-17 17:47:05 -04:00
issues.py Fix #283: don't print first arg of constructor 2016-07-17 17:47:05 -04:00
issues.ref Fix #283: don't print first arg of constructor 2016-07-17 17:47:05 -04:00
object.h Initial commit 2015-07-09 15:27:32 +02:00
run_test.py Rename examples files, as per #288 2016-07-18 16:43:18 -04:00