Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about simplify

Read more about simplify

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - simplify

Sympy Piecewise and refine

I try to simplify this Piecewise expression using refine without success. I use sympy version 1.8. import sympy as sp x,y = sp.symbols('x,y', real=True, positive=True) expr = sp.Piecewise((1, x>=...
test-img

Pierre Joyot

sympy

simplify

piecewise

Votes: 0

Answers: 1

Latest Answer

If you give expr a value for x that satisfies the requirement, it will evaluate: >>> eps = Symbol('eps', positive=True) >>> expr.subs(x, y + eps).simplify() 1
test-img

smichr

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved