Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
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
;