ROSE 0.11.145.147
Public Types | Public Member Functions | List of all members
Rose::BinaryAnalysis::Matrix< T > Class Template Reference

Description

template<class T>
class Rose::BinaryAnalysis::Matrix< T >

Matrix values.

This is a matrix that uses the Dlib-like API, with the main difference being that sizes are of type size_t instead of a signed type.

Definition at line 25 of file Matrix.h.

#include <Rose/BinaryAnalysis/Matrix.h>

Public Types

typedef T Value
 

Public Member Functions

 Matrix (size_t n)
 
 Matrix (size_t nr, size_t nc)
 
 Matrix (const Matrix< T > &other)
 
Matrixoperator= (const Matrix< T > &other)
 
size_t nr () const
 
size_t nc () const
 
T & operator() (size_t i, size_t j)
 
const T & operator() (size_t i, size_t j) const
 
size_t size () const
 

Member Typedef Documentation

◆ Value

template<class T >
typedef T Rose::BinaryAnalysis::Matrix< T >::Value

Definition at line 27 of file Matrix.h.

Constructor & Destructor Documentation

◆ Matrix() [1/4]

template<class T >
Rose::BinaryAnalysis::Matrix< T >::Matrix ( )
inline

Definition at line 49 of file Matrix.h.

◆ Matrix() [2/4]

template<class T >
Rose::BinaryAnalysis::Matrix< T >::Matrix ( size_t  n)
inlineexplicit

Definition at line 50 of file Matrix.h.

◆ Matrix() [3/4]

template<class T >
Rose::BinaryAnalysis::Matrix< T >::Matrix ( size_t  nr,
size_t  nc 
)
inline

Definition at line 51 of file Matrix.h.

◆ ~Matrix()

template<class T >
Rose::BinaryAnalysis::Matrix< T >::~Matrix ( )
inline

Definition at line 52 of file Matrix.h.

◆ Matrix() [4/4]

template<class T >
Rose::BinaryAnalysis::Matrix< T >::Matrix ( const Matrix< T > &  other)
inline

Definition at line 55 of file Matrix.h.

Member Function Documentation

◆ operator=()

template<class T >
Matrix & Rose::BinaryAnalysis::Matrix< T >::operator= ( const Matrix< T > &  other)
inline

Definition at line 58 of file Matrix.h.

◆ nr()

template<class T >
size_t Rose::BinaryAnalysis::Matrix< T >::nr ( ) const
inline

Definition at line 70 of file Matrix.h.

◆ nc()

template<class T >
size_t Rose::BinaryAnalysis::Matrix< T >::nc ( ) const
inline

Definition at line 71 of file Matrix.h.

◆ operator()() [1/2]

template<class T >
T & Rose::BinaryAnalysis::Matrix< T >::operator() ( size_t  i,
size_t  j 
)
inline

Definition at line 74 of file Matrix.h.

◆ operator()() [2/2]

template<class T >
const T & Rose::BinaryAnalysis::Matrix< T >::operator() ( size_t  i,
size_t  j 
) const
inline

Definition at line 79 of file Matrix.h.

◆ size()

template<class T >
size_t Rose::BinaryAnalysis::Matrix< T >::size ( ) const
inline

Definition at line 90 of file Matrix.h.


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