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();
     }
 }
Exemple #2
0
 public ShortRealFeatures(ShortRealFeatures orig) : this(modshogunPINVOKE.new_ShortRealFeatures__SWIG_2(ShortRealFeatures.getCPtr(orig)), 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 #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);
    }
Exemple #5
0
    public ShortRealFeatures get_transposed()
    {
        IntPtr            cPtr = modshogunPINVOKE.ShortRealFeatures_get_transposed(swigCPtr);
        ShortRealFeatures ret  = (cPtr == IntPtr.Zero) ? null : new ShortRealFeatures(cPtr, true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 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 #8
0
 internal static HandleRef getCPtr(ShortRealFeatures obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 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;
 }
 public ShortRealFeatures(ShortRealFeatures orig) : this(modshogunPINVOKE.new_ShortRealFeatures__SWIG_2(ShortRealFeatures.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(ShortRealFeatures obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }