|
SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
An abstract class, representing all the matrix-like data types. More...
#include <types_basic.hpp>


Public Member Functions | |
| virtual | ~MatrixType () |
| Empty destructor. | |
| virtual size_t | cols () const =0 |
| Returns number of columns. | |
| virtual size_t | rows () const =0 |
| Returns number of rows. | |
| virtual void | init (size_t cols, size_t rows)=0 |
| Initializes the matrix with a specified number of cols and rows. | |
| virtual void | init (size_t cols, size_t rows, T initVal)=0 |
| Initializes the matrix with a specified number of cols and rows and fills it with 'val'. | |
| virtual T & | operator() (size_t col, size_t row)=0 |
| Accesses an element in the matrix. Doesn't check for bounds. | |
| virtual const T & | operator() (size_t col, size_t row) const =0 |
| Accesses an element in the matrix. Doesn't check for bounds. | |
Public Member Functions inherited from ArrayType< T > | |
| virtual | ~ArrayType () |
| Empty destructor. | |
| virtual size_t | length () const =0 |
| Returns number of elements in the container. | |
| virtual size_t | size () const =0 |
| Returns the size of the contained data (i.e. length * sizeof(T)) | |
| virtual void | fill (T val)=0 |
| Fills the container with the 'val'. | |
| virtual T * | data ()=0 |
| Returns a pointer to the contained data. | |
| virtual const T * | data () const =0 |
| Returns a const pointer to the contained data. | |
Public Member Functions inherited from DataType | |
| virtual | ~DataType () |
| Empty destructor. | |
Protected Member Functions | |
| MatrixType () | |
| Protected constructor. | |
Protected Member Functions inherited from ArrayType< T > | |
| ArrayType () | |
| Protected constructor. | |
Protected Member Functions inherited from DataType | |
| DataType () | |
| Protected constructor. | |
An abstract class, representing all the matrix-like data types.
1.8.15