コード例 #1
0
 public void set_sparse_feature_matrix(BoolSparseMatrix sm)
 {
     modshogunPINVOKE.SparseBoolFeatures_set_sparse_feature_matrix(swigCPtr, BoolSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public SparseBoolFeatures(BoolSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseBoolFeatures__SWIG_4(BoolSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
 public BoolSparseMatrix(BoolSparseMatrix orig) : this(modshogunPINVOKE.new_BoolSparseMatrix__SWIG_5(BoolSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }