Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

assume function

Add an assumption about the variables.

How to write it

assume(p)

p
What to assume, such as x > 0. Takes a condition, true or false.

Examples

  • assume⁡(x>0)  [x>0]\displaystyle \operatorname{assume}(x > 0) \; \left[ x > 0 \right]
    assume(x > 0)

    In the solver, assume(x > 0) gives [x > 0].

    Open in the solver