示例#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();
     }
 }
示例#2
0
 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();
     }
 }
示例#3
0
 public LongIntSparseVector(LongIntSparseVector orig) : this(modshogunPINVOKE.new_LongIntSparseVector__SWIG_5(LongIntSparseVector.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 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();
     }
 }