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

Multiplies a scalar by a complex value.

Parameters
ParameterDescription
valueScalar multiplier.
c1Complex value to scale.
Returns

Scaled complex value with the same component type.

Example

assert (3.0 * Complex<Double>(2.0, 4.0)).real == 6.0