SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
A class representing a Two-population Univariate Moment-based statistical context. More...
#include <types_stat.hpp>
Public Member Functions | |
UnivariateContext () | |
Constructs an empty context, needs to be initialized first (init) | |
UnivariateContext (size_t firstWidth, size_t secondWidth, size_t mOrder, size_t csOrder, size_t acsOrder) | |
Constructs an initialized context. | |
UnivariateContext (size_t firstWidth, size_t secondWidth, size_t mOrder, size_t csOrder, size_t acsOrder, T val) | |
Constructs an initialized context and fills it with val. | |
UnivariateContext (UnivariateContext &&other) | |
Move constructor. | |
UnivariateContext & | operator= (UnivariateContext &&other) |
Move assignment operator. | |
virtual | ~UnivariateContext () |
Empty destructor. | |
virtual void | init (size_t firstWidth, size_t secondWidth, size_t mOrder, size_t csOrder, size_t acsOrder) |
virtual void | init (size_t firstWidth, size_t secondWidth, size_t mOrder, size_t csOrder, size_t acsOrder, T val) |
virtual void | fill (T val) |
Fills the context's containers (vectors, matrices,...) with the 'val'. | |
virtual void | reset () |
Fill the whole context with zeroes. | |
virtual size_t | p1Width () const |
Width of the first population. | |
virtual size_t | p2Width () const |
Width of the second population. | |
virtual size_t | mOrder () const |
Maximum order of the raw moments, 1 upto mOrder. | |
virtual size_t | csOrder () const |
Maximum order of the central moment sums, 2 upto csOrder. | |
virtual size_t | acsOrder () const |
Maximum order of the adjusted central moment sums, 1 upto acsOrder. | |
virtual size_t & | p1Card () |
Cardinality of the first population. | |
virtual const size_t & | p1Card () const |
Cardinality of the first population (const) | |
virtual size_t & | p2Card () |
Cardinality of the second population. | |
virtual const size_t & | p2Card () const |
Cardinality of the second population (const) | |
virtual Vector< T > & | p1M (size_t order) |
Raw moment of the first population, order 1 upto mOrder. | |
virtual const Vector< T > & | p1M (size_t order) const |
Raw moment of the first population, order 1 upto mOrder (const) | |
virtual Vector< T > & | p2M (size_t order) |
Raw moment of the second population, order 1 upto mOrder. | |
virtual const Vector< T > & | p2M (size_t order) const |
Raw moment of the second population, order 1 upto mOrder (const) | |
virtual Vector< T > & | p1CS (size_t order) |
Central moment sum of the first population, order 2 upto csOrder. | |
virtual const Vector< T > & | p1CS (size_t order) const |
Central moment sum of the first population, order 2 upto csOrder (const) | |
virtual Vector< T > & | p2CS (size_t order) |
Central moment sum of the second population, order 2 upto csOrder. | |
virtual const Vector< T > & | p2CS (size_t order) const |
Central moment sum of the second population, order 2 upto csOrder (const) | |
virtual Matrix< T > & | p12ACS (size_t order) |
Adjusted central moment sum both populations, order 1 upto acsOrder. | |
virtual const Matrix< T > & | p12ACS (size_t order) const |
Adjusted central moment sum both populations, order 1 upto acsOrder (const) | |
Public Member Functions inherited from ComputationalContext< T > | |
virtual | ~ComputationalContext () |
Empty destructor. | |
Public Member Functions inherited from StructuredType | |
virtual | ~StructuredType () |
Empty destructor. | |
Public Member Functions inherited from DataType | |
virtual | ~DataType () |
Empty destructor. | |
Protected Attributes | |
size_t | m_p1Width |
size_t | m_p2Width |
size_t | m_p1Card |
size_t | m_p2Card |
size_t | m_mOrder |
size_t | m_csOrder |
size_t | m_acsOrder |
std::unique_ptr< Vector< T >[]> | m_p1M |
std::unique_ptr< Vector< T >[]> | m_p2M |
std::unique_ptr< Vector< T >[]> | m_p1CS |
std::unique_ptr< Vector< T >[]> | m_p2CS |
std::unique_ptr< Matrix< T >[]> | m_p12ACS |
Additional Inherited Members | |
Protected Member Functions inherited from ComputationalContext< T > | |
ComputationalContext () | |
Protected constructor. | |
Protected Member Functions inherited from StructuredType | |
StructuredType () | |
Protected constructor. | |
Protected Member Functions inherited from DataType | |
DataType () | |
Protected constructor. | |
A class representing a Two-population Univariate Moment-based statistical context.