SNAP Library 6.0, User Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
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
Main namespace for all the Snap global entities.
Definition: alg.h:1
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