Beispiel #1
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();
     }
 }
Beispiel #2
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();
     }
 }
 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();
     }
 }
Beispiel #4
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();
     }
 }
Beispiel #5
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();
     }
 }
Beispiel #6
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);
    }
Beispiel #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);
    }