29 May
2007
29 May
'07
9:44 a.m.
Hi, I have a C library using "long double" numbers. With SWIG, I am able to use this library in Python. I use the PyArray_FromDims function in the SWIG "interface" file. But sometimes, I only need one long double : it's not very convenient to create an array for only one number... In Python there is "numpy.longdouble". Did you know how to create this object in C in the SWIG "interface" file ? (maybe the PyLongDoubleScalarObject structure ?) Thank you Charles
6170
Age (days ago)
6170
Last active (days ago)
0 comments
1 participants
participants (1)
-
Charles V.