public RealSparseMatrix(RealSparseMatrix orig) : this(modshogunPINVOKE.new_RealSparseMatrix__SWIG_5(RealSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseRealFeatures(RealSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseRealFeatures__SWIG_4(RealSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_sparse_feature_matrix(RealSparseMatrix sm) { modshogunPINVOKE.SparseRealFeatures_set_sparse_feature_matrix(swigCPtr, RealSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public RealSparseMatrix get_sparse_feature_matrix() { RealSparseMatrix ret = new RealSparseMatrix(modshogunPINVOKE.SparseRealFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(RealSparseMatrix obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public RealSparseMatrix(RealSparseMatrix orig) : this(modshogunPINVOKE.new_RealSparseMatrix__SWIG_5(RealSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(RealSparseMatrix obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public SparseRealFeatures(RealSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseRealFeatures__SWIG_4(RealSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public void set_sparse_feature_matrix(RealSparseMatrix sm) { modshogunPINVOKE.SparseRealFeatures_set_sparse_feature_matrix(swigCPtr, RealSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public RealSparseMatrix get_sparse_feature_matrix() { RealSparseMatrix ret = new RealSparseMatrix(modshogunPINVOKE.SparseRealFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }