Sign in
◑
Theme
eigen
/
mirror
/
584581e27901fec13beb2164877872d105a3d6ea
/
.
/
doc
/
snippets
/
SelfAdjointView_operatorNorm.cpp
blob: e202732034357d5fbf6523683f88882a73b40060 [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
MatrixXd
ones
=
MatrixXd
::
Ones
(
3
,
3
);
cout
<<
"The operator norm of the 3x3 matrix of ones is "
<<
ones
.
selfadjointView
<
Lower
>().
operatorNorm
()
<<
endl
;