public SparseBoolFeatures(BoolSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseBoolFeatures__SWIG_4(BoolSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public BoolSparseMatrix(BoolSparseMatrix orig) : this(modshogunPINVOKE.new_BoolSparseMatrix__SWIG_5(BoolSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_sparse_feature_matrix(BoolSparseMatrix sm) { modshogunPINVOKE.SparseBoolFeatures_set_sparse_feature_matrix(swigCPtr, BoolSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public BoolSparseMatrix get_sparse_feature_matrix() { BoolSparseMatrix ret = new BoolSparseMatrix(modshogunPINVOKE.SparseBoolFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public BoolSparseMatrix(BoolSparseMatrix orig) : this(modshogunPINVOKE.new_BoolSparseMatrix__SWIG_5(BoolSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(BoolSparseMatrix obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public SparseBoolFeatures(BoolSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseBoolFeatures__SWIG_4(BoolSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public void set_sparse_feature_matrix(BoolSparseMatrix sm) { modshogunPINVOKE.SparseBoolFeatures_set_sparse_feature_matrix(swigCPtr, BoolSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public BoolSparseMatrix get_sparse_feature_matrix() { BoolSparseMatrix ret = new BoolSparseMatrix(modshogunPINVOKE.SparseBoolFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(BoolSparseMatrix obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }