public override Complex DotProduct(Complex[] x, Complex[] y) { if (y == null) { throw new ArgumentNullException(nameof(y)); } if (x == null) { throw new ArgumentNullException(nameof(x)); } if (x.Length != y.Length) { throw new ArgumentException(Resources.ArgumentArraysSameLength); } return(SafeNativeMethods.z_dot_product(_blasHandle, x.Length, x, y)); }
public override Complex DotProduct(Complex[] x, Complex[] y) { if (y == null) { throw new ArgumentNullException(nameof(y)); } if (x == null) { throw new ArgumentNullException(nameof(x)); } if (x.Length != y.Length) { throw new ArgumentException("The array arguments must have the same length."); } return(SafeNativeMethods.z_dot_product(_blasHandle, x.Length, x, y)); }