Open 3D Engine PhysX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
NumericalMethods::Eigenanalysis::SquareMatrix< Scalar, D > Class Template Reference

#include <Eigenanalysis.h>

Public Types

using Row = AZStd::array< Scalar, D >
 Type declaration for individual rows.
 

Public Member Functions

Rowoperator[] (int row)
 
const Rowoperator[] (int row) const
 

Public Attributes

AZStd::array< Row, D > m_rows
 The matrix expressed in row-major form.
 

Detailed Description

template<typename Scalar, unsigned int D>
class NumericalMethods::Eigenanalysis::SquareMatrix< Scalar, D >

Class used to represent square matrices to pass to the eigensolver requests. The template parameter defines the dimensions of the matrix.

Member Function Documentation

◆ operator[]() [1/2]

template<typename Scalar , unsigned int D>
Row & NumericalMethods::Eigenanalysis::SquareMatrix< Scalar, D >::operator[] ( int  row)
inline

Row accessor. Delegates directly to the underlying row array. No bounds checking.

Returns
Returns a reference to a row, which itself can be dereferenced.

◆ operator[]() [2/2]

template<typename Scalar , unsigned int D>
const Row & NumericalMethods::Eigenanalysis::SquareMatrix< Scalar, D >::operator[] ( int  row) const
inline

Row accessor. Delegates directly to the underlying array. No bounds checking.

Returns
Returns a constant reference to a row, which itself can be dereferenced.

The documentation for this class was generated from the following file: