public virtual void set_sparse_matrix(IntSparseVector matrix, int num_feat, int num_vec) { modshogunPINVOKE.File_set_sparse_matrix__SWIG_3(swigCPtr, IntSparseVector.getCPtr(matrix), num_feat, num_vec); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public override void get_sparse_matrix(IntSparseVector matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec) { modshogunPINVOKE.BinaryFile_get_sparse_matrix__SWIG_3(swigCPtr, IntSparseVector.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public IntSparseMatrix(IntSparseVector vecs, int num_feat, int num_vec) : this(modshogunPINVOKE.new_IntSparseMatrix__SWIG_2(IntSparseVector.getCPtr(vecs), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public IntSparseVector(IntSparseVector orig) : this(modshogunPINVOKE.new_IntSparseVector__SWIG_5(IntSparseVector.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseIntFeatures(IntSparseVector src, int num_feat, int num_vec) : this(modshogunPINVOKE.new_SparseIntFeatures__SWIG_3(IntSparseVector.getCPtr(src), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }