示例#1
0
 public virtual void get_vector(SWIGTYPE_p_short vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingFile_get_vector__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public virtual void get_string_and_label(SWIGTYPE_p_short vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label)
 {
     modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public virtual void get_ndarray(SWIGTYPE_p_short array, SWIGTYPE_p_int dims, SWIGTYPE_p_int num_dims)
 {
     modshogunPINVOKE.File_get_ndarray__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), SWIGTYPE_p_int.getCPtr(num_dims));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public override void get_string(SWIGTYPE_p_short vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
 public virtual void set_matrix(SWIGTYPE_p_short matrix, int num_feat, int num_vec)
 {
     modshogunPINVOKE.File_set_matrix__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(matrix), num_feat, num_vec);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#6
0
 public override void set_vector(SWIGTYPE_p_short vector, int len)
 {
     modshogunPINVOKE.BinaryFile_set_vector__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), len);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#7
0
 public override void get_matrix(SWIGTYPE_p_short matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec)
 {
     modshogunPINVOKE.BinaryFile_get_matrix__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#8
0
    public static double dot(SWIGTYPE_p_short v1, SWIGTYPE_p_short v2, int n)
    {
        double ret = modshogunPINVOKE.Math_dot__SWIG_9(SWIGTYPE_p_short.getCPtr(v1), SWIGTYPE_p_short.getCPtr(v2), n);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#9
0
    public XYCoord GetXYCoord(SWIGTYPE_p_short ptr)
    {
        XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumInt16Image_GetXYCoord(swigCPtr, SWIGTYPE_p_short.getCPtr(ptr)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#10
0
 public ArConfigArg(string name, SWIGTYPE_p_short pointer) : this(AriaCSPINVOKE.new_ArConfigArg__SWIG_6(name, SWIGTYPE_p_short.getCPtr(pointer)), true)
 {
 }
示例#11
0
 public ArConfigArg(string name, SWIGTYPE_p_short pointer, string description) : this(AriaCSPINVOKE.new_ArConfigArg__SWIG_5(name, SWIGTYPE_p_short.getCPtr(pointer), description), true)
 {
 }