Exemple #1
0
 public StreamingFileFromSparseRealFeatures(SWIGTYPE_p_CSparseFeaturesT_double_t feat, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingFileFromSparseRealFeatures__SWIG_2(SWIGTYPE_p_CSparseFeaturesT_double_t.getCPtr(feat), SWIGTYPE_p_double.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 internal static HandleRef getCPtr(SWIGTYPE_p_CSparseFeaturesT_double_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_CSparseFeaturesT_double_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }