I’m working on writing a wrapper for an existing sparse linear algebra library using CxxWrap.jl, and one of the functions takes a SuiteSparse (under a different name, but identical by design memory layout) sparse matrix as an argument. Is it possible to declare using CxxWrap that this function should be passed the corresponding Ptr{SuiteSparse.CHOLMOD.C_Sparse{Float64}} argument, or will I need to have it take a void* and then wrap the wrapper?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Transfer a Sparse Matrix to a C Function | 13 | 1116 | September 11, 2021 | |
| @cfunction with CxxWrap arguments | 1 | 64 | December 5, 2024 | |
| Wraping a MKL handle in julia | 16 | 1720 | October 18, 2020 | |
| Ccall with a C struct containing a pointer | 8 | 378 | December 27, 2024 | |
| CxxWrap tutorial - matrix input and output args | 2 | 339 | January 23, 2023 |