Skip to content

Return PM.matrix native results as NumPy arrays - #30

Merged
OVVO-Financial merged 2 commits into
mainfrom
fix-pm-matrix-ndarray-bindings
Jun 14, 2026
Merged

Return PM.matrix native results as NumPy arrays#30
OVVO-Financial merged 2 commits into
mainfrom
fix-pm-matrix-ndarray-bindings

Conversation

@gitRasheed

Copy link
Copy Markdown
Collaborator

Fixes PM.matrix native Python output performance.

The C++ binding was returning std::vector<double> results, which nanobind converted to Python lists before the wrapper converted them back to NumPy arrays. This now exposes the native PM.matrix matrices as NumPy arrays directly, while keeping the public API and numeric results unchanged.

@OVVO-Financial
OVVO-Financial merged commit c6fc70a into main Jun 14, 2026
4 checks passed
@gitRasheed
gitRasheed deleted the fix-pm-matrix-ndarray-bindings branch June 14, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants