Exemplo n.º 1
0
 public ULongIntFeatures(ULongIntFeatures orig) : this(modshogunPINVOKE.new_ULongIntFeatures__SWIG_2(ULongIntFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public StreamingULongIntFeatures(ULongIntFeatures simple_features) : this(modshogunPINVOKE.new_StreamingULongIntFeatures__SWIG_3(ULongIntFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
    public bool obtain_from_simple(ULongIntFeatures sf)
    {
        bool ret = modshogunPINVOKE.SparseUlongFeatures_obtain_from_simple(swigCPtr, ULongIntFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 4
0
    public ULongIntFeatures get_transposed()
    {
        IntPtr           cPtr = modshogunPINVOKE.ULongIntFeatures_get_transposed(swigCPtr);
        ULongIntFeatures ret  = (cPtr == IntPtr.Zero) ? null : new ULongIntFeatures(cPtr, true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 5
0
 public ULongIntFeatures(ULongIntFeatures orig) : this(modshogunPINVOKE.new_ULongIntFeatures__SWIG_2(ULongIntFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(ULongIntFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public StreamingULongIntFeatures(ULongIntFeatures simple_features) : this(modshogunPINVOKE.new_StreamingULongIntFeatures__SWIG_3(ULongIntFeatures.getCPtr(simple_features)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 8
0
 internal static HandleRef getCPtr(ULongIntFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 9
0
 public bool obtain_from_simple(ULongIntFeatures sf) {
   bool ret = modshogunPINVOKE.SparseUlongFeatures_obtain_from_simple(swigCPtr, ULongIntFeatures.getCPtr(sf));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }