public override void CholeskyFactor(Complex32[] a, int order) { if (a == null) { throw new ArgumentNullException(nameof(a)); } if (order < 1) { throw new ArgumentException("Value must be positive.", nameof(order)); } if (a.Length != order * order) { throw new ArgumentException("The array arguments must have the same length.", nameof(a)); } Solver(SafeNativeMethods.c_cholesky_factor(_solverHandle, order, a)); }
public override void CholeskyFactor(Complex32[] a, int order) { if (a == null) { throw new ArgumentNullException("a"); } if (order < 1) { throw new ArgumentException(Resources.ArgumentMustBePositive, "order"); } if (a.Length != order * order) { throw new ArgumentException(Resources.ArgumentArraysSameLength, "a"); } Solver(SafeNativeMethods.c_cholesky_factor(_solverHandle, order, a)); }