public MultitaskKernelPlifNormalizer(SWIGTYPE_p_std__vectorT_double_t support_, SWIGTYPE_p_std__vectorT_int_t task_vector) : this(modshogunPINVOKE.new_MultitaskKernelPlifNormalizer__SWIG_1(SWIGTYPE_p_std__vectorT_double_t.getCPtr(support_), SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_vector)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void getDefaultCCCurve(SWIGTYPE_p_std__vectorT_double_t curve)
 {
     libPhotoAssistantImageProcessingPINVOKE.DirPyrDenoiseParams_getDefaultCCCurve(SWIGTYPE_p_std__vectorT_double_t.getCPtr(curve));
     if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
     {
         throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void slidersToCurve(SWIGTYPE_p_std__vectorT_double_t colorCurve, SWIGTYPE_p_std__vectorT_double_t opacityCurve)
 {
     libPhotoAssistantImageProcessingPINVOKE.ColorToningParams_slidersToCurve(swigCPtr, SWIGTYPE_p_std__vectorT_double_t.getCPtr(colorCurve), SWIGTYPE_p_std__vectorT_double_t.getCPtr(opacityCurve));
     if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
     {
         throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public static void getDefaultOpacityCurveWL(SWIGTYPE_p_std__vectorT_double_t curve)
 {
     libPhotoAssistantImageProcessingPINVOKE.WaveletParams_getDefaultOpacityCurveWL(SWIGTYPE_p_std__vectorT_double_t.getCPtr(curve));
     if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
     {
         throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        public SWIGTYPE_p_std__vectorT_double_t getDoubleConstantList()
        {
            SWIGTYPE_p_std__vectorT_double_t ret = new SWIGTYPE_p_std__vectorT_double_t(OgrePINVOKE.GpuSharedParameters_getDoubleConstantList(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
    public static double root_sum_square(SWIGTYPE_p_std__vectorT_double_t x)
    {
        double ret = CoolPropPINVOKE.root_sum_square(SWIGTYPE_p_std__vectorT_double_t.getCPtr(x));

        if (CoolPropPINVOKE.SWIGPendingException.Pending)
        {
            throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_double_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_double_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#9
0
文件: XsVector.cs 项目: PoxyDoxy/EFAS
        public SWIGTYPE_p_std__vectorT_double_t toVector()
        {
            SWIGTYPE_p_std__vectorT_double_t ret = new SWIGTYPE_p_std__vectorT_double_t(xsensdeviceapiPINVOKE.XsVector_toVector(swigCPtr), true);

            return(ret);
        }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__vectorT_double_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
示例#11
0
    public static double interp1d(SWIGTYPE_p_std__vectorT_double_t x, SWIGTYPE_p_std__vectorT_double_t y, double x0)
    {
        double ret = CoolPropPINVOKE.interp1d(SWIGTYPE_p_std__vectorT_double_t.getCPtr(x), SWIGTYPE_p_std__vectorT_double_t.getCPtr(y), x0);

        return(ret);
    }
 public MultitaskKernelPlifNormalizer(SWIGTYPE_p_std__vectorT_double_t support_, SWIGTYPE_p_std__vectorT_int_t task_vector) : this(modshogunPINVOKE.new_MultitaskKernelPlifNormalizer__SWIG_1(SWIGTYPE_p_std__vectorT_double_t.getCPtr(support_), SWIGTYPE_p_std__vectorT_int_t.getCPtr(task_vector)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }