public override void CholeskyFactor(Complex[] a, int order) { if (a == null) { throw new ArgumentNullException(nameof(a)); } if (order < 1) { throw new ArgumentException(Resources.ArgumentMustBePositive, nameof(order)); } if (a.Length != order * order) { throw new ArgumentException(Resources.ArgumentArraysSameLength, nameof(a)); } Solver(SafeNativeMethods.z_cholesky_factor(_solverHandle, order, a)); }
public override void CholeskyFactor(Complex[] 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.z_cholesky_factor(_solverHandle, order, a)); }