Relative Content

Tag Archive for multidimensional-arrayc++17c++-templates

How to interpret C++ template with deduced array sizes

I wrote a template that correctly deduces the size of a square matrix. I got this from looking for online solutions, but not sure I understand the inner workings of the template. The purpose of the template function is to compare two square matrices of the same size to verify that they are nearly equal.