Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 public BoolFeatures(BoolFeatures orig) : this(modshogunPINVOKE.new_BoolFeatures__SWIG_2(BoolFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 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();
     }
 }
Exemplo n.º 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);
    }
Exemplo n.º 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);
    }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(BoolFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 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;
 }
Exemplo n.º 8
0
 public BoolFeatures(BoolFeatures orig) : this(modshogunPINVOKE.new_BoolFeatures__SWIG_2(BoolFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 9
0
 internal static HandleRef getCPtr(BoolFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }