/usr/include/CLHEP/Vector/Sqr.h is in libclhep-dev 2.1.4.1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | // -*- C++ -*-
// CLASSDOC OFF
// $Id: Sqr.h,v 1.1 2003/07/22 21:29:12 garren Exp $
// ---------------------------------------------------------------------------
// CLASSDOC ON
//
// This file is a part of the CLHEP - a Class Library for High Energy Physics.
//
// This file contains a template definition of sqr()
// sqr() is used only by Vector/test/testLorentzVector.cc
//
#ifndef HEP_SQR_H
#define HEP_SQR_H
#ifndef CLHEP_SQR_DEFINED
#define CLHEP_SQR_DEFINED
#ifdef sqr
#undef sqr
#endif
template <class T>
inline T sqr(const T& x) {
return x*x;
}
#endif
#endif /* HEP_SQR_H */
|