Solver3x3.h 840 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <NumericalMethods/Eigenanalysis.h>
  10. namespace NumericalMethods::Eigenanalysis
  11. {
  12. //! Finds the eigenvalues and vectors of the symmetric matrix whose unique elements are given (see Eberly).
  13. //! @param a<ij> The element of the matrix in row i, column j.
  14. //! @return Orthonormal eigenbasis of the matrix and the corresponding eigenvalues.
  15. SolverResult<Real, 3> NonIterativeSymmetricEigensolver3x3(
  16. double a00, double a01, double a02,
  17. double a11, double a12,
  18. double a22
  19. );
  20. } // namespace NumericalMethods::Eigenanalysis