Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
doc
/
snippets
/
Cwise_isInf.cpp
blob: 0a623c5d956be9d4dffa378b9a7f7b5f85c79a0a [
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
<<
isinf
(
v
)
<<
endl
;