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

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

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

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

Set x <- x + w * y

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

Returns y * w

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

Returns -x * y.

The documentation for this class was generated from the following file:
GUDHI  Version 2.1.0  - C++ library for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.  - Copyright : GPL v3 Generated on Fri Feb 2 2018 14:51:32 for GUDHI by Doxygen 1.8.11