Stan Math Library
5.1.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
sign()
[1/3]
template<typename T ,
require_all_kernel_expressions_and_none_scalar_t
< T > * = nullptr>
auto stan::math::sign
(
const T &
x
)
Returns signs of the arguments.
Template Parameters
T
type of the argument (
matrix_cl
or kernel generator expression)
Parameters
x
the argument
Returns
sign of
x
Definition at line
18
of file
sign.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.