示例#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);
 }