CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
Sqr.h File Reference

Go to the source code of this file.

Macros

#define CLHEP_SQR_DEFINED
 

Functions

template<class T >
sqr (const T &x)
 

Macro Definition Documentation

◆ CLHEP_SQR_DEFINED

#define CLHEP_SQR_DEFINED

Definition at line 16 of file Sqr.h.

Function Documentation

◆ sqr()

template<class T >
T sqr ( const T &  x)
inline

Definition at line 21 of file Sqr.h.

21 {
22 return x*x;
23}

Referenced by main().