Example #1
0
        public SWIGTYPE_p_signed_char getSignedValue()
        {
            global::System.IntPtr  cPtr = libPhotoAssistantImageProcessingPINVOKE.Tag_getSignedValue(swigCPtr);
            SWIGTYPE_p_signed_char ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_signed_char(cPtr, false);

            return(ret);
        }
Example #2
0
 public virtual void set_int8_matrix(SWIGTYPE_p_signed_char matrix, int num_feat, int num_vec)
 {
     modshogunPINVOKE.File_set_int8_matrix(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(matrix), num_feat, num_vec);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public virtual void set_int8_ndarray(SWIGTYPE_p_signed_char array, SWIGTYPE_p_int dims, int num_dims)
 {
     modshogunPINVOKE.AsciiFile_set_int8_ndarray(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), num_dims);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public virtual void get_string_and_label(SWIGTYPE_p_signed_char vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label)
 {
     modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_8(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public override void get_string(SWIGTYPE_p_signed_char vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_8(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 public virtual void get_vector(SWIGTYPE_p_signed_char vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingFile_get_vector__SWIG_8(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
    public static double dot(SWIGTYPE_p_signed_char v1, SWIGTYPE_p_signed_char v2, int n)
    {
        double ret = modshogunPINVOKE.Math_dot__SWIG_12(SWIGTYPE_p_signed_char.getCPtr(v1), SWIGTYPE_p_signed_char.getCPtr(v2), n);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #8
0
    public PResult ReadByte(SWIGTYPE_p_signed_char value)
    {
        PResult ret = new PResult(PapillonPINVOKE.PByteStream_ReadByte(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(value)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(SWIGTYPE_p_signed_char obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #10
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_signed_char obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #11
0
 public virtual void get_string_and_label(SWIGTYPE_p_signed_char vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label) {
   modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_8(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #12
0
 public virtual void get_vector(SWIGTYPE_p_signed_char vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingFile_get_vector__SWIG_8(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_signed_char obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #14
0
 public static double dot(SWIGTYPE_p_signed_char v1, SWIGTYPE_p_signed_char v2, int n) {
   double ret = modshogunPINVOKE.Math_dot__SWIG_12(SWIGTYPE_p_signed_char.getCPtr(v1), SWIGTYPE_p_signed_char.getCPtr(v2), n);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #15
0
 public override void get_string(SWIGTYPE_p_signed_char vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_8(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #16
0
 public virtual void set_int8_matrix(SWIGTYPE_p_signed_char matrix, int num_feat, int num_vec) {
   modshogunPINVOKE.File_set_int8_matrix(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(matrix), num_feat, num_vec);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #17
0
 public virtual void set_int8_ndarray(SWIGTYPE_p_signed_char array, SWIGTYPE_p_int dims, int num_dims) {
   modshogunPINVOKE.AsciiFile_set_int8_ndarray(swigCPtr, SWIGTYPE_p_signed_char.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), num_dims);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }