Code Documentation 3.1
Social Network Visualizer
Loading...
Searching...
No Matches
MatrixRow Class Reference

#include <matrix.h>

Public Member Functions

 MatrixRow (int cols=0)
 
 ~MatrixRow ()
 
MatrixRowoperator= (MatrixRow &a)
 
qreal column (int c) const
 
qreal & operator[] (const int k)
 
void setColumn (int index, qreal elem)
 
void clearColumn (int index)
 
void resize (int cols)
 
void setSize (int cols)
 

Private Attributes

qreal * cell
 
int m_cols
 

Constructor & Destructor Documentation

◆ MatrixRow()

MatrixRow::MatrixRow ( int  cols = 0)
inline

◆ ~MatrixRow()

MatrixRow::~MatrixRow ( )
inline

Member Function Documentation

◆ clearColumn()

void MatrixRow::clearColumn ( int  index)
inline

◆ column()

qreal MatrixRow::column ( int  c) const
inline

◆ operator=()

MatrixRow & MatrixRow::operator= ( MatrixRow a)
inline

◆ operator[]()

qreal & MatrixRow::operator[] ( const int  k)
inline

◆ resize()

void MatrixRow::resize ( int  cols)
inline

◆ setColumn()

void MatrixRow::setColumn ( int  index,
qreal  elem 
)
inline

◆ setSize()

void MatrixRow::setSize ( int  cols)
inline

Field Documentation

◆ cell

qreal* MatrixRow::cell
private

◆ m_cols

int MatrixRow::m_cols
private

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