Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CBC_ReedSolomonGF256Poly Class Referencefinal

#include <BC_ReedSolomonGF256Poly.h>

+ Collaboration diagram for CBC_ReedSolomonGF256Poly:

Public Member Functions

 CBC_ReedSolomonGF256Poly (CBC_ReedSolomonGF256 *field, const std::vector< int32_t > &coefficients)
 
 ~CBC_ReedSolomonGF256Poly ()
 
int32_t GetCoefficients (int32_t degree) const
 
const std::vector< int32_t > & GetCoefficients () const
 
int32_t GetDegree () const
 
bool IsZero () const
 
std::unique_ptr< CBC_ReedSolomonGF256PolyAddOrSubtract (const CBC_ReedSolomonGF256Poly *other)
 
std::unique_ptr< CBC_ReedSolomonGF256PolyMultiply (const CBC_ReedSolomonGF256Poly *other)
 
std::unique_ptr< CBC_ReedSolomonGF256PolyMultiplyByMonomial (int32_t degree, int32_t coefficient) const
 
std::unique_ptr< CBC_ReedSolomonGF256PolyDivide (const CBC_ReedSolomonGF256Poly *other)
 
std::unique_ptr< CBC_ReedSolomonGF256PolyClone () const
 

Detailed Description

Definition at line 17 of file BC_ReedSolomonGF256Poly.h.

Constructor & Destructor Documentation

◆ CBC_ReedSolomonGF256Poly()

CBC_ReedSolomonGF256Poly::CBC_ReedSolomonGF256Poly ( CBC_ReedSolomonGF256 * field,
const std::vector< int32_t > & coefficients )

Definition at line 33 of file BC_ReedSolomonGF256Poly.cpp.

References CBC_ReedSolomonGF256Poly().

Referenced by CBC_ReedSolomonGF256Poly().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~CBC_ReedSolomonGF256Poly()

CBC_ReedSolomonGF256Poly::~CBC_ReedSolomonGF256Poly ( )
default

Member Function Documentation

◆ AddOrSubtract()

std::unique_ptr< CBC_ReedSolomonGF256Poly > CBC_ReedSolomonGF256Poly::AddOrSubtract ( const CBC_ReedSolomonGF256Poly * other)

Definition at line 82 of file BC_ReedSolomonGF256Poly.cpp.

References CBC_ReedSolomonGF256::AddOrSubtract(), and IsZero().

+ Here is the call graph for this function:

◆ Clone()

std::unique_ptr< CBC_ReedSolomonGF256Poly > CBC_ReedSolomonGF256Poly::Clone ( ) const

Definition at line 76 of file BC_ReedSolomonGF256Poly.cpp.

◆ Divide()

std::unique_ptr< CBC_ReedSolomonGF256Poly > CBC_ReedSolomonGF256Poly::Divide ( const CBC_ReedSolomonGF256Poly * other)

Definition at line 141 of file BC_ReedSolomonGF256Poly.cpp.

References GetCoefficients(), GetDegree(), and IsZero().

+ Here is the call graph for this function:

◆ GetCoefficients() [1/2]

const std::vector< int32_t > & CBC_ReedSolomonGF256Poly::GetCoefficients ( ) const

Definition at line 60 of file BC_ReedSolomonGF256Poly.cpp.

◆ GetCoefficients() [2/2]

int32_t CBC_ReedSolomonGF256Poly::GetCoefficients ( int32_t degree) const

Definition at line 72 of file BC_ReedSolomonGF256Poly.cpp.

Referenced by Divide().

+ Here is the caller graph for this function:

◆ GetDegree()

int32_t CBC_ReedSolomonGF256Poly::GetDegree ( ) const

Definition at line 64 of file BC_ReedSolomonGF256Poly.cpp.

Referenced by Divide().

+ Here is the caller graph for this function:

◆ IsZero()

bool CBC_ReedSolomonGF256Poly::IsZero ( ) const

Definition at line 68 of file BC_ReedSolomonGF256Poly.cpp.

Referenced by AddOrSubtract(), and Divide().

+ Here is the caller graph for this function:

◆ Multiply()

std::unique_ptr< CBC_ReedSolomonGF256Poly > CBC_ReedSolomonGF256Poly::Multiply ( const CBC_ReedSolomonGF256Poly * other)

Definition at line 105 of file BC_ReedSolomonGF256Poly.cpp.

◆ MultiplyByMonomial()

std::unique_ptr< CBC_ReedSolomonGF256Poly > CBC_ReedSolomonGF256Poly::MultiplyByMonomial ( int32_t degree,
int32_t coefficient ) const

Definition at line 126 of file BC_ReedSolomonGF256Poly.cpp.


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