base: classes DirectVector and ReciprocalVector: inherit from Eigen::Vector3d; don't check bounds in operator[int]
Use inheritance instead of association. In a second step, consider whether these classes are needed at all - couldn't we just use the Eigen vector classes?
If bound checks are needed, then provide a function at(int)
, to stay consistent with std::vector.
Edited by Raza, Zamaan