1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-23 04:44:03 +01:00

Add typemaps for the qmckl_dgemm_safe

This commit is contained in:
q-posev 2022-08-22 12:06:06 +02:00
parent e05b589e79
commit 5a638d4697

View File

@ -51,6 +51,11 @@ import_array();
/* Include typemaps generated by the process_header.py script */ /* Include typemaps generated by the process_header.py script */
%include "qmckl_include.i" %include "qmckl_include.i"
/* Some custom array typemaps which are not generated by process_header.py */
%apply ( double* IN_ARRAY1 , int64_t DIM1 ) { ( const double * A, const int64_t size_max_A) };
%apply ( double* IN_ARRAY1 , int64_t DIM1 ) { ( const double * B, const int64_t size_max_B) };
%apply ( double* ARGOUT_ARRAY1 , int64_t DIM1 ) { ( double* const C, const int64_t size_max_C) };
/* Handle properly get_point */ /* Handle properly get_point */