Ask Your Question
1

Weak positivity

asked 2019-09-21 06:16:15 -0500

Cyrille gravatar image

updated 2019-09-21 06:41:49 -0500

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$) ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-09-21 06:44:17 -0500

joakim_uhlin gravatar image

updated 2019-10-01 11:41:15 -0500

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

not(x.is_negative())
edit flag offensive delete link more

Comments

Thanks joakim, I am stupid.

Cyrille gravatar imageCyrille ( 2019-09-21 08:22:56 -0500 )edit

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: 2019-09-21 06:16:15 -0500

Seen: 36 times

Last updated: Oct 01