示例#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();
 }