public SparseByteFeatures(ByteSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseByteFeatures__SWIG_4(ByteSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ByteSparseMatrix(ByteSparseMatrix orig) : this(modshogunPINVOKE.new_ByteSparseMatrix__SWIG_5(ByteSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_sparse_feature_matrix(ByteSparseMatrix sm) { modshogunPINVOKE.SparseByteFeatures_set_sparse_feature_matrix(swigCPtr, ByteSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ByteSparseMatrix get_sparse_feature_matrix() { ByteSparseMatrix ret = new ByteSparseMatrix(modshogunPINVOKE.SparseByteFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ByteSparseMatrix(ByteSparseMatrix orig) : this(modshogunPINVOKE.new_ByteSparseMatrix__SWIG_5(ByteSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(ByteSparseMatrix obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public SparseByteFeatures(ByteSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseByteFeatures__SWIG_4(ByteSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public void set_sparse_feature_matrix(ByteSparseMatrix sm) { modshogunPINVOKE.SparseByteFeatures_set_sparse_feature_matrix(swigCPtr, ByteSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public ByteSparseMatrix get_sparse_feature_matrix() { ByteSparseMatrix ret = new ByteSparseMatrix(modshogunPINVOKE.SparseByteFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(ByteSparseMatrix obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }