Gaussian Elimination Function that is Fast

You should take a look at the BenchmarkTools documentation, where it is explained why you should not use global variables when benchmarking. Note the dollar signs in @PetrKryslUCSD’s code. Also, it is nicer to provide example code and outputs in code blocks rather than using screen images. That way other people can copy and paste your examples.

1 Like