예제 #1
0
 public SparseByteFeatures(SparseByteFeatures orig) : this(modshogunPINVOKE.new_SparseByteFeatures__SWIG_6(SparseByteFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
    public SparseByteFeatures get_transposed()
    {
        IntPtr             cPtr = modshogunPINVOKE.SparseByteFeatures_get_transposed(swigCPtr);
        SparseByteFeatures ret  = (cPtr == IntPtr.Zero) ? null : new SparseByteFeatures(cPtr, true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #3
0
 public SparseByteFeatures(SparseByteFeatures orig) : this(modshogunPINVOKE.new_SparseByteFeatures__SWIG_6(SparseByteFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #4
0
 internal static HandleRef getCPtr(SparseByteFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #5
0
 internal static HandleRef getCPtr(SparseByteFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }