Exemplo n.º 1
0
        public SWIGTYPE_p_float Get(SWIGTYPE_p_a_4__float m)
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.GfMatrix4f_Get(swigCPtr, SWIGTYPE_p_a_4__float.getCPtr(m));
            SWIGTYPE_p_float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);

            return(ret);
        }
Exemplo n.º 2
0
    public static SWIGTYPE_p_float new_floatArray(int nelements)
    {
        global::System.IntPtr cPtr = recognitionPINVOKE.new_floatArray(nelements);
        SWIGTYPE_p_float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);

        return(ret);
    }
Exemplo n.º 3
0
    public static OpenZenFloatArray frompointer(SWIGTYPE_p_float t)
    {
        global::System.IntPtr cPtr = OpenZenPINVOKE.OpenZenFloatArray_frompointer(SWIGTYPE_p_float.getCPtr(t));
        OpenZenFloatArray     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpenZenFloatArray(cPtr, false);

        return(ret);
    }
Exemplo n.º 4
0
    public SWIGTYPE_p_float cast()
    {
        global::System.IntPtr cPtr = OpenZenPINVOKE.OpenZenFloatArray_cast(swigCPtr);
        SWIGTYPE_p_float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);

        return(ret);
    }
Exemplo n.º 5
0
        public SWIGTYPE_p_float front()
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxMat33_front(swigCPtr);
            SWIGTYPE_p_float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);

            return(ret);
        }
Exemplo n.º 6
0
        public SWIGTYPE_p_float data()
        {
            global::System.IntPtr cPtr = UsdCsPINVOKE.GfMatrix4f_data__SWIG_0(swigCPtr);
            SWIGTYPE_p_float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);

            return(ret);
        }
    public static SWIGTYPE_p_Color3 ClrSet(SWIGTYPE_p_Color3 cout, SWIGTYPE_p_float rgb)
    {
        global::System.IntPtr cPtr = ISMathPINVOKE.ClrSet__SWIG_4(SWIGTYPE_p_Color3.getCPtr(cout), SWIGTYPE_p_float.getCPtr(rgb));
        SWIGTYPE_p_Color3     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Color3(cPtr, false);

        return(ret);
    }
Exemplo n.º 8
0
 public ShortRealMatrix(SWIGTYPE_p_float m, int nrows, int ncols) : this(modshogunPINVOKE.new_ShortRealMatrix__SWIG_2(SWIGTYPE_p_float.getCPtr(m), nrows, ncols), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static SWIGTYPE_p_Vector4 Vec4Set(SWIGTYPE_p_Vector4 vout, SWIGTYPE_p_float xyzw)
    {
        global::System.IntPtr cPtr = ISMathPINVOKE.Vec4Set__SWIG_1(SWIGTYPE_p_Vector4.getCPtr(vout), SWIGTYPE_p_float.getCPtr(xyzw));
        SWIGTYPE_p_Vector4    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Vector4(cPtr, false);

        return(ret);
    }
Exemplo n.º 10
0
        public SWIGTYPE_p_float cast()
        {
            global::System.IntPtr cPtr = FbxWrapperNativePINVOKE.FloatArray_cast(swigCPtr);
            SWIGTYPE_p_float      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);

            return(ret);
        }
    public static Quaternion QuaternionSet(Quaternion qout, SWIGTYPE_p_float xyzw)
    {
        global::System.IntPtr cPtr = ISMathPINVOKE.QuaternionSet__SWIG_1(Quaternion.getCPtr(qout), SWIGTYPE_p_float.getCPtr(xyzw));
        Quaternion            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new Quaternion(cPtr, false);

        return(ret);
    }
    public static Vector3 Vec3Set(Vector3 vout, SWIGTYPE_p_float xyz)
    {
        global::System.IntPtr cPtr = ISMathPINVOKE.Vec3Set__SWIG_1(Vector3.getCPtr(vout), SWIGTYPE_p_float.getCPtr(xyz));
        Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);

        return(ret);
    }
Exemplo n.º 13
0
        public virtual SWIGTYPE_p_float PadVertices(float[] floatArray, long size, long srcstride)
        {
            IntPtr           cPtr = VixenLibPINVOKE.VertexPool_PadVertices(swigCPtr, floatArray, size, srcstride);
            SWIGTYPE_p_float ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);

            return(ret);
        }
