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