![]() |
Stan Math Library
5.3.0
Automatic Differentiation
|
|
inline |
Returns the distance between two scalars.
| T1 | type of first scalar. |
| T2 | type of second scalar |
| x1 | First scalar. |
| x2 | Second scalar. |
| std::domain_error | If the arguments are not finite. |
Definition at line 27 of file distance.hpp.