Exemplo n.º 14
0
 public Affine3(SWIGTYPE_p_float arr) : this(OgrePINVOKE.new_Affine3__SWIG_3(SWIGTYPE_p_float.getCPtr(arr)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 15
0
        public SWIGTYPE_p_float Last()
        {
            IntPtr           cPtr = VixenLibPINVOKE.CoreFloatArray_Last__SWIG_0(swigCPtr);
            SWIGTYPE_p_float ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);

            return(ret);
        }
Exemplo n.º 16
0
 public ShortRealVector(SWIGTYPE_p_float v, int len) : this(modshogunPINVOKE.new_ShortRealVector__SWIG_2(SWIGTYPE_p_float.getCPtr(v), len), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static Color ClrSet(Color cout, SWIGTYPE_p_float rgba)
    {
        global::System.IntPtr cPtr = ISMathPINVOKE.ClrSet__SWIG_2(Color.getCPtr(cout), SWIGTYPE_p_float.getCPtr(rgba));
        Color ret = (cPtr == global::System.IntPtr.Zero) ? null : new Color(cPtr, false);

        return(ret);
    }
Exemplo n.º 18
0
        public static FloatArray frompointer(SWIGTYPE_p_float t)
        {
            global::System.IntPtr cPtr = FbxWrapperNativePINVOKE.FloatArray_frompointer(SWIGTYPE_p_float.getCPtr(t));
            FloatArray            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatArray(cPtr, false);

            return(ret);
        }
Exemplo n.º 19
0
 public static void b2AngularStiffness(SWIGTYPE_p_float stiffness, SWIGTYPE_p_float damping, float frequencyHertz, float dampingRatio, b2Body bodyA, b2Body bodyB)
 {
     Box2dPINVOKE.b2AngularStiffness(SWIGTYPE_p_float.getCPtr(stiffness), SWIGTYPE_p_float.getCPtr(damping), frequencyHertz, dampingRatio, b2Body.getCPtr(bodyA), b2Body.getCPtr(bodyB));
     if (Box2dPINVOKE.SWIGPendingException.Pending)
     {
         throw Box2dPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public override void expand_if_required(SWIGTYPE_p_float vec, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingSparseCharFeatures_expand_if_required__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(vec), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 21
0
 public void set_array(SWIGTYPE_p_float p_array, int p_num_elements, int array_size)
 {
     modshogunPINVOKE.DynamicShortRealArray_set_array(swigCPtr, SWIGTYPE_p_float.getCPtr(p_array), p_num_elements, array_size);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 22
0
 public void getHSB(SWIGTYPE_p_float hue, SWIGTYPE_p_float saturation, SWIGTYPE_p_float brightness)
 {
     OgrePINVOKE.ColourValue_getHSB__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(hue), SWIGTYPE_p_float.getCPtr(saturation), SWIGTYPE_p_float.getCPtr(brightness));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 23
0
 public void _setBlendMaskData(SWIGTYPE_p_float blendMaskData)
 {
     OgrePINVOKE.AnimationState__setBlendMaskData(swigCPtr, SWIGTYPE_p_float.getCPtr(blendMaskData));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 24
0
 public void getEulerZYX(SWIGTYPE_p_float yaw, SWIGTYPE_p_float pitch, SWIGTYPE_p_float roll)
 {
     BulletPINVOKE.btMatrix3x3_getEulerZYX__SWIG_1(swigCPtr, SWIGTYPE_p_float.getCPtr(yaw), SWIGTYPE_p_float.getCPtr(pitch), SWIGTYPE_p_float.getCPtr(roll));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 25
0
        internal static DataAccessor FromPointer(SWIGTYPE_p_float t, int count)
        {
            global::System.IntPtr cPtr = fannfloatPINVOKE.FloatAccessor_FromPointer(SWIGTYPE_p_float.getCPtr(t));
            DataAccessor          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DataAccessor(cPtr, false);

            ret.ArrayCount = count;
            return(ret);
        }
Exemplo n.º 26
0
 public virtual void set_w(SWIGTYPE_p_float src_w, int src_w_dim)
 {
     modshogunPINVOKE.OnlineLinearMachine_set_w__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(src_w), src_w_dim);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 27
0
 public virtual void get_vector(SWIGTYPE_p_float vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingFile_get_vector__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 28
0
 public virtual void get_string_and_label(SWIGTYPE_p_float vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label)
 {
     modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 29
0
 public virtual void get_w(SWIGTYPE_p_float dst_w, SWIGTYPE_p_int dst_dims)
 {
     modshogunPINVOKE.OnlineLinearMachine_get_w__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(dst_w), SWIGTYPE_p_int.getCPtr(dst_dims));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 30
0
 public virtual void project(btTransform trans, btVector3 dir, SWIGTYPE_p_float min, SWIGTYPE_p_float max)
 {
     BulletPINVOKE.btConvexShape_project(swigCPtr, btTransform.getCPtr(trans), btVector3.getCPtr(dir), SWIGTYPE_p_float.getCPtr(min), SWIGTYPE_p_float.getCPtr(max));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 31
0
 public virtual void set_w(SWIGTYPE_p_float src_w, int src_w_dim) {
   modshogunPINVOKE.OnlineLinearMachine_set_w__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(src_w), src_w_dim);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 32
0
 public ShortRealNDArray(SWIGTYPE_p_float a, SWIGTYPE_p_int d, int nd) : this(modshogunPINVOKE.new_ShortRealNDArray__SWIG_1(SWIGTYPE_p_float.getCPtr(a), SWIGTYPE_p_int.getCPtr(d), nd), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 33
0
 public virtual float dense_dot_truncated(SWIGTYPE_p_float vec2, SWIGTYPE_p_VwExample ex, float gravity) {
   float ret = modshogunPINVOKE.StreamingVwFeatures_dense_dot_truncated(swigCPtr, SWIGTYPE_p_float.getCPtr(vec2), SWIGTYPE_p_VwExample.getCPtr(ex), gravity);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 34
0
 public void set_array(SWIGTYPE_p_float p_array, int p_num_elements, int array_size) {
   modshogunPINVOKE.DynamicShortRealArray_set_array(swigCPtr, SWIGTYPE_p_float.getCPtr(p_array), p_num_elements, array_size);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 35
0
 public override void set_matrix(SWIGTYPE_p_float matrix, int num_feat, int num_vec) {
   modshogunPINVOKE.BinaryFile_set_matrix__SWIG_3(swigCPtr, SWIGTYPE_p_float.getCPtr(matrix), num_feat, num_vec);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 36
0
 public bool set_triangle_distance_matrix_from_triangle(SWIGTYPE_p_float dm, int len) {
   bool ret = modshogunPINVOKE.CustomDistance_set_triangle_distance_matrix_from_triangle__SWIG_1(swigCPtr, SWIGTYPE_p_float.getCPtr(dm), len);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 37
0
 public CustomDistance(SWIGTYPE_p_float dm, int rows, int cols) : this(modshogunPINVOKE.new_CustomDistance__SWIG_4(SWIGTYPE_p_float.getCPtr(dm), rows, cols), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 38
0
 public SWIGTYPE_p_float safePixel(int x, int y)
 {
     SWIGTYPE_p_float ret = new SWIGTYPE_p_float(yarpPINVOKE.ImageFloat_safePixel__SWIG_0(swigCPtr, x, y), false);
     return ret;
 }
Exemplo n.º 39
0
 public ShortRealVector(SWIGTYPE_p_float v, int len) : this(modshogunPINVOKE.new_ShortRealVector__SWIG_2(SWIGTYPE_p_float.getCPtr(v), len), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 40
0
 internal static HandleRef getCPtr(SWIGTYPE_p_float obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 41
0
 public override void get_ndarray(SWIGTYPE_p_float array, SWIGTYPE_p_int dims, SWIGTYPE_p_int num_dims) {
   modshogunPINVOKE.AsciiFile_get_ndarray__SWIG_3(swigCPtr, SWIGTYPE_p_float.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), SWIGTYPE_p_int.getCPtr(num_dims));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 42
0
 public virtual SWIGTYPE_p_float get_distance_matrix_shortreal(SWIGTYPE_p_int m, SWIGTYPE_p_int n, SWIGTYPE_p_float target) {
   IntPtr cPtr = modshogunPINVOKE.Distance_get_distance_matrix_shortreal(swigCPtr, SWIGTYPE_p_int.getCPtr(m), SWIGTYPE_p_int.getCPtr(n), SWIGTYPE_p_float.getCPtr(target));
   SWIGTYPE_p_float ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_float(cPtr, false);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 43
0
 public override void set_vector(SWIGTYPE_p_float vector, int len) {
   modshogunPINVOKE.BinaryFile_set_vector__SWIG_3(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), len);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 44
0
 public bool set_full_distance_matrix_from_full(SWIGTYPE_p_float dm, int rows, int cols) {
   bool ret = modshogunPINVOKE.CustomDistance_set_full_distance_matrix_from_full__SWIG_1(swigCPtr, SWIGTYPE_p_float.getCPtr(dm), rows, cols);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 45
0
 public virtual void set_ndarray(SWIGTYPE_p_float array, SWIGTYPE_p_int dims, int num_dims) {
   modshogunPINVOKE.BinaryFile_set_ndarray__SWIG_3(swigCPtr, SWIGTYPE_p_float.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), num_dims);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 46
0
 public virtual void get_string_and_label(SWIGTYPE_p_float vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label) {
   modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 47
0
 public virtual void get_matrix(SWIGTYPE_p_float matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec) {
   modshogunPINVOKE.File_get_matrix__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public XYCoord GetXYCoord(SWIGTYPE_p_float ptr) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumFloatImage_GetXYCoord(swigCPtr, SWIGTYPE_p_float.getCPtr(ptr)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 49
0
 public virtual void get_vector(SWIGTYPE_p_float vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingFile_get_vector__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 50
0
 public override void get_string(SWIGTYPE_p_float vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_4(swigCPtr, SWIGTYPE_p_float.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual void drawShadow(SWIGTYPE_p_float m, SWIGTYPE_p_btVector3 extrusion, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 worldBoundsMin, SWIGTYPE_p_btVector3 worldBoundsMax) {
   OpenGLSupportPINVOKE.GL_ShapeDrawer_drawShadow(swigCPtr, SWIGTYPE_p_float.getCPtr(m), SWIGTYPE_p_btVector3.getCPtr(extrusion), SWIGTYPE_p_btCollisionShape.getCPtr(shape), SWIGTYPE_p_btVector3.getCPtr(worldBoundsMin), SWIGTYPE_p_btVector3.getCPtr(worldBoundsMax));
   if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve();
 }
 public override void expand_if_required(SWIGTYPE_p_float vec, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingSparseCharFeatures_expand_if_required__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(vec), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 53
0
 public virtual float apply(SWIGTYPE_p_float vec, int len) {
   float ret = modshogunPINVOKE.OnlineLinearMachine_apply__SWIG_3(swigCPtr, SWIGTYPE_p_float.getCPtr(vec), len);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void calcClosest(SWIGTYPE_p_float m) {
   OpenGLSupportPINVOKE.GL_Simplex1to4_calcClosest(swigCPtr, SWIGTYPE_p_float.getCPtr(m));
 }
Exemplo n.º 55
0
 public static void TMEdgeDetection(FloatImage src, FloatImage destMag, FloatImage destDir, int nrMasks, Mask_Int32 maskTab, SWIGTYPE_p_float alfaTab, Gradient grad) {
   VisionLabPINVOKE.TMEdgeDetection__SWIG_5(FloatImage.getCPtr(src), FloatImage.getCPtr(destMag), FloatImage.getCPtr(destDir), nrMasks, Mask_Int32.getCPtr(maskTab), SWIGTYPE_p_float.getCPtr(alfaTab), (int)grad);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 56
0
 public virtual void get_w(SWIGTYPE_p_float dst_w, SWIGTYPE_p_int dst_dims) {
   modshogunPINVOKE.OnlineLinearMachine_get_w__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(dst_w), SWIGTYPE_p_int.getCPtr(dst_dims));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 57
0
 public float compute_exact_norm(SWIGTYPE_p_VwExample ex, SWIGTYPE_p_float sum_abs_x) {
   float ret = modshogunPINVOKE.VowpalWabbit_compute_exact_norm(swigCPtr, SWIGTYPE_p_VwExample.getCPtr(ex), SWIGTYPE_p_float.getCPtr(sum_abs_x));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 58
0
 public static float rlib_graph(SWIGTYPE_p_rlib r, SWIGTYPE_p_rlib_part part, SWIGTYPE_p_rlib_report report, float left_margin_offset, SWIGTYPE_p_float top_margin_offset)
 {
     float ret = rlibPINVOKE.rlib_graph(SWIGTYPE_p_rlib.getCPtr(r), SWIGTYPE_p_rlib_part.getCPtr(part), SWIGTYPE_p_rlib_report.getCPtr(report), left_margin_offset, SWIGTYPE_p_float.getCPtr(top_margin_offset));
     return ret;
 }
Exemplo n.º 59
0
 public SWIGTYPE_p_float access(int x, int y)
 {
     SWIGTYPE_p_float ret = new SWIGTYPE_p_float(yarpPINVOKE.ImageFloat_access(swigCPtr, x, y), false);
     return ret;
 }
Exemplo n.º 60
0
 public float compute_exact_norm_quad(SWIGTYPE_p_float weights, SWIGTYPE_p_VwFeature page_feature, SWIGTYPE_p_v_arrayT_VwFeature_t offer_features, SWIGTYPE_p_vw_size_t mask, float g, SWIGTYPE_p_float sum_abs_x) {
   float ret = modshogunPINVOKE.VowpalWabbit_compute_exact_norm_quad(swigCPtr, SWIGTYPE_p_float.getCPtr(weights), SWIGTYPE_p_VwFeature.getCPtr(page_feature), SWIGTYPE_p_v_arrayT_VwFeature_t.getCPtr(offer_features), SWIGTYPE_p_vw_size_t.getCPtr(mask), g, SWIGTYPE_p_float.getCPtr(sum_abs_x));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }