pub unsafe extern "C" fn scale_plus(
n: c_int,
alpha: c_float,
x: *const c_float,
inc_x: c_int,
y: *mut c_float,
inc_y: c_int,
)Expand description
Performs the operation y = alpha * x + y for single-precision vectors.
§Precision
This function operates on f32 complex numbers.
§Parameters
n: The number of elements in the vectors.alpha: The scalar that scales the vectorx.x: A pointer to the input vectorx.inc_x: The increment between elements inx.y: A pointer to the input/output vectory, which stores the result in-place.inc_y: The increment between elements iny.
§Safety
This is an unsafe C function. The caller must ensure that the memory regions accessed by x and y are valid and within bounds.