public SparseUlongFeatures(ULongIntSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseUlongFeatures__SWIG_4(ULongIntSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public ULongIntSparseMatrix(ULongIntSparseMatrix orig) : this(modshogunPINVOKE.new_ULongIntSparseMatrix__SWIG_5(ULongIntSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void set_sparse_feature_matrix(ULongIntSparseMatrix sm)
 {
     modshogunPINVOKE.SparseUlongFeatures_set_sparse_feature_matrix(swigCPtr, ULongIntSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public ULongIntSparseMatrix get_sparse_feature_matrix()
    {
        ULongIntSparseMatrix ret = new ULongIntSparseMatrix(modshogunPINVOKE.SparseUlongFeatures_get_sparse_feature_matrix(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public ULongIntSparseMatrix(ULongIntSparseMatrix orig) : this(modshogunPINVOKE.new_ULongIntSparseMatrix__SWIG_5(ULongIntSparseMatrix.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(ULongIntSparseMatrix obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public SparseUlongFeatures(ULongIntSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseUlongFeatures__SWIG_4(ULongIntSparseMatrix.getCPtr(sparse)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void set_sparse_feature_matrix(ULongIntSparseMatrix sm) {
   modshogunPINVOKE.SparseUlongFeatures_set_sparse_feature_matrix(swigCPtr, ULongIntSparseMatrix.getCPtr(sm));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public ULongIntSparseMatrix get_sparse_feature_matrix() {
   ULongIntSparseMatrix ret = new ULongIntSparseMatrix(modshogunPINVOKE.SparseUlongFeatures_get_sparse_feature_matrix(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #10
0
 internal static HandleRef getCPtr(ULongIntSparseMatrix obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }