pub unsafe extern "C" fn set(
n: c_int,
alpha: *const Complex<c_double>,
x: *mut Complex<c_double>,
inc_x: c_int,
)Expand description
Sets all elements in the double-precision complex vector x to the given complex value alpha.
§Precision
This function operates on Complex<f64> complex numbers.
§Parameters
n: The number of elements in the vectorx.alpha: A pointer to the complex value to set all elements ofx.x: A pointer to the vector to be modified in-place.inc_x: The increment between elements inx.
§Safety
This is an unsafe C function. The caller must ensure that the memory region accessed by x
(up to n * inc_x) is valid and within bounds.