The syntax that I used for dynamically allocating a 2D array is
float (*points_)  = new float[npoints_];
This approach worked quite well, unless I had a need to make points_ as my class variable.
I declared float **points_ as a private data memeber of my class
in the constructor when I'am trying to allocate the 2D array, I cannot figure out what could be the syntax, as I uderstand I need to define points_ as a pointer to an array of 3 elements but (*points_) = new float[npoints_] returns an error message.
Even though dynamic allocation is fun, it sucks not to know the synatx.
Any suggestions will be greatly appreciated,