public SparseIntFeatures(SparseIntFeatures orig) : this(modshogunPINVOKE.new_SparseIntFeatures__SWIG_6(SparseIntFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseIntFeatures get_transposed() { IntPtr cPtr = modshogunPINVOKE.SparseIntFeatures_get_transposed(swigCPtr); SparseIntFeatures ret = (cPtr == IntPtr.Zero) ? null : new SparseIntFeatures(cPtr, true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(SparseIntFeatures obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }