예제 #1
0
 internal static void NpyArrayAccess_DescrReplaceFields(NpyArray_Descr descr, List <string> nameslist, NpyDict fields)
 {
     numpyinternal.NpyArrayAccess_DescrReplaceFields(descr, nameslist, fields);
 }
예제 #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));
 }
예제 #3
0
 internal static void NpyDict_Destroy(NpyDict hashTable)
 {
     numpyinternal.NpyDict_Destroy(hashTable);
 }
예제 #4
0
 internal static bool NpyArrayAccess_DictNext(NpyDict dict, NpyDict_Iter iter, NpyDict_KVPair KVPair)
 {
     return(numpyinternal.NpyArrayAccess_DictNext(dict, iter, KVPair));
 }
예제 #5
0
 internal static long NpyDict_Size(NpyDict hashTable)
 {
     return(hashTable.numOfElements);
 }
예제 #6
0
 internal static NpyDict NpyArray_DescrFieldsCopy(NpyDict fields)
 {
     return(NpyDict_Copy(fields));
 }
예제 #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;
        }
예제 #8
0
 public static NpyDict NpyArray_DescrFieldsCopy(NpyDict fields)
 {
     return(numpyinternal.NpyArray_DescrFieldsCopy(fields));
 }
예제 #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);
 }