Example #1
0
    public bool obtain_from_simple(LongIntFeatures sf)
    {
        bool ret = modshogunPINVOKE.SparseLongFeatures_obtain_from_simple(swigCPtr, LongIntFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #2
0
 public LongIntFeatures(LongIntFeatures orig) : this(modshogunPINVOKE.new_LongIntFeatures__SWIG_2(LongIntFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public StreamingLongIntFeatures(LongIntFeatures simple_features) : this(modshogunPINVOKE.new_StreamingLongIntFeatures__SWIG_3(LongIntFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }