public GaussianShortRealKernel(ShortRealFeatures l, ShortRealFeatures r, double width) : this(modshogunPINVOKE.new_GaussianShortRealKernel__SWIG_3(ShortRealFeatures.getCPtr(l), ShortRealFeatures.getCPtr(r), width), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public StreamingShortRealFeatures(ShortRealFeatures simple_features) : this(modshogunPINVOKE.new_StreamingShortRealFeatures__SWIG_3(ShortRealFeatures.getCPtr(simple_features)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public ShortRealFeatures(ShortRealFeatures orig) : this(modshogunPINVOKE.new_ShortRealFeatures__SWIG_2(ShortRealFeatures.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
    public bool obtain_from_simple(ShortRealFeatures sf)
    {
        bool ret = modshogunPINVOKE.SparseShortRealFeatures_obtain_from_simple(swigCPtr, ShortRealFeatures.getCPtr(sf));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }