public WordSparseVector(SWIGTYPE_p_shogun__SGSparseVectorEntryT_unsigned_short_t feats, int num_entries, int index) : this(modshogunPINVOKE.new_WordSparseVector__SWIG_2(SWIGTYPE_p_shogun__SGSparseVectorEntryT_unsigned_short_t.getCPtr(feats), num_entries, index), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGSparseVectorEntryT_unsigned_short_t obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public WordSparseVector(SWIGTYPE_p_shogun__SGSparseVectorEntryT_unsigned_short_t feats, int num_entries, int index) : this(modshogunPINVOKE.new_WordSparseVector__SWIG_2(SWIGTYPE_p_shogun__SGSparseVectorEntryT_unsigned_short_t.getCPtr(feats), num_entries, index), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGSparseVectorEntryT_unsigned_short_t obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }