private c_scale ( int n, Complex32 alpha, [ x ) : void | ||
n | int | |
alpha | Complex32 | |
x | [ | |
return | void |
public override void ScaleArray(Complex32 alpha, Complex32[] x, Complex32[] result) { if (x == null) { throw new ArgumentNullException("x"); } if (!ReferenceEquals(x, result)) { Array.Copy(x, 0, result, 0, x.Length); } if (alpha == Complex32.One) { return; } SafeNativeMethods.c_scale(x.Length, alpha, result); }