Exemple #1
0
 public virtual void set_long_sparsematrix(LongIntSparseVector matrix, int num_feat, int num_vec)
 {
     modshogunPINVOKE.File_set_long_sparsematrix(swigCPtr, LongIntSparseVector.getCPtr(matrix), num_feat, num_vec);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public LongIntSparseMatrix(LongIntSparseVector vecs, int num_feat, int num_vec) : this(modshogunPINVOKE.new_LongIntSparseMatrix__SWIG_2(LongIntSparseVector.getCPtr(vecs), num_feat, num_vec), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public LongIntSparseVector(LongIntSparseVector orig) : this(modshogunPINVOKE.new_LongIntSparseVector__SWIG_5(LongIntSparseVector.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public SparseLongFeatures(LongIntSparseVector src, int num_feat, int num_vec) : this(modshogunPINVOKE.new_SparseLongFeatures__SWIG_3(LongIntSparseVector.getCPtr(src), num_feat, num_vec), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }