Example #1
0
 public void set_sparse_feature_matrix(IntSparseMatrix sm)
 {
     modshogunPINVOKE.SparseIntFeatures_set_sparse_feature_matrix(swigCPtr, IntSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public IntSparseMatrix(IntSparseMatrix orig) : this(modshogunPINVOKE.new_IntSparseMatrix__SWIG_5(IntSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public SparseIntFeatures(IntSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseIntFeatures__SWIG_4(IntSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }