private d_dot_product ( int n, double x, double y ) : double | ||
n | int | |
x | double | |
y | double | |
return | double |
public override double DotProduct(double[] x, double[] 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.d_dot_product(x.Length, x, y)); }
public override double DotProduct(double[] x, double[] y) { if (y == null) { throw new ArgumentNullException("y"); } if (x == null) { throw new ArgumentNullException("x"); } if (x.Length != y.Length) { throw new ArgumentException(Resources.ArgumentArraysSameLength); } return(SafeNativeMethods.d_dot_product(x.Length, x, y)); }