Opened 14 years ago

Closed 14 years ago

## #196 closed bug (fixed)

# description of farey starts with factorize

Reported by: | gorzel | Owned by: | somebody |
---|---|---|---|

Priority: | trivial | Milestone: | 3-1-1 |

Component: | doc | Version: | 3-1-0 |

Keywords: | Cc: |

### Description

The description of farey on

Singular/3-1-0/html/sing_197.htm#SEC238

starts with factorize

5.1.31 farey Syntax: factorize ( poly_expression ) factorize ( poly_expression, 0 ) factorize ( poly_expression, 2 ) Type: list of ideal and intvec Syntax: farey ( bigint_expression, bigint_expression ) farey ( ideal_expression, bigint_expression ) Type: number/ideal Purpose: lift the first argument modulo the second to the rationals Note: The current coefficient field must be the rationals. Example: ring r=0,x,dp; farey(2,32003); ==> 2

An other example showing that really something is happing may be more useful.

### Change History (3)

### comment:1 Changed 14 years ago by

Resolution: | → fixed |
---|---|

Status: | new → closed |

### comment:2 Changed 14 years ago by

Resolution: | fixed |
---|---|

Status: | closed → reopened |

### comment:3 Changed 14 years ago by

Resolution: | → fixed |
---|---|

Status: | reopened → closed |

no, description fixed in the correct way

**Note:**See TracTickets for help on using tickets.

And once again: A better example, and also one for

farey ( ideal_expression, bigint_expression )would be useful.Finally, it seems that farey also works in other non-documented cases: