Ask Your Question
1

How to check that field is Number Field

asked 2021-07-06 12:47:47 +0100

petRUShka gravatar image

updated 2021-07-06 12:48:17 +0100

Suppose I have field FF:

sage: FF
Number Field in z with defining polynomial t^2+1

How to programmatically check that this field is Number Field? Something like FF.is_number_field()...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-07-06 13:21:14 +0100

rburing gravatar image

See the category of number fields:

sage: NumberField(x^2 + 1, 'a') in NumberFields()
True
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-07-06 12:47:47 +0100

Seen: 204 times

Last updated: Jul 06 '21