Use of C++20 concept in regularization module
Part of
#104 (closed)