pybind11/include/pybind11
Jason Rhinelander 17d0283eca Eigen<->numpy referencing support
This commit largely rewrites the Eigen dense matrix support to avoid
copying in many cases: Eigen arguments can now reference numpy data, and
numpy objects can now reference Eigen data (given compatible types).

Eigen::Ref<...> arguments now also make use of the new `convert`
argument use (added in PR #634) to avoid conversion, allowing
`py::arg().noconvert()` to be used when binding a function to prohibit
copying when invoking the function.  Respecting `convert` also means
Eigen overloads that avoid copying will be preferred during overload
resolution to ones that require copying.

This commit also rewrites the Eigen documentation and test suite to
explain and test the new capabilities.
2017-02-24 23:19:50 +01:00
..
attr.h Enable static properties (py::metaclass) by default 2017-02-23 15:45:26 +01:00
cast.h Add an ability to avoid forcing rvp::move 2017-02-24 23:19:50 +01:00
chrono.h Simplify redundant code, conform to style suggestions, improve logic 2016-09-28 01:01:44 +10:00
class_support.h Enable static properties (py::metaclass) by default 2017-02-23 15:45:26 +01:00
common.h Make is_template_base_of ignore cv qualification 2017-02-24 23:19:50 +01:00
complex.h Made arithmetic and complex casters respect convert 2017-02-03 20:16:14 -05:00
descr.h std::valarray support for stl.h (#545) 2016-12-08 00:43:29 +01:00
eigen.h Eigen<->numpy referencing support 2017-02-24 23:19:50 +01:00
eval.h WIP: PyPy support (#527) 2016-12-16 15:00:46 +01:00
functional.h Fixed compilation error when binding function accepting some forms of std::function (#689) 2017-02-22 20:00:59 +01:00
numpy.h Change array's writeable exception to a ValueError 2017-02-24 23:19:50 +01:00
operators.h Multiple inheritance support 2016-09-19 13:45:31 +02:00
options.h Provide more control over automatic generation of docstrings (#486) 2016-11-15 12:38:05 +01:00
pybind11.h Add an ability to avoid forcing rvp::move 2017-02-24 23:19:50 +01:00
pytypes.h Fix sequence_item reference leak (#660) 2017-02-14 01:43:20 +01:00
stl_bind.h Change all_of_t/any_of_t to all_of/any_of, add none_of 2016-12-14 20:42:36 +01:00
stl.h WIP: PyPy support (#527) 2016-12-16 15:00:46 +01:00
typeid.h minor cleanups in common.h; updated author info and copyright year 2016-04-18 10:53:38 +02:00