xc
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ProtoMatrix Class Referenceabstract
Inheritance diagram for ProtoMatrix:
Inheritance graph
[legend]

Public Member Functions

 ProtoMatrix (size_t n_rows=1, size_t n_columns=1)
 
 ProtoMatrix (const ProtoMatrix &other)
 
ProtoMatrixoperator= (const ProtoMatrix &m)
 
virtual bool operator== (const ProtoMatrix &other) const
 
virtual void resize (size_t n_rows, size_t n_columns)
 
virtual size_t Tam (void)
 
size_t getNumberOfRows (void) const
 
size_t getNumberOfColumns (void) const
 
bool CheckIndices (const size_t &f, const size_t &c) const
 
bool interior (const size_t &i, const size_t &j) const
 Return true if the indices correspond to a component.
 
int Cuadrada (void) const
 
bool isRow (void) const
 
bool isColumn (void) const
 
virtual void Print (std::ostream &os) const =0
 

Protected Member Functions

void PutDim (size_t nRows, size_t nCols)
 
void inic (size_t n_rows, size_t n_columns)
 
virtual bool check_range (const size_t &iRow, const size_t &col) const
 
void check_put_box (size_t f, size_t c, const ProtoMatrix &box) const
 
void check_get_box (size_t f1, size_t c1, size_t f2, size_t c2) const
 
void check_sto_sum (const ProtoMatrix &m) const
 
void check_sto_dif (const ProtoMatrix &m) const
 
void check_traza (void) const
 

Protected Attributes

size_t n_rows
 
size_t n_columns
 

Friends

int check_dot (const ProtoMatrix &v1, const ProtoMatrix &v2)
 
int check_sum (const ProtoMatrix &m1, const ProtoMatrix &m2)
 
int check_dif (const ProtoMatrix &m1, const ProtoMatrix &m2)
 
int check_prod (const ProtoMatrix &m1, const ProtoMatrix &m2)
 
bool compareRowNumber (const ProtoMatrix &m1, const ProtoMatrix &m2)
 
bool compareColumnNumber (const ProtoMatrix &m1, const ProtoMatrix &m2)
 
bool CompDim (const ProtoMatrix &m1, const ProtoMatrix &m2)
 
std::ostream & operator<< (std::ostream &os, const ProtoMatrix &m)
 

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