src/Matrix/n_matrix.cc
/*  Arguments                              Constructed Array
    ---------           -------------------------------------------------------
        -                An empty array
     nr, nc              An (nr x nc) array, uninitialized
    nr, nc, z            An (nr x nc) array, sets <i|mx|i>=Re(z) & <i<j|mx|j>=z
       nmx               A duplicate of complex array nmx
 
   Note that all constructors invariably call the base class constructor
   (i.e. the one in _matrix) which sets the row & column sizes.  The added
   code should simply allocate the data array of proper size. Similarly, the
   destructor only destroys the data array, anything else is destroyed in
   the base class.                                                           */
Arguments                              Constructed Array

An empty array
nr, nc              An (nr x nc) array, uninitialized
nr, nc, z            An (nr x nc) array, sets =Re(z) & =z
nmx               A duplicate of complex array nmx

Note that all constructors invariably call the base class constructor
which sets the row & column sizes.  The added
code should simply allocate the data array of proper size. Similarly, the
destructor only destroys the data array, anything else is destroyed in
the base class.
Arguments Constructed Array An empty array nr nc An ( nr x nc ) array uninitialized nr nc z An ( nr x nc ) array sets = Re ( z ) & = z nmx A duplicate of complex array nmx Note that all constructors invariably call the base class constructor which sets the row & column sizes . The added code should simply allocate the data array of proper size . Similarly the destructor only destroys the data array anything else is destroyed in the base class .
n_matrix::n_matrix( )            : _matrix()
  {
  data = new complex[size]; 
  unitary = false;
  }
n_matrix :: n_matrix ( ) : _matrix ( ) { data = new complex [ size ] ; unitary = false ; }
Arguments                              Constructed Array
Arguments Constructed Array