Processing math: 100%
Ask Your Question
1

Weak positivity

asked 5 years ago

Cyrille gravatar image

updated 5 years ago

In SageMath one can ask if x.is_positive{}. But this is the definition of strickt positivity. What or the weak case (i.e. x>=0) ?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 5 years ago

joakim_uhlin gravatar image

updated 5 years ago

It is obvious that x0 if and only if it is not the case that x<0. So, we can write

not(x.is_negative())
Preview: (hide)
link

Comments

Thanks joakim, I am stupid.

Cyrille gravatar imageCyrille ( 5 years ago )

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: 5 years ago

Seen: 767 times

Last updated: Oct 01 '19