Beispiel #1
0
 static bool numpy_interface_descr_new_from_wrapper(object _base, NpyArray_Descr descr, ref object interfaceRet)
 {
     return(true);
 }
Beispiel #2
0
 static bool numpy_interface_descr_new_from_type(int type, NpyArray_Descr descr, ref object interfaceRet)
 {
     return(true);
 }
Beispiel #3
0
 /// <summary>
 /// Constructs a new NpyArray_Descr objet matching the passed one.
 /// Equivalent to NpyAray_DescrNew.
 /// </summary>
 /// <param name="d">Descriptor to duplicate</param>
 internal dtype(dtype d)
 {
     core  = numpyAPI.NpyArray_DescrNew(d.core);
     funcs = core.f;
 }
Beispiel #4
0
 /// <summary>
 /// Creates a wrapper for an array created on the native side, such as
 /// the result of a slice operation.
 /// </summary>
 /// <param name="d">Pointer to core NpyArray_Descr structure</param>
 internal dtype(NpyArray_Descr d)
 {
     core  = d;
     funcs = d.f;
 }
Beispiel #5
0
 /// <summary>
 /// Creates a wrapper for an array created on the native side, such as
 /// the result of a slice operation.
 /// </summary>
 /// <param name="d">Pointer to core NpyArray_Descr structure</param>
 internal dtype(NpyArray_Descr d, int type)
 {
     core  = d;
     funcs = core.f;
 }