MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / is_I_low

Function is_I_low

include/thundersvm/kernel/smo_kernel.h:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 }
16
17 __host__ __device__ inline bool is_I_low(float_type a, float_type y, float_type Cp, float_type Cn) {
18 return (y > 0 && a > 0) || (y < 0 && a < Cn);
19 }
20
21 __host__ __device__ inline bool is_free(float_type a, float_type y, float_type Cp, float_type Cn) {
22 return a > 0 && (y > 0 ? a < Cp : a < Cn);

Callers 5

calculate_rhoMethod · 0.85
select_working_setMethod · 0.85
select_working_setMethod · 0.85
calculate_rhoMethod · 0.85
c_smo_solve_kernelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected