public override bool init_optimization(int p_count, SWIGTYPE_p_int IDX, SWIGTYPE_p_double alphas) { bool ret = modshogunPINVOKE.WeightedDegreePositionStringKernel_init_optimization__SWIG_0(swigCPtr, p_count, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(alphas)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override void get_matrix(SWIGTYPE_p_unsigned_short matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec) { modshogunPINVOKE.BinaryFile_get_matrix__SWIG_6(swigCPtr, SWIGTYPE_p_unsigned_short.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public override void get_sparse_matrix(RealSparseVector matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec) { modshogunPINVOKE.BinaryFile_get_sparse_matrix__SWIG_7(swigCPtr, RealSparseVector.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual bool setControlModesRaw(SWIGTYPE_p_int modes) { bool ret = yarpPINVOKE.IControlModeRaw_setControlModesRaw__SWIG_1(swigCPtr, SWIGTYPE_p_int.getCPtr(modes)); return ret; }
public void setNamedConstant(string name, SWIGTYPE_p_int val, uint count) { OgrePINVOKE.GpuSharedParameters_setNamedConstant__SWIG_11(swigCPtr, name, SWIGTYPE_p_int.getCPtr(val), count); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public ArArgumentParser(SWIGTYPE_p_int argc, SWIGTYPE_p_p_char argv) : this(AriaCSPINVOKE.new_ArArgumentParser__SWIG_0(SWIGTYPE_p_int.getCPtr(argc), SWIGTYPE_p_p_char.getCPtr(argv)), true) { }
public virtual bool getControlModeRaw(int j, SWIGTYPE_p_int mode) { bool ret = yarpPINVOKE.IControlModeRaw_getControlModeRaw(swigCPtr, j, SWIGTYPE_p_int.getCPtr(mode)); return ret; }
public SWIGTYPE_p_double compute_POIM(int max_degree, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_sym, SWIGTYPE_p_double poim_result, int num_suppvec, SWIGTYPE_p_int IDX, SWIGTYPE_p_double alphas, SWIGTYPE_p_double distrib) { IntPtr cPtr = modshogunPINVOKE.WeightedDegreePositionStringKernel_compute_POIM(swigCPtr, max_degree, SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_sym), SWIGTYPE_p_double.getCPtr(poim_result), num_suppvec, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(alphas), SWIGTYPE_p_double.getCPtr(distrib)); SWIGTYPE_p_double ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_double(cPtr, false); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void get_POIM2(SWIGTYPE_p_p_double poim, SWIGTYPE_p_int result_len) { modshogunPINVOKE.WeightedDegreePositionStringKernel_get_POIM2(swigCPtr, SWIGTYPE_p_p_double.getCPtr(poim), SWIGTYPE_p_int.getCPtr(result_len)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SWIGTYPE_p_double compute_scoring(int max_degree, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_sym, SWIGTYPE_p_double target, int num_suppvec, SWIGTYPE_p_int IDX, SWIGTYPE_p_double weights) { IntPtr cPtr = modshogunPINVOKE.WeightedDegreePositionStringKernel_compute_scoring(swigCPtr, max_degree, SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_sym), SWIGTYPE_p_double.getCPtr(target), num_suppvec, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(weights)); SWIGTYPE_p_double ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_double(cPtr, false); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public string compute_consensus(SWIGTYPE_p_int num_feat, int num_suppvec, SWIGTYPE_p_int IDX, SWIGTYPE_p_double alphas) { string ret = modshogunPINVOKE.WeightedDegreePositionStringKernel_compute_consensus(swigCPtr, SWIGTYPE_p_int.getCPtr(num_feat), num_suppvec, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(alphas)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_double get_position_weights(SWIGTYPE_p_int len) { IntPtr cPtr = modshogunPINVOKE.WeightedDegreePositionStringKernel_get_position_weights(swigCPtr, SWIGTYPE_p_int.getCPtr(len)); SWIGTYPE_p_double ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_double(cPtr, false); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override void compute_batch(int num_vec, SWIGTYPE_p_int vec_idx, SWIGTYPE_p_double target, int num_suppvec, SWIGTYPE_p_int IDX, SWIGTYPE_p_double alphas) { modshogunPINVOKE.WeightedDegreePositionStringKernel_compute_batch__SWIG_1(swigCPtr, num_vec, SWIGTYPE_p_int.getCPtr(vec_idx), SWIGTYPE_p_double.getCPtr(target), num_suppvec, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(alphas)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual bool init_optimization(int count, SWIGTYPE_p_int IDX, SWIGTYPE_p_double alphas, int tree_num) { bool ret = modshogunPINVOKE.WeightedDegreePositionStringKernel_init_optimization__SWIG_2(swigCPtr, count, SWIGTYPE_p_int.getCPtr(IDX), SWIGTYPE_p_double.getCPtr(alphas), tree_num); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool checkParameterArgumentInteger(string argument, SWIGTYPE_p_int dest, SWIGTYPE_p_bool wasReallySet, bool returnFirst) { bool ret = AriaCSPINVOKE.ArArgumentParser_checkParameterArgumentInteger__SWIG_0(swigCPtr, argument, SWIGTYPE_p_int.getCPtr(dest), SWIGTYPE_p_bool.getCPtr(wasReallySet), returnFirst); return(ret); }
public WeightedDegreePositionStringKernel(int size, SWIGTYPE_p_double weights, int degree, int max_mismatch, SWIGTYPE_p_int shift, int shift_len) : this(modshogunPINVOKE.new_WeightedDegreePositionStringKernel__SWIG_5(size, SWIGTYPE_p_double.getCPtr(weights), degree, max_mismatch, SWIGTYPE_p_int.getCPtr(shift), shift_len), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public bool checkParameterArgumentInteger(string argument, SWIGTYPE_p_int dest) { bool ret = AriaCSPINVOKE.ArArgumentParser_checkParameterArgumentInteger__SWIG_2(swigCPtr, argument, SWIGTYPE_p_int.getCPtr(dest)); return(ret); }
public virtual bool setPositionsRaw(int n_joint, SWIGTYPE_p_int joints, SWIGTYPE_p_double refs) { bool ret = yarpPINVOKE.IPositionDirectRaw_setPositionsRaw__SWIG_0(swigCPtr, n_joint, SWIGTYPE_p_int.getCPtr(joints), SWIGTYPE_p_double.getCPtr(refs)); return(ret); }
public bool GetTime(SWIGTYPE_p_int pHour, SWIGTYPE_p_int pMinute, SWIGTYPE_p_int pSecond, SWIGTYPE_p_int pFrame, SWIGTYPE_p_int pField, SWIGTYPE_p_int pResidual) { bool ret = fbx_wrapperPINVOKE.FbxTime_GetTime__SWIG_1(swigCPtr, SWIGTYPE_p_int.getCPtr(pHour), SWIGTYPE_p_int.getCPtr(pMinute), SWIGTYPE_p_int.getCPtr(pSecond), SWIGTYPE_p_int.getCPtr(pFrame), SWIGTYPE_p_int.getCPtr(pField), SWIGTYPE_p_int.getCPtr(pResidual)); if (fbx_wrapperPINVOKE.SWIGPendingException.Pending) { throw fbx_wrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void GetFileFormatVersion(SWIGTYPE_p_int pMajor, SWIGTYPE_p_int pMinor, SWIGTYPE_p_int pRevision) { fbx_wrapperPINVOKE.FbxManager_GetFileFormatVersion(SWIGTYPE_p_int.getCPtr(pMajor), SWIGTYPE_p_int.getCPtr(pMinor), SWIGTYPE_p_int.getCPtr(pRevision)); if (fbx_wrapperPINVOKE.SWIGPendingException.Pending) { throw fbx_wrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual bool setControlModesRaw(int n_joint, SWIGTYPE_p_int joints, SWIGTYPE_p_int modes) { bool ret = yarpPINVOKE.IControlModeRaw_setControlModesRaw__SWIG_0(swigCPtr, n_joint, SWIGTYPE_p_int.getCPtr(joints), SWIGTYPE_p_int.getCPtr(modes)); return ret; }
public override void draw(SWIGTYPE_p_int parentHorPos, SWIGTYPE_p_int parentVertPos, float deltaTime) { OpenGLSupportPINVOKE.GL_ToggleControl_draw(swigCPtr, SWIGTYPE_p_int.getCPtr(parentHorPos), SWIGTYPE_p_int.getCPtr(parentVertPos), deltaTime); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public override void expand_if_required(SWIGTYPE_p_float vec, SWIGTYPE_p_int len) { modshogunPINVOKE.StreamingSparseBoolFeatures_expand_if_required__SWIG_0(swigCPtr, SWIGTYPE_p_float.getCPtr(vec), SWIGTYPE_p_int.getCPtr(len)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual bool getAxes(SWIGTYPE_p_int ax) { bool ret = yarpPINVOKE.IPositionDirect_getAxes__SWIG_0(swigCPtr, SWIGTYPE_p_int.getCPtr(ax)); return(ret); }
public override void get_vector(SWIGTYPE_p_unsigned_short vector, SWIGTYPE_p_int len) { modshogunPINVOKE.BinaryFile_get_vector__SWIG_6(swigCPtr, SWIGTYPE_p_unsigned_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual bool getRefPositions(int n_joint, SWIGTYPE_p_int joints, SWIGTYPE_p_double refs) { bool ret = yarpPINVOKE.IPositionDirect_getRefPositions__SWIG_1(swigCPtr, n_joint, SWIGTYPE_p_int.getCPtr(joints), SWIGTYPE_p_double.getCPtr(refs)); return(ret); }
public override void get_ndarray(SWIGTYPE_p_unsigned_short array, SWIGTYPE_p_int dims, SWIGTYPE_p_int num_dims) { modshogunPINVOKE.BinaryFile_get_ndarray__SWIG_6(swigCPtr, SWIGTYPE_p_unsigned_short.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), SWIGTYPE_p_int.getCPtr(num_dims)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual SWIGTYPE_p_double get_distance_matrix_real(SWIGTYPE_p_int m, SWIGTYPE_p_int n, SWIGTYPE_p_double target) { IntPtr cPtr = modshogunPINVOKE.Distance_get_distance_matrix_real(swigCPtr, SWIGTYPE_p_int.getCPtr(m), SWIGTYPE_p_int.getCPtr(n), SWIGTYPE_p_double.getCPtr(target)); SWIGTYPE_p_double ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_double(cPtr, false); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override void get_string_list(SWIGTYPE_p_shogun__SGStringT_float_t strings, SWIGTYPE_p_int num_str, SWIGTYPE_p_int max_string_len) { modshogunPINVOKE.BinaryFile_get_string_list__SWIG_5(swigCPtr, SWIGTYPE_p_shogun__SGStringT_float_t.getCPtr(strings), SWIGTYPE_p_int.getCPtr(num_str), SWIGTYPE_p_int.getCPtr(max_string_len)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public FbxAxisSystem.EUpVector GetUpVector(SWIGTYPE_p_int pSign) { FbxAxisSystem.EUpVector ret = (FbxAxisSystem.EUpVector)FbxWrapperNativePINVOKE.FbxAxisSystem_GetUpVector(swigCPtr, SWIGTYPE_p_int.getCPtr(pSign)); if (FbxWrapperNativePINVOKE.SWIGPendingException.Pending) { throw FbxWrapperNativePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }