Sign in
eigen
/
mirror
/
90dfbc054ed49f7999e506ccd0d8436a61261395
/
.
/
doc
/
snippets
/
Cwise_isFinite.cpp
blob: 744cdaf7bb28a0b991469f3a5086ea379cee14d5 [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
Array3d
v
(
1
,
2
,
3
);
v
(
1
)
*=
0.0
/
0.0
;
v
(
2
)
/=
0.0
;
cout
<<
v
<<
endl
<<
endl
;
cout
<<
isfinite
(
v
)
<<
endl
;