Esempio n. 1
0
 public CharSparseVector(SWIGTYPE_p_shogun__SGSparseVectorEntryT_char_t feats, int num_entries, int index) : this(modshogunPINVOKE.new_CharSparseVector__SWIG_2(SWIGTYPE_p_shogun__SGSparseVectorEntryT_char_t.getCPtr(feats), num_entries, index), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGSparseVectorEntryT_char_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 3
0
 public CharSparseVector(SWIGTYPE_p_shogun__SGSparseVectorEntryT_char_t feats, int num_entries, int index) : this(modshogunPINVOKE.new_CharSparseVector__SWIG_2(SWIGTYPE_p_shogun__SGSparseVectorEntryT_char_t.getCPtr(feats), num_entries, index), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }