Sign in
◑
Theme
eigen
/
mirror
/
3b4bb6deb6b9e6bd67719d7d9036baf53b4e4b26
/
.
/
doc
/
snippets
/
MatrixBase_operatorNorm.cpp
blob: 599e4b0b9bd72c16f807b461c91864455f4e77bc [
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
.
operatorNorm
()
<<
endl
;