public WordSparseMatrix(WordSparseMatrix orig) : this(modshogunPINVOKE.new_WordSparseMatrix__SWIG_5(WordSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseWordFeatures(WordSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseWordFeatures__SWIG_4(WordSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_sparse_feature_matrix(WordSparseMatrix sm) { modshogunPINVOKE.SparseWordFeatures_set_sparse_feature_matrix(swigCPtr, WordSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public WordSparseMatrix get_sparse_feature_matrix() { WordSparseMatrix ret = new WordSparseMatrix(modshogunPINVOKE.SparseWordFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public WordSparseMatrix(WordSparseMatrix orig) : this(modshogunPINVOKE.new_WordSparseMatrix__SWIG_5(WordSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(WordSparseMatrix obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
internal static HandleRef getCPtr(WordSparseMatrix obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }