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