SNAP Library 4.0, User Reference  2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
numpy.h
Go to the documentation of this file.
1 #ifndef NUMPY_H
2 #define NUMPY_H
3 
4 namespace TSnap {
6  void TIntVToNumpy(TIntV& IntV, int* IntNumpyVecOut, int n);
8  void TFltVToNumpy(TFltV& FltV, float* FltNumpyVecOut, int n);
10  void NumpyToTIntV(TIntV& IntV, int* IntNumpyVecIn, int n);
12  void NumpyToTFltV(TFltV& FltV, float* FltNumpyVecIn, int n);
13 }
14 
15 #endif //NUMPY_H
void NumpyToTIntV(TIntV &IntV, int *IntNumpyVecIn, int n)
Converts NumpyArray to TIntV.
Definition: numpy.cpp:25
void TFltVToNumpy(TFltV &FltV, float *FltNumpyVecOut, int n)
Converts TFltV to Numpy array.
Definition: numpy.cpp:15
void NumpyToTFltV(TFltV &FltV, float *FltNumpyVecIn, int n)
Converts NumpyArray to TFltV.
Definition: numpy.cpp:33
void TIntVToNumpy(TIntV &IntV, int *IntNumpyVecOut, int n)
Converts TIntV to Numpy array.
Definition: numpy.cpp:4