public CharSparseMatrix(CharSparseMatrix orig) : this(modshogunPINVOKE.new_CharSparseMatrix__SWIG_5(CharSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseCharFeatures(CharSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseCharFeatures__SWIG_4(CharSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_sparse_feature_matrix(CharSparseMatrix sm) { modshogunPINVOKE.SparseCharFeatures_set_sparse_feature_matrix(swigCPtr, CharSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public CharSparseMatrix get_sparse_feature_matrix() { CharSparseMatrix ret = new CharSparseMatrix(modshogunPINVOKE.SparseCharFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(CharSparseMatrix obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public CharSparseMatrix(CharSparseMatrix orig) : this(modshogunPINVOKE.new_CharSparseMatrix__SWIG_5(CharSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(CharSparseMatrix obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public SparseCharFeatures(CharSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseCharFeatures__SWIG_4(CharSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public void set_sparse_feature_matrix(CharSparseMatrix sm) { modshogunPINVOKE.SparseCharFeatures_set_sparse_feature_matrix(swigCPtr, CharSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public CharSparseMatrix get_sparse_feature_matrix() { CharSparseMatrix ret = new CharSparseMatrix(modshogunPINVOKE.SparseCharFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }