I am learning C/C++ for Scientific Computing and I have a question regarding the usage of scientific libraries for basic operations.
Suppose I have to write a small program in C for a bioinformatics project: for some operations I need to use matrices and very basic computations on them (LU for instance). I went through some notes online and it seems like there are different ways to declare matrices in C/C++ like
 or by using double pointers. It is very confusing as a beginner and many say that some of these methods are not efficient.
Then I went through some examples using GSL: it seems really easy and elegant. I will probably just use the functions to declare and set matrices and to use LU decomposition. My question is then: does it make sense to use this library for such a small project? Even simpler: does it make sense to use it just to avoid the complications related to using multidimensional array in C/C++?