FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
math::Matrix3 Class Reference

A class representing a 3x3 matrix. More...

#include "geometry_ops.h"

Public Member Functions

const RealTypegetData () const noexcept
 Get the matrix data as a constant pointer.
 
RealTypegetData () noexcept
 Get the matrix data as a modifiable pointer.
 

Public Attributes

std::array< RealType, 9 > elements {}
 The 3x3 matrix elements.
 

Detailed Description

A class representing a 3x3 matrix.

Definition at line 28 of file geometry_ops.h.

Member Function Documentation

◆ getData() [1/2]

const RealType * math::Matrix3::getData ( ) const
noexcept

Get the matrix data as a constant pointer.

Returns
A constant pointer to the matrix elements.

Definition at line 38 of file geometry_ops.h.

38{ return elements.data(); }
std::array< RealType, 9 > elements
The 3x3 matrix elements.

References elements.

◆ getData() [2/2]

RealType * math::Matrix3::getData ( )
noexcept

Get the matrix data as a modifiable pointer.

Returns
A pointer to the matrix elements.

Definition at line 45 of file geometry_ops.h.

45{ return elements.data(); }

References elements.

Member Data Documentation

◆ elements

std::array<RealType, 9> math::Matrix3::elements {}

The 3x3 matrix elements.

Definition at line 31 of file geometry_ops.h.

31{}; ///< The 3x3 matrix elements

Referenced by getData(), and getData().


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