コード例 #1
0
 public ULongIntFeatures(ULongIntFeatures orig) : this(modshogunPINVOKE.new_ULongIntFeatures__SWIG_2(ULongIntFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public StreamingULongIntFeatures(ULongIntFeatures simple_features) : this(modshogunPINVOKE.new_StreamingULongIntFeatures__SWIG_3(ULongIntFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #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);
    }
コード例 #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);
    }
コード例 #5
0
 public ULongIntFeatures(ULongIntFeatures orig) : this(modshogunPINVOKE.new_ULongIntFeatures__SWIG_2(ULongIntFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #6
0
 internal static HandleRef getCPtr(ULongIntFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #7
0
 public StreamingULongIntFeatures(ULongIntFeatures simple_features) : this(modshogunPINVOKE.new_StreamingULongIntFeatures__SWIG_3(ULongIntFeatures.getCPtr(simple_features)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #8
0
 internal static HandleRef getCPtr(ULongIntFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #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;
 }