Sign in
◑
Theme
eigen
/
mirror
/
584581e27901fec13beb2164877872d105a3d6ea
/
.
/
doc
/
snippets
/
Cwise_tanh.cpp
blob: 467da3a63593967a3a438619f441ed41aaec1350 [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
ArrayXd
v
=
ArrayXd
::
LinSpaced
(
5
,
0
,
1
);
cout
<<
tanh
(
v
)
<<
endl
;