Example #1
0
 internal static void NpyArrayAccess_DescrReplaceFields(NpyArray_Descr descr, List <string> nameslist, NpyDict fields)
 {
     numpyinternal.NpyArrayAccess_DescrReplaceFields(descr, nameslist, fields);
 }
Example #2
0
 internal static int NpyArrayAccess_AddField(NpyDict fields, List <string> names, int i, string name, NpyArray_Descr fieldType, int offset, string title)
 {
     return(numpyinternal.NpyArrayAccess_AddField(fields, names, i, name, fieldType, offset, title));
 }
Example #3
0
 internal static void NpyDict_Destroy(NpyDict hashTable)
 {
     numpyinternal.NpyDict_Destroy(hashTable);
 }
Example #4
0
 internal static bool NpyArrayAccess_DictNext(NpyDict dict, NpyDict_Iter iter, NpyDict_KVPair KVPair)
 {
     return(numpyinternal.NpyArrayAccess_DictNext(dict, iter, KVPair));
 }
Example #5
0
 internal static long NpyDict_Size(NpyDict hashTable)
 {
     return(hashTable.numOfElements);
 }
Example #6
0
 internal static NpyDict NpyArray_DescrFieldsCopy(NpyDict fields)
 {
     return(NpyDict_Copy(fields));
 }
Example #7
0
        internal static void NpyArrayAccess_DescrReplaceFields(NpyArray_Descr descr, List <string> nameslist, NpyDict fields)
        {
            Debug.Assert(Validate(descr));

            if (null != descr.names)
            {
                NpyArray_DescrDeallocNamesAndFields(descr);
            }
            descr.names  = nameslist;
            descr.fields = fields;
        }
Example #8
0
 public static NpyDict NpyArray_DescrFieldsCopy(NpyDict fields)
 {
     return(numpyinternal.NpyArray_DescrFieldsCopy(fields));
 }
Example #9
0
 public static void NpyArray_DescrSetField(NpyDict self, string key, NpyArray_Descr descr, int offset, string title)
 {
     numpyinternal.NpyArray_DescrSetField(self, key, descr, offset, title);
 }