AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agx::LSquareComplianceMatrixRow Class Reference

Interface to a row in the compliance matrix. More...

#include <LSquareComplianceMatrix.h>

Public Member Functions

 LSquareComplianceMatrixRow (Real *data, UInt32 size)
 Construct given row data and number of accessible columns.
 
Real & operator[] (UInt32 col)
 Write access to value in given column.
 
Real operator[] (UInt32 col) const
 Read access to value in given column.
 
UInt32 size () const
 

Detailed Description

Interface to a row in the compliance matrix.

Definition at line 27 of file LSquareComplianceMatrix.h.

Constructor & Destructor Documentation

◆ LSquareComplianceMatrixRow()

agx::LSquareComplianceMatrixRow::LSquareComplianceMatrixRow ( Real *  data,
UInt32  size 
)
inline

Construct given row data and number of accessible columns.

Parameters
data- row data
size- number of columns

Definition at line 35 of file LSquareComplianceMatrix.h.

Member Function Documentation

◆ operator[]() [1/2]

Real & agx::LSquareComplianceMatrixRow::operator[] ( UInt32  col)
inline

Write access to value in given column.

Parameters
col- row column
Returns
value at given column

Definition at line 46 of file LSquareComplianceMatrix.h.

References agxAssert.

◆ operator[]() [2/2]

Real agx::LSquareComplianceMatrixRow::operator[] ( UInt32  col) const
inline

Read access to value in given column.

Parameters
col- row column
Returns
value at given column

Definition at line 57 of file LSquareComplianceMatrix.h.

References agxAssert.

◆ size()

UInt32 agx::LSquareComplianceMatrixRow::size ( ) const
inline
Returns
number of accessible columns in this row

Definition at line 66 of file LSquareComplianceMatrix.h.


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