Example #1
0
 public SparseCharFeatures(SparseCharFeatures orig) : this(modshogunPINVOKE.new_SparseCharFeatures__SWIG_6(SparseCharFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
    public SparseCharFeatures get_transposed()
    {
        IntPtr             cPtr = modshogunPINVOKE.SparseCharFeatures_get_transposed(swigCPtr);
        SparseCharFeatures ret  = (cPtr == IntPtr.Zero) ? null : new SparseCharFeatures(cPtr, true);

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