Ejemplo n.º 1
0
    public bool obtain_from_simple(ByteFeatures sf)
    {
        bool ret = modshogunPINVOKE.SparseByteFeatures_obtain_from_simple(swigCPtr, ByteFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 2
0
 public StreamingByteFeatures(ByteFeatures simple_features) : this(modshogunPINVOKE.new_StreamingByteFeatures__SWIG_3(ByteFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public ByteFeatures(ByteFeatures orig) : this(modshogunPINVOKE.new_ByteFeatures__SWIG_2(ByteFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public StreamingByteFeatures(ByteFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingByteFeatures__SWIG_2(ByteFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }