public virtual void set_sparse_matrix(ByteSparseVector matrix, int num_feat, int num_vec) { modshogunPINVOKE.File_set_sparse_matrix__SWIG_1(swigCPtr, ByteSparseVector.getCPtr(matrix), num_feat, num_vec); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public override void get_sparse_matrix(ByteSparseVector matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec) { modshogunPINVOKE.BinaryFile_get_sparse_matrix__SWIG_1(swigCPtr, ByteSparseVector.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseByteFeatures(ByteSparseVector src, int num_feat, int num_vec) : this(modshogunPINVOKE.new_SparseByteFeatures__SWIG_3(ByteSparseVector.getCPtr(src), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ByteSparseVector(ByteSparseVector orig) : this(modshogunPINVOKE.new_ByteSparseVector__SWIG_5(ByteSparseVector.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ByteSparseMatrix(ByteSparseVector vecs, int num_feat, int num_vec) : this(modshogunPINVOKE.new_ByteSparseMatrix__SWIG_2(ByteSparseVector.getCPtr(vecs), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }