Skip to content

Commit

Permalink
Merge 9e00e52 into 5c988b0
Browse files Browse the repository at this point in the history
  • Loading branch information
fghoussen committed Mar 3, 2020
2 parents 5c988b0 + 9e00e52 commit 60d7b9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions EXAMPLES/PYARPACK/README
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ You can also:
Note:

1. arpack data type (float, double, ...) must be consistent with A/B numpy dtypes (float32, float64, ...).
at python side, the data MUST be casted in the EXACT expected type (int32, int64, float, double, ...).
otherwise, C++ may not get the data the way it expects them: C++ will not know how to read python data.
if you are not sure how data have been passed from python to C++, set arpackSlv.debug = 1 and check out debug traces.
2. sparse matrices must be provided in coo format (n, i, j, Mij), that is, as a tuple where:
2.1. n is an integer.
2.2. i, j, Mij are 1 x nnz numpy arrays.
Expand Down

0 comments on commit 60d7b9d

Please sign in to comment.