Пример #1
0
 public StreamingBoolFeatures(BoolFeatures simple_features) : this(modshogunPINVOKE.new_StreamingBoolFeatures__SWIG_3(BoolFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public BoolFeatures(BoolFeatures orig) : this(modshogunPINVOKE.new_BoolFeatures__SWIG_2(BoolFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public StreamingBoolFeatures(BoolFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingBoolFeatures__SWIG_2(BoolFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
    public bool obtain_from_simple(BoolFeatures sf)
    {
        bool ret = modshogunPINVOKE.SparseBoolFeatures_obtain_from_simple(swigCPtr, BoolFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #5
0
    public BoolFeatures get_transposed()
    {
        IntPtr       cPtr = modshogunPINVOKE.BoolFeatures_get_transposed(swigCPtr);
        BoolFeatures ret  = (cPtr == IntPtr.Zero) ? null : new BoolFeatures(cPtr, true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #6
0
 internal static HandleRef getCPtr(BoolFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #7
0
 public bool obtain_from_simple(BoolFeatures sf) {
   bool ret = modshogunPINVOKE.SparseBoolFeatures_obtain_from_simple(swigCPtr, BoolFeatures.getCPtr(sf));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Пример #8
0
 public BoolFeatures(BoolFeatures orig) : this(modshogunPINVOKE.new_BoolFeatures__SWIG_2(BoolFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #9
0
 internal static HandleRef getCPtr(BoolFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #10
0
 public StreamingBoolFeatures(BoolFeatures simple_features) : this(modshogunPINVOKE.new_StreamingBoolFeatures__SWIG_3(BoolFeatures.getCPtr(simple_features)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #11
0
 public StreamingBoolFeatures(BoolFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingBoolFeatures__SWIG_2(BoolFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }