There is a function in numpy - numpy.linalg.norm . I want to replicate it in Postgresql to calculate distance between my value and values stored in the database
numpy.linalg.norm