klyn.math.Complex.operator*
method
public static operator*(notnull c1 as Complex<FLOAT_TYPE>, value as FLOAT_TYPE) as Complex<FLOAT_TYPE>
Description

Scales both components without allocating an intermediate complex value.

Parameters
ParameterDescription
c1Complex value to scale.
valueScalar multiplier.
Returns

Scaled complex value with the same component type.

Example

assert (Complex<Double>(2.0, 4.0) * 2.0).imag == 8.0