Ejemplo n.º 1
0
 public SparseShortRealFeatures(SparseShortRealFeatures orig) : this(modshogunPINVOKE.new_SparseShortRealFeatures__SWIG_6(SparseShortRealFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
    public SparseShortRealFeatures get_transposed()
    {
        IntPtr cPtr = modshogunPINVOKE.SparseShortRealFeatures_get_transposed(swigCPtr);
        SparseShortRealFeatures ret = (cPtr == IntPtr.Zero) ? null : new SparseShortRealFeatures(cPtr, true);

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