Exemplo n.º 1
0
 public SparseBoolFeatures(BoolSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseBoolFeatures__SWIG_4(BoolSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public BoolSparseMatrix(BoolSparseMatrix orig) : this(modshogunPINVOKE.new_BoolSparseMatrix__SWIG_5(BoolSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
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();
     }
 }
Exemplo n.º 4
0
    public BoolSparseMatrix get_sparse_feature_matrix()
    {
        BoolSparseMatrix ret = new BoolSparseMatrix(modshogunPINVOKE.SparseBoolFeatures_get_sparse_feature_matrix(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 5
0
 public BoolSparseMatrix(BoolSparseMatrix orig) : this(modshogunPINVOKE.new_BoolSparseMatrix__SWIG_5(BoolSparseMatrix.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(BoolSparseMatrix obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 7
0
 public SparseBoolFeatures(BoolSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseBoolFeatures__SWIG_4(BoolSparseMatrix.getCPtr(sparse)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 8
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();
 }
Exemplo n.º 9
0
 public BoolSparseMatrix get_sparse_feature_matrix() {
   BoolSparseMatrix ret = new BoolSparseMatrix(modshogunPINVOKE.SparseBoolFeatures_get_sparse_feature_matrix(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 10
0
 internal static HandleRef getCPtr(BoolSparseMatrix obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }