Esempio n. 1
0
        internal SWIGTYPE_p_p_double Cast()
        {
            global::System.IntPtr cPtr = fanndoublePINVOKE.DoubleArrayAccessor_Cast(swigCPtr);
            SWIGTYPE_p_p_double   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_double(cPtr, false);

            return(ret);
        }
Esempio n. 2
0
 public void get_path_losses(SWIGTYPE_p_p_double my_losses, SWIGTYPE_p_int seq_len)
 {
     modshogunPINVOKE.DynProg_get_path_losses(swigCPtr, SWIGTYPE_p_p_double.getCPtr(my_losses), SWIGTYPE_p_int.getCPtr(seq_len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public void get_randomcoefficients(SWIGTYPE_p_p_double randomcoeff_additive2, SWIGTYPE_p_p_double randomcoeff_multiplicative2, SWIGTYPE_p_int dim_feature_space2, SWIGTYPE_p_int dim_input_space2, SWIGTYPE_p_double kernelwidth2)
 {
     modshogunPINVOKE.RandomFourierGaussPreproc_get_randomcoefficients(swigCPtr, SWIGTYPE_p_p_double.getCPtr(randomcoeff_additive2), SWIGTYPE_p_p_double.getCPtr(randomcoeff_multiplicative2), SWIGTYPE_p_int.getCPtr(dim_feature_space2), SWIGTYPE_p_int.getCPtr(dim_input_space2), SWIGTYPE_p_double.getCPtr(kernelwidth2));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 public virtual void get_subfeature_weights(SWIGTYPE_p_p_double weights, SWIGTYPE_p_int num_weights)
 {
     modshogunPINVOKE.CombinedDotFeatures_get_subfeature_weights(swigCPtr, SWIGTYPE_p_p_double.getCPtr(weights), SWIGTYPE_p_int.getCPtr(num_weights));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
 public void get_w(SWIGTYPE_p_p_double dst_w, SWIGTYPE_p_int dst_dims)
 {
     modshogunPINVOKE.LinearKernel_get_w(swigCPtr, SWIGTYPE_p_p_double.getCPtr(dst_w), SWIGTYPE_p_int.getCPtr(dst_dims));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 6
0
 public void get_POIM2(SWIGTYPE_p_p_double poim, SWIGTYPE_p_int result_len)
 {
     modshogunPINVOKE.WeightedDegreePositionStringKernel_get_POIM2(swigCPtr, SWIGTYPE_p_p_double.getCPtr(poim), SWIGTYPE_p_int.getCPtr(result_len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 7
0
        internal static ArrayAccessor FromPointer(SWIGTYPE_p_p_double t, int length, int count)
        {
            global::System.IntPtr cPtr = fanndoublePINVOKE.DoubleArrayAccessor_FromPointer(SWIGTYPE_p_p_double.getCPtr(t));
            ArrayAccessor         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ArrayAccessor(cPtr, false);

            ret.ArrayLength = length;
            ret.ArrayCount  = count;
            return(ret);
        }
Esempio n. 8
0
 internal static HandleRef getCPtr(SWIGTYPE_p_p_double obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 9
0
 public void get_w(SWIGTYPE_p_p_double dst_w, SWIGTYPE_p_int dst_dims) {
   modshogunPINVOKE.LinearKernel_get_w(swigCPtr, SWIGTYPE_p_p_double.getCPtr(dst_w), SWIGTYPE_p_int.getCPtr(dst_dims));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void get_randomcoefficients(SWIGTYPE_p_p_double randomcoeff_additive2, SWIGTYPE_p_p_double randomcoeff_multiplicative2, SWIGTYPE_p_int dim_feature_space2, SWIGTYPE_p_int dim_input_space2, SWIGTYPE_p_double kernelwidth2) {
   modshogunPINVOKE.RandomFourierGaussPreproc_get_randomcoefficients(swigCPtr, SWIGTYPE_p_p_double.getCPtr(randomcoeff_additive2), SWIGTYPE_p_p_double.getCPtr(randomcoeff_multiplicative2), SWIGTYPE_p_int.getCPtr(dim_feature_space2), SWIGTYPE_p_int.getCPtr(dim_input_space2), SWIGTYPE_p_double.getCPtr(kernelwidth2));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 11
0
 internal static HandleRef getCPtr(SWIGTYPE_p_p_double obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 12
0
 public virtual void get_subfeature_weights(SWIGTYPE_p_p_double weights, SWIGTYPE_p_int num_weights) {
   modshogunPINVOKE.CombinedDotFeatures_get_subfeature_weights(swigCPtr, SWIGTYPE_p_p_double.getCPtr(weights), SWIGTYPE_p_int.getCPtr(num_weights));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void get_POIM2(SWIGTYPE_p_p_double poim, SWIGTYPE_p_int result_len) {
   modshogunPINVOKE.WeightedDegreePositionStringKernel_get_POIM2(swigCPtr, SWIGTYPE_p_p_double.getCPtr(poim), SWIGTYPE_p_int.getCPtr(result_len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 14
0
 public void get_path_losses(SWIGTYPE_p_p_double my_losses, SWIGTYPE_p_int seq_len) {
   modshogunPINVOKE.DynProg_get_path_losses(swigCPtr, SWIGTYPE_p_p_double.getCPtr(my_losses), SWIGTYPE_p_int.getCPtr(seq_len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }