"vscode:/vscode.git/clone" did not exist on "4a50fa5cd48f55bb7be108c690caf41dea466442"
  1. 04 Aug, 2016 1 commit
    • Jason Rhinelander's avatar
      Eigen support for special matrix objects · 9ffb3dda
      Jason Rhinelander authored
      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.
      9ffb3dda
  2. 01 Aug, 2016 1 commit
  3. 19 Jul, 2016 1 commit
  4. 18 Jul, 2016 2 commits
  5. 11 Jul, 2016 1 commit
  6. 10 Jul, 2016 1 commit
  7. 08 Jul, 2016 2 commits
  8. 30 Jun, 2016 2 commits
  9. 28 Jun, 2016 1 commit
  10. 22 Jun, 2016 2 commits
  11. 16 Jun, 2016 1 commit
  12. 03 Jun, 2016 3 commits
  13. 26 May, 2016 1 commit
    • Wenzel Jakob's avatar
      Redesigned virtual call mechanism and user-facing syntax (breaking change!) · 86d825f3
      Wenzel Jakob authored
      Sergey Lyskov pointed out that the trampoline mechanism used to override
      virtual methods from within Python caused unnecessary overheads when
      instantiating the original (i.e. non-extended) class.
      
      This commit removes this inefficiency, but some syntax changes were
      needed to achieve this. Projects using this features will need to make a
      few changes:
      
      In particular, the example below shows the old syntax to instantiate a
      class with a trampoline:
      
      class_<TrampolineClass>("MyClass")
          .alias<MyClass>()
          ....
      
      This is what should be used now:
      
      class_<MyClass, std::unique_ptr<MyClass, TrampolineClass>("MyClass")
          ....
      
      Importantly, the trampoline class is now specified as the *third*
      argument to the class_ template, and the alias<..>() call is gone. The
      second argument with the unique pointer is simply the default holder
      type used by pybind11.
      86d825f3
  14. 24 May, 2016 1 commit
  15. 21 May, 2016 1 commit
  16. 19 May, 2016 2 commits
  17. 15 May, 2016 2 commits
  18. 05 May, 2016 3 commits
  19. 04 May, 2016 1 commit
    • Wenzel Jakob's avatar
      redesigned format_descriptor<> and npy_format_descriptor<> · 876eeab4
      Wenzel Jakob authored
      This somewhat heavyweight solution will avoid size_t/long long/long/int
      mismatches on various platforms once and for all. The previous template
      overloads could e.g. not handle size_t on Darwin.
      
      One gotcha: the 'format_descriptor<T>::value()' syntax changed to just
      'format_descriptor<T>::value'
      876eeab4
  20. 01 May, 2016 1 commit
  21. 30 Apr, 2016 1 commit
  22. 28 Apr, 2016 2 commits
  23. 26 Apr, 2016 1 commit
  24. 25 Apr, 2016 1 commit
  25. 22 Apr, 2016 1 commit
  26. 14 Apr, 2016 1 commit
  27. 13 Apr, 2016 3 commits