Gudhi::persistent_cohomology::Field_Zp Class Reference

Structure representing the coefficient field \(\mathbb{Z}/p\mathbb{Z}\). More...

Public Member Functions

Element plus_times_equal (const Element &x, const Element &y, const Element &w)
 
Element times (const Element &y, const Element &w)
 
Element additive_identity () const
 Returns the additive idendity \(0_{\Bbbk}\) of the field.
 
Element multiplicative_identity (Element=0) const
 Returns the multiplicative identity \(1_{\Bbbk}\) of the field.
 
std::pair< Element, Element > inverse (Element x, Element P)
 
Element times_minus (Element x, Element y)
 
int characteristic () const
 Returns the characteristic \(p\) of the field.
 
- Public Member Functions inherited from CoefficientField
 CoefficientField ()
 
Element characteristic ()
 
Element multiplicative_identity ()
 
Element additive_identity ()
 
void plus_equal (Element x, Element y)
 

Additional Inherited Members

- Public Types inherited from CoefficientField
typedef unspecified Element
 Type of element of the field. More...
 

Detailed Description

Member Function Documentation

◆ inverse()

std::pair<Element, Element> Gudhi::persistent_cohomology::Field_Zp::inverse ( Element  x,
Element  P 
)
inline

Returns the inverse in the field. Modifies P. ???

◆ plus_times_equal()

Element Gudhi::persistent_cohomology::Field_Zp::plus_times_equal ( const Element &  x,
const Element &  y,
const Element &  w 
)
inline

Set x <- x + w * y

◆ times()

Element Gudhi::persistent_cohomology::Field_Zp::times ( const Element &  y,
const Element &  w 
)
inline

Returns y * w

◆ times_minus()

Element Gudhi::persistent_cohomology::Field_Zp::times_minus ( Element  x,
Element  y 
)
inline

Returns -x * y.


The documentation for this class was generated from the following file:
GUDHI  Version 3.1.1  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.  - Copyright : MIT Generated on Fri Feb 7 2020 16:35:36 for GUDHI by Doxygen 1.8.13