public float compute_exact_norm_quad(SWIGTYPE_p_float weights, SWIGTYPE_p_VwFeature page_feature, SWIGTYPE_p_v_arrayT_VwFeature_t offer_features, SWIGTYPE_p_vw_size_t mask, float g, SWIGTYPE_p_float sum_abs_x) { float ret = modshogunPINVOKE.VowpalWabbit_compute_exact_norm_quad(swigCPtr, SWIGTYPE_p_float.getCPtr(weights), SWIGTYPE_p_VwFeature.getCPtr(page_feature), SWIGTYPE_p_v_arrayT_VwFeature_t.getCPtr(offer_features), SWIGTYPE_p_vw_size_t.getCPtr(mask), g, SWIGTYPE_p_float.getCPtr(sum_abs_x)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(SWIGTYPE_p_VwFeature obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
internal static HandleRef getCPtr(SWIGTYPE_p_VwFeature obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public float compute_exact_norm_quad(SWIGTYPE_p_float weights, SWIGTYPE_p_VwFeature page_feature, SWIGTYPE_p_v_arrayT_VwFeature_t offer_features, SWIGTYPE_p_vw_size_t mask, float g, SWIGTYPE_p_float sum_abs_x) { float ret = modshogunPINVOKE.VowpalWabbit_compute_exact_norm_quad(swigCPtr, SWIGTYPE_p_float.getCPtr(weights), SWIGTYPE_p_VwFeature.getCPtr(page_feature), SWIGTYPE_p_v_arrayT_VwFeature_t.getCPtr(offer_features), SWIGTYPE_p_vw_size_t.getCPtr(mask), g, SWIGTYPE_p_float.getCPtr(sum_abs_x)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }