Exemple #1
0
 public LongIntSparseVector(SWIGTYPE_p_shogun__SGSparseVectorEntryT_long_long_t feats, int num_entries, int index) : this(modshogunPINVOKE.new_LongIntSparseVector__SWIG_2(SWIGTYPE_p_shogun__SGSparseVectorEntryT_long_long_t.getCPtr(feats), num_entries, index), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGSparseVectorEntryT_long_long_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public LongIntSparseVector(SWIGTYPE_p_shogun__SGSparseVectorEntryT_long_long_t feats, int num_entries, int index) : this(modshogunPINVOKE.new_LongIntSparseVector__SWIG_2(SWIGTYPE_p_shogun__SGSparseVectorEntryT_long_long_t.getCPtr(feats), num_entries, index), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }