Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Commit

Permalink
docstring for mu()
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Dec 7, 2016
1 parent 79b3380 commit 6445ddf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions inductive_valuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,18 @@ def is_minimal(self, f, assume_equivalence_irreducible=False):

@cached_method
def mu(self):
r"""
Return the valuation of :meth:`phi`.
EXAMPLES::
sage: from mac_lane import * # optional: standalone
sage: R.<x> = QQ[]
sage: v = GaussValuation(R, pAdicValuation(QQ, 2))
sage: v.mu()
0
"""
return self(self.phi())

def _equivalence_reduction(self, f):
Expand Down

0 comments on commit 6445ddf

Please sign in to comment.