public LongIntSparseMatrix(LongIntSparseMatrix orig) : this(modshogunPINVOKE.new_LongIntSparseMatrix__SWIG_5(LongIntSparseMatrix.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseLongFeatures(LongIntSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseLongFeatures__SWIG_4(LongIntSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_sparse_feature_matrix(LongIntSparseMatrix sm) { modshogunPINVOKE.SparseLongFeatures_set_sparse_feature_matrix(swigCPtr, LongIntSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public LongIntSparseMatrix get_sparse_feature_matrix() { LongIntSparseMatrix ret = new LongIntSparseMatrix(modshogunPINVOKE.SparseLongFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SparseLongFeatures(LongIntSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseLongFeatures__SWIG_4(LongIntSparseMatrix.getCPtr(sparse)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public void set_sparse_feature_matrix(LongIntSparseMatrix sm) { modshogunPINVOKE.SparseLongFeatures_set_sparse_feature_matrix(swigCPtr, LongIntSparseMatrix.getCPtr(sm)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public LongIntSparseMatrix get_sparse_feature_matrix() { LongIntSparseMatrix ret = new LongIntSparseMatrix(modshogunPINVOKE.SparseLongFeatures_get_sparse_feature_matrix(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(LongIntSparseMatrix obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }