Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds an python interface function for hess_pat #99

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

stephenjmaher
Copy link

This pull request extends the SWIG interface for python to include the hess_pat method. In addition, a test method is added to the examples directory.

While I tried to match the same style as the other interface methods, I had difficulty, given that the size of the sparsity pattern matrix is not known from the outset. As such, the return for hess_pat is different from the C++ interface, in that there are start and index arrays for the row compressed format.

@CLAassistant
Copy link

CLAassistant commented Feb 18, 2025

CLA assistant check
All committers have signed the CLA.

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