public SpectrumMismatchRBFKernel(StringCharFeatures l, StringCharFeatures r, int size, SWIGTYPE_p_double AA_matrix_, int nr_, int nc_, int degree, int max_mismatch, double width) : this(modshogunPINVOKE.new_SpectrumMismatchRBFKernel__SWIG_2(StringCharFeatures.getCPtr(l), StringCharFeatures.getCPtr(r), size, SWIGTYPE_p_double.getCPtr(AA_matrix_), nr_, nc_, degree, max_mismatch, width), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #2
0
        public bool Read(uint pFrameIndex, SWIGTYPE_p_double pBuffer, uint pPointCount)
        {
            bool ret = FbxWrapperNativePINVOKE.FbxCache_Read__SWIG_9(swigCPtr, pFrameIndex, SWIGTYPE_p_double.getCPtr(pBuffer), pPointCount);

            return(ret);
        }
 public virtual bool getPWMLimitRaw(int j, SWIGTYPE_p_double val)
 {
     bool ret = yarpPINVOKE.IAmplifierControlRaw_getPWMLimitRaw(swigCPtr, j, SWIGTYPE_p_double.getCPtr(val));
     return ret;
 }
 public StreamingFileFromSparseUlongFeatures(SWIGTYPE_p_CSparseFeaturesT_unsigned_long_long_t feat, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingFileFromSparseUlongFeatures__SWIG_2(SWIGTYPE_p_CSparseFeaturesT_unsigned_long_long_t.getCPtr(feat), SWIGTYPE_p_double.getCPtr(lab)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #5
0
 public virtual bool getTorqueErrorLimitsRaw(SWIGTYPE_p_double limits)
 {
     bool ret = yarpPINVOKE.ITorqueControlRaw_getTorqueErrorLimitsRaw(swigCPtr, SWIGTYPE_p_double.getCPtr(limits));
     return ret;
 }
 public override void expand_if_required(SWIGTYPE_p_double vec, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingSparseCharFeatures_expand_if_required__SWIG_1(swigCPtr, SWIGTYPE_p_double.getCPtr(vec), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #7
0
 public StreamingFileFromSparseRealFeatures(SWIGTYPE_p_CSparseFeaturesT_double_t feat, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingFileFromSparseRealFeatures__SWIG_2(SWIGTYPE_p_CSparseFeaturesT_double_t.getCPtr(feat), SWIGTYPE_p_double.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #8
0
 public virtual bool getTorquePidOutputsRaw(SWIGTYPE_p_double outs)
 {
     bool ret = yarpPINVOKE.ITorqueControlRaw_getTorquePidOutputsRaw(swigCPtr, SWIGTYPE_p_double.getCPtr(outs));
     return ret;
 }
Beispiel #9
0
 public void get_dictionary(SWIGTYPE_p_int dsize, SWIGTYPE_p_double dweights)
 {
     modshogunPINVOKE.CommWordStringKernel_get_dictionary(swigCPtr, SWIGTYPE_p_int.getCPtr(dsize), SWIGTYPE_p_double.getCPtr(dweights));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public bool GetTextureAlpha(int pIndex, SWIGTYPE_p_double pAlpha)
        {
            bool ret = FbxWrapperNativePINVOKE.FbxLayeredTexture_GetTextureAlpha(swigCPtr, pIndex, SWIGTYPE_p_double.getCPtr(pAlpha));

            if (FbxWrapperNativePINVOKE.SWIGPendingException.Pending)
            {
                throw FbxWrapperNativePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #11
0
    public string compute_consensus(SWIGTYPE_p_int num_feat, int num_suppvec, SWIGTYPE_p_int IDX, SWIGTYPE_p_double alphas)
    {
        string ret = modshogunPINVOKE.CommWordStringKernel_compute_consensus(swigCPtr, SWIGTYPE_p_int.getCPtr(num_feat), num_suppvec, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(alphas));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #12
0
    public virtual SWIGTYPE_p_double compute_scoring(int max_degree, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_sym, SWIGTYPE_p_double target, int num_suppvec, SWIGTYPE_p_int IDX, SWIGTYPE_p_double alphas)
    {
        IntPtr            cPtr = modshogunPINVOKE.CommWordStringKernel_compute_scoring__SWIG_1(swigCPtr, max_degree, SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_sym), SWIGTYPE_p_double.getCPtr(target), num_suppvec, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(alphas));
        SWIGTYPE_p_double ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_double(cPtr, false);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #13
0
        public bool Write(uint pFrameIndex, SWIGTYPE_p_double pBuffer)
        {
            bool ret = FbxWrapperNativePINVOKE.FbxCache_Write__SWIG_7(swigCPtr, pFrameIndex, SWIGTYPE_p_double.getCPtr(pBuffer));

            return(ret);
        }
 public virtual bool getRefAccelerations(SWIGTYPE_p_double accs)
 {
     bool ret = yarpPINVOKE.IVelocityControl_getRefAccelerations__SWIG_0(swigCPtr, SWIGTYPE_p_double.getCPtr(accs));
     return ret;
 }
        public double getPathLength(SWIGTYPE_p_double point)
        {
            double ret = ompl_basePINVOKE.ProlateHyperspheroid_getPathLength(swigCPtr, SWIGTYPE_p_double.getCPtr(point));

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #16
0
 public virtual bool getTorqueErrorRaw(int j, SWIGTYPE_p_double err)
 {
     bool ret = yarpPINVOKE.ITorqueControlRaw_getTorqueErrorRaw(swigCPtr, j, SWIGTYPE_p_double.getCPtr(err));
     return ret;
 }
 public ProlateHyperspheroid(uint n, SWIGTYPE_p_double focus1, SWIGTYPE_p_double focus2) : this(ompl_basePINVOKE.new_ProlateHyperspheroid(n, SWIGTYPE_p_double.getCPtr(focus1), SWIGTYPE_p_double.getCPtr(focus2)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #18
0
 public virtual bool getBemfParamRaw(int j, SWIGTYPE_p_double bemf)
 {
     bool ret = yarpPINVOKE.ITorqueControlRaw_getBemfParamRaw(swigCPtr, j, SWIGTYPE_p_double.getCPtr(bemf));
     return ret;
 }
 public void transform(SWIGTYPE_p_double sphere, SWIGTYPE_p_double phs)
 {
     ompl_basePINVOKE.ProlateHyperspheroid_transform(swigCPtr, SWIGTYPE_p_double.getCPtr(sphere), SWIGTYPE_p_double.getCPtr(phs));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_double obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public ArConfigArg(string name, SWIGTYPE_p_double pointer, string description, double minDouble, double maxDouble, int precision) : this(AriaCSPINVOKE.new_ArConfigArg__SWIG_13(name, SWIGTYPE_p_double.getCPtr(pointer), description, minDouble, maxDouble, precision), true)
 {
 }
Beispiel #22
0
 public void set_model_params(SWIGTYPE_p_double pos_params, SWIGTYPE_p_double neg_params, int seq_length, int num_symbols) {
   modshogunPINVOKE.PluginEstimate_set_model_params(swigCPtr, SWIGTYPE_p_double.getCPtr(pos_params), SWIGTYPE_p_double.getCPtr(neg_params), seq_length, num_symbols);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public ArConfigArg(string name, SWIGTYPE_p_double pointer, string description) : this(AriaCSPINVOKE.new_ArConfigArg__SWIG_15(name, SWIGTYPE_p_double.getCPtr(pointer), description), true)
 {
 }
 public virtual bool getOutputRaw(int j, SWIGTYPE_p_double v)
 {
     bool ret = yarpPINVOKE.IOpenLoopControlRaw_getOutputRaw(swigCPtr, j, SWIGTYPE_p_double.getCPtr(v));
     return ret;
 }
 public ArConfigArg(string name, SWIGTYPE_p_double pointer) : this(AriaCSPINVOKE.new_ArConfigArg__SWIG_16(name, SWIGTYPE_p_double.getCPtr(pointer)), true)
 {
 }
 public virtual bool getPowerSupplyVoltage(int j, SWIGTYPE_p_double val)
 {
     bool ret = yarpPINVOKE.IAmplifierControl_getPowerSupplyVoltage(swigCPtr, j, SWIGTYPE_p_double.getCPtr(val));
     return ret;
 }
    public virtual bool getTemperatureSensorMeasure(uint sens_index, Vector arg1, SWIGTYPE_p_double timestamp)
    {
        bool ret = yarpPINVOKE.ITemperatureSensors_getTemperatureSensorMeasure__SWIG_1(swigCPtr, sens_index, Vector.getCPtr(arg1), SWIGTYPE_p_double.getCPtr(timestamp));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 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();
 }
Beispiel #29
0
 public void get_kernel_row(int docnum, SWIGTYPE_p_int active2dnum, SWIGTYPE_p_double buffer)
 {
     modshogunPINVOKE.Kernel_get_kernel_row__SWIG_2(swigCPtr, docnum, SWIGTYPE_p_int.getCPtr(active2dnum), SWIGTYPE_p_double.getCPtr(buffer));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual bool velocityMove(SWIGTYPE_p_double sp)
 {
     bool ret = yarpPINVOKE.IVelocityControl_velocityMove__SWIG_1(swigCPtr, SWIGTYPE_p_double.getCPtr(sp));
     return ret;
 }
Beispiel #31
0
    public virtual bool init_optimization(int count, SWIGTYPE_p_int IDX, SWIGTYPE_p_double weights)
    {
        bool ret = modshogunPINVOKE.Kernel_init_optimization(swigCPtr, count, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(weights));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #32
0
 public RealMatrix(SWIGTYPE_p_double m, int nrows, int ncols) : this(modshogunPINVOKE.new_RealMatrix__SWIG_2(SWIGTYPE_p_double.getCPtr(m), nrows, ncols), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #33
0
 public virtual void compute_batch(int num_vec, SWIGTYPE_p_int vec_idx, SWIGTYPE_p_double target, int num_suppvec, SWIGTYPE_p_int IDX, SWIGTYPE_p_double alphas)
 {
     modshogunPINVOKE.Kernel_compute_batch__SWIG_1(swigCPtr, num_vec, SWIGTYPE_p_int.getCPtr(vec_idx), SWIGTYPE_p_double.getCPtr(target), num_suppvec, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(alphas));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #34
0
 public virtual bool getTorquePidOutputRaw(int j, SWIGTYPE_p_double arg1)
 {
     bool ret = yarpPINVOKE.ITorqueControlRaw_getTorquePidOutputRaw(swigCPtr, j, SWIGTYPE_p_double.getCPtr(arg1));
     return ret;
 }
    public bool alloc_and_compute_diag(Kernel k, SWIGTYPE_p_double v, int num)
    {
        bool ret = modshogunPINVOKE.SqrtDiagKernelNormalizer_alloc_and_compute_diag(swigCPtr, Kernel.getCPtr(k), SWIGTYPE_p_double.getCPtr(v), num);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #36
0
 public virtual bool getTorqueRangesRaw(SWIGTYPE_p_double min, SWIGTYPE_p_double max)
 {
     bool ret = yarpPINVOKE.ITorqueControlRaw_getTorqueRangesRaw(swigCPtr, SWIGTYPE_p_double.getCPtr(min), SWIGTYPE_p_double.getCPtr(max));
     return ret;
 }
Beispiel #37
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_double obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #38
0
 public virtual bool getRefTorquesRaw(SWIGTYPE_p_double t)
 {
     bool ret = yarpPINVOKE.ITorqueControlRaw_getRefTorquesRaw(swigCPtr, SWIGTYPE_p_double.getCPtr(t));
     return ret;
 }
Beispiel #39
0
 public StreamingRealFeatures(RealFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingRealFeatures__SWIG_2(RealFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #40
0
 public void distances_rhs(SWIGTYPE_p_double result, int idx_b1, int idx_b2, int idx_a) {
   modshogunPINVOKE.CDistanceMachine_distances_rhs(swigCPtr, SWIGTYPE_p_double.getCPtr(result), idx_b1, idx_b2, idx_a);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #41
0
    public virtual bool getEncoderAcceleration(int j, SWIGTYPE_p_double spds)
    {
        bool ret = yarpPINVOKE.IEncoders_getEncoderAcceleration__SWIG_0(swigCPtr, j, SWIGTYPE_p_double.getCPtr(spds));

        return(ret);
    }
 public static void TMEdgeDetection(DoubleImage src, DoubleImage destMag, DoubleImage destDir, int nrMasks, Mask_Int32 maskTab, SWIGTYPE_p_double alfaTab, Gradient grad) {
   VisionLabPINVOKE.TMEdgeDetection__SWIG_6(DoubleImage.getCPtr(src), DoubleImage.getCPtr(destMag), DoubleImage.getCPtr(destDir), nrMasks, Mask_Int32.getCPtr(maskTab), SWIGTYPE_p_double.getCPtr(alfaTab), (int)grad);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Beispiel #43
0
    public virtual bool getEncoderAccelerations(SWIGTYPE_p_double accs)
    {
        bool ret = yarpPINVOKE.IEncoders_getEncoderAccelerations__SWIG_0(swigCPtr, SWIGTYPE_p_double.getCPtr(accs));

        return(ret);
    }
Beispiel #44
0
 public bool get_model_params(SWIGTYPE_p_double pos_params, SWIGTYPE_p_double neg_params, SWIGTYPE_p_int seq_length, SWIGTYPE_p_int num_symbols) {
   bool ret = modshogunPINVOKE.PluginEstimate_get_model_params(swigCPtr, SWIGTYPE_p_double.getCPtr(pos_params), SWIGTYPE_p_double.getCPtr(neg_params), SWIGTYPE_p_int.getCPtr(seq_length), SWIGTYPE_p_int.getCPtr(num_symbols));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Beispiel #45
0
    public virtual bool getEncoders(SWIGTYPE_p_double encs)
    {
        bool ret = yarpPINVOKE.IEncoders_getEncoders__SWIG_0(swigCPtr, SWIGTYPE_p_double.getCPtr(encs));

        return(ret);
    }
 public virtual bool getPeakCurrentRaw(int m, SWIGTYPE_p_double val)
 {
     bool ret = yarpPINVOKE.IAmplifierControlRaw_getPeakCurrentRaw(swigCPtr, m, SWIGTYPE_p_double.getCPtr(val));
     return ret;
 }
Beispiel #47
0
    public virtual bool getEncoderSpeed(int j, SWIGTYPE_p_double sp)
    {
        bool ret = yarpPINVOKE.IEncoders_getEncoderSpeed__SWIG_0(swigCPtr, j, SWIGTYPE_p_double.getCPtr(sp));

        return(ret);
    }
 public virtual bool getMaxCurrentRaw(int j, SWIGTYPE_p_double v)
 {
     bool ret = yarpPINVOKE.IAmplifierControlRaw_getMaxCurrentRaw(swigCPtr, j, SWIGTYPE_p_double.getCPtr(v));
     return ret;
 }
Beispiel #49
0
    public static double dot(SWIGTYPE_p_double v1, SWIGTYPE_p_double v2, int n)
    {
        double ret = modshogunPINVOKE.Math_dot__SWIG_2(SWIGTYPE_p_double.getCPtr(v1), SWIGTYPE_p_double.getCPtr(v2), n);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public virtual bool setRefOutputsRaw(SWIGTYPE_p_double v)
 {
     bool ret = yarpPINVOKE.IOpenLoopControlRaw_setRefOutputsRaw(swigCPtr, SWIGTYPE_p_double.getCPtr(v));
     return ret;
 }
Beispiel #51
0
    public static double mutual_info(SWIGTYPE_p_double p1, SWIGTYPE_p_double p2, int len)
    {
        double ret = modshogunPINVOKE.Math_mutual_info(SWIGTYPE_p_double.getCPtr(p1), SWIGTYPE_p_double.getCPtr(p2), len);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public virtual bool getNominalCurrent(int m, SWIGTYPE_p_double val)
 {
     bool ret = yarpPINVOKE.IAmplifierControl_getNominalCurrent(swigCPtr, m, SWIGTYPE_p_double.getCPtr(val));
     return ret;
 }
Beispiel #53
0
    public static double relative_entropy(SWIGTYPE_p_double p, SWIGTYPE_p_double q, int len)
    {
        double ret = modshogunPINVOKE.Math_relative_entropy(SWIGTYPE_p_double.getCPtr(p), SWIGTYPE_p_double.getCPtr(q), len);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public virtual bool getCurrent(int j, SWIGTYPE_p_double val)
 {
     bool ret = yarpPINVOKE.IAmplifierControl_getCurrent__SWIG_0(swigCPtr, j, SWIGTYPE_p_double.getCPtr(val));
     return ret;
 }
Beispiel #55
0
        public new SWIGTYPE_p_double at(int pIndex)
        {
            SWIGTYPE_p_double ret = new SWIGTYPE_p_double(FbxWrapperNativePINVOKE.FbxQuaternion_at__SWIG_0(swigCPtr, pIndex), false);

            return(ret);
        }
 public bool set_AA_matrix(SWIGTYPE_p_double AA_matrix_) {
   bool ret = modshogunPINVOKE.SpectrumMismatchRBFKernel_set_AA_matrix__SWIG_2(swigCPtr, SWIGTYPE_p_double.getCPtr(AA_matrix_));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Beispiel #57
0
 public virtual void penalty_add_derivative(double p_value, SWIGTYPE_p_double svm_values, double factor) {
   modshogunPINVOKE.PlifBase_penalty_add_derivative(swigCPtr, p_value, SWIGTYPE_p_double.getCPtr(svm_values), factor);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual bool getCurrentsRaw(SWIGTYPE_p_double vals)
 {
     bool ret = yarpPINVOKE.IAmplifierControlRaw_getCurrentsRaw(swigCPtr, SWIGTYPE_p_double.getCPtr(vals));
     return ret;
 }
Beispiel #59
0
        public bool Write(int pChannelIndex, FbxTime pTime, SWIGTYPE_p_double pBuffer, uint pPointCount)
        {
            bool ret = FbxWrapperNativePINVOKE.FbxCache_Write__SWIG_1(swigCPtr, pChannelIndex, FbxTime.getCPtr(pTime), SWIGTYPE_p_double.getCPtr(pBuffer), pPointCount);

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