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