public IntSparseMatrix(IntSparseMatrix orig) : this(modshogunPINVOKE.new_IntSparseMatrix__SWIG_5(IntSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseIntFeatures(IntSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseIntFeatures__SWIG_4(IntSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_sparse_feature_matrix(IntSparseMatrix sm) { modshogunPINVOKE.SparseIntFeatures_set_sparse_feature_matrix(swigCPtr, IntSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public IntSparseMatrix get_sparse_feature_matrix() { IntSparseMatrix ret = new IntSparseMatrix(modshogunPINVOKE.SparseIntFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public IntSparseMatrix(IntSparseMatrix orig) : this(modshogunPINVOKE.new_IntSparseMatrix__SWIG_5(IntSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(IntSparseMatrix obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
internal static HandleRef getCPtr(IntSparseMatrix obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }