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