Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
math_DoubleTab Class Reference

#include <math_DoubleTab.hxx>

Public Member Functions

 math_DoubleTab (const int theLowerRow, const int theUpperRow, const int theLowerCol, const int theUpperCol)
 Constructor for ranges [theLowerRow..theUpperRow, theLowerCol..theUpperCol].
 
 math_DoubleTab (void *const theTab, const int theLowerRow, const int theUpperRow, const int theLowerCol, const int theUpperCol)
 Constructor from external data array.
 
void Init (const double theInitValue)
 Initialize all elements with theInitValue.
 
 math_DoubleTab (const math_DoubleTab &theOther)
 Copy constructor.
 
 math_DoubleTab (math_DoubleTab &&theOther) noexcept
 Move constructor.
 
void Copy (math_DoubleTab &theOther) const
 Copy data to theOther.
 
bool IsDeletable () const
 Returns true if the internal array is deletable (heap-allocated)
 
void SetLowerRow (const int theLowerRow)
 Set lower row index.
 
void SetLowerCol (const int theLowerCol)
 Set lower column index.
 
int LowerRow () const noexcept
 Get lower row index.
 
int UpperRow () const noexcept
 Get upper row index.
 
int LowerCol () const noexcept
 Get lower column index.
 
int UpperCol () const noexcept
 Get upper column index.
 
int NbRows () const noexcept
 Get number of rows.
 
int NbColumns () const noexcept
 Get number of columns.
 
const doubleValue (const int theRowIndex, const int theColIndex) const
 Access element at (theRowIndex, theColIndex)
 
doubleValue (const int theRowIndex, const int theColIndex)
 Change element at (theRowIndex, theColIndex)
 
const doubleoperator() (const int theRowIndex, const int theColIndex) const
 Operator() - alias to Value.
 
doubleoperator() (const int theRowIndex, const int theColIndex)
 Operator() - alias to ChangeValue.
 
math_DoubleTaboperator= (const math_DoubleTab &theOther)
 Assignment operator.
 
math_DoubleTaboperator= (math_DoubleTab &&theOther) noexcept
 Move assignment operator.
 
 ~math_DoubleTab ()=default
 Destructor.
 

Constructor & Destructor Documentation

◆ math_DoubleTab() [1/4]

math_DoubleTab::math_DoubleTab ( const int theLowerRow,
const int theUpperRow,
const int theLowerCol,
const int theUpperCol )
inline

Constructor for ranges [theLowerRow..theUpperRow, theLowerCol..theUpperCol].

◆ math_DoubleTab() [2/4]

math_DoubleTab::math_DoubleTab ( void *const theTab,
const int theLowerRow,
const int theUpperRow,
const int theLowerCol,
const int theUpperCol )
inline

Constructor from external data array.

◆ math_DoubleTab() [3/4]

math_DoubleTab::math_DoubleTab ( const math_DoubleTab & theOther)
inline

Copy constructor.

◆ math_DoubleTab() [4/4]

math_DoubleTab::math_DoubleTab ( math_DoubleTab && theOther)
inlinenoexcept

Move constructor.

◆ ~math_DoubleTab()

math_DoubleTab::~math_DoubleTab ( )
default

Destructor.

Member Function Documentation

◆ Copy()

void math_DoubleTab::Copy ( math_DoubleTab & theOther) const
inline

Copy data to theOther.

◆ Init()

void math_DoubleTab::Init ( const double theInitValue)
inline

Initialize all elements with theInitValue.

◆ IsDeletable()

bool math_DoubleTab::IsDeletable ( ) const
inline

Returns true if the internal array is deletable (heap-allocated)

◆ LowerCol()

int math_DoubleTab::LowerCol ( ) const
inlinenoexcept

Get lower column index.

◆ LowerRow()

int math_DoubleTab::LowerRow ( ) const
inlinenoexcept

Get lower row index.

◆ NbColumns()

int math_DoubleTab::NbColumns ( ) const
inlinenoexcept

Get number of columns.

◆ NbRows()

int math_DoubleTab::NbRows ( ) const
inlinenoexcept

Get number of rows.

◆ operator()() [1/2]

double & math_DoubleTab::operator() ( const int theRowIndex,
const int theColIndex )
inline

Operator() - alias to ChangeValue.

◆ operator()() [2/2]

const double & math_DoubleTab::operator() ( const int theRowIndex,
const int theColIndex ) const
inline

Operator() - alias to Value.

◆ operator=() [1/2]

math_DoubleTab & math_DoubleTab::operator= ( const math_DoubleTab & theOther)
inline

Assignment operator.

◆ operator=() [2/2]

math_DoubleTab & math_DoubleTab::operator= ( math_DoubleTab && theOther)
inlinenoexcept

Move assignment operator.

◆ SetLowerCol()

void math_DoubleTab::SetLowerCol ( const int theLowerCol)
inline

Set lower column index.

◆ SetLowerRow()

void math_DoubleTab::SetLowerRow ( const int theLowerRow)
inline

Set lower row index.

◆ UpperCol()

int math_DoubleTab::UpperCol ( ) const
inlinenoexcept

Get upper column index.

◆ UpperRow()

int math_DoubleTab::UpperRow ( ) const
inlinenoexcept

Get upper row index.

◆ Value() [1/2]

double & math_DoubleTab::Value ( const int theRowIndex,
const int theColIndex )
inline

Change element at (theRowIndex, theColIndex)

◆ Value() [2/2]

const double & math_DoubleTab::Value ( const int theRowIndex,
const int theColIndex ) const
inline

Access element at (theRowIndex, theColIndex)


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