Пример #1
0
 public SparseIntFeatures(SparseIntFeatures orig) : this(modshogunPINVOKE.new_SparseIntFeatures__SWIG_6(SparseIntFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
    public SparseIntFeatures get_transposed()
    {
        IntPtr            cPtr = modshogunPINVOKE.SparseIntFeatures_get_transposed(swigCPtr);
        SparseIntFeatures ret  = (cPtr == IntPtr.Zero) ? null : new SparseIntFeatures(cPtr, true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #3
0
 internal static HandleRef getCPtr(SparseIntFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }