Example #1
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();
     }
 }
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 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 #4
0
    public LongIntFeatures get_transposed()
    {
        IntPtr          cPtr = modshogunPINVOKE.LongIntFeatures_get_transposed(swigCPtr);
        LongIntFeatures ret  = (cPtr == IntPtr.Zero) ? null : new LongIntFeatures(cPtr, true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
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 #6
0
 internal static HandleRef getCPtr(LongIntFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #7
0
 public LongIntFeatures(LongIntFeatures orig) : this(modshogunPINVOKE.new_LongIntFeatures__SWIG_2(LongIntFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #8
0
 internal static HandleRef getCPtr(LongIntFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public StreamingLongIntFeatures(LongIntFeatures simple_features) : this(modshogunPINVOKE.new_StreamingLongIntFeatures__SWIG_3(LongIntFeatures.getCPtr(simple_features)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public StreamingLongIntFeatures(LongIntFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingLongIntFeatures__SWIG_2(LongIntFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }