Ejemplo n.º 1
0
 public SparseCharFeatures(SparseCharFeatures orig) : this(modshogunPINVOKE.new_SparseCharFeatures__SWIG_6(SparseCharFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 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);
    }
Ejemplo n.º 3
0
 public SparseCharFeatures(SparseCharFeatures orig) : this(modshogunPINVOKE.new_SparseCharFeatures__SWIG_6(SparseCharFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 4
0
 internal static HandleRef getCPtr(SparseCharFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 5
0
 internal static HandleRef getCPtr(SparseCharFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }