Quote:
How do I calculate the concave envelope of a function (on Python)?
We can't really help you in any way because you forgot to tell us your background in programming.
Quote:
It's my first project on Python.
Which word matters?
A first project in Python is not a big deal to a seasoned programmer in another language. But a first project in any language to a newbie is a big deal and teaching you programming or Python is out of scope of this forum.
Quote:
Can anyone give me an advice?
First, learn the subject:
The Concave Hull of a Set of Points[
^]
If you are a newbie, put this project aside for now and learn properly Python and programming techniques.
[Update]
Have a look at this:
https://hal.inria.fr/inria-00070610/document[
^]