I want to map the upper-half plane $$\mathbb H:=\{z\in\mathbb C:\Im(z)>0\}$$ to $[0,1)^2$ by a conformal map. If I got this right, then such a mapping is given by the Schwarz-Christoffel mapping to the square.
Now, I need to implement this mapping in a C++ program and hence I guess I need to numerically compute the integrat in the definition of the mapping. But how do we need to do this? What kind of integral is this at all?
According to the wikipedia article, the mapping is given by
$$z\mapsto\int^z\frac{{\rm d}w}{\sqrt{w(1-w^2)}}=\sqrt 2F(\sqrt{z+1};\sqrt 2/2)\tag1.$$ I guess this integral is the incomplete elliptic integral of the first kind (which I never heard about before). But I don't get the parameters. From the Wikipedia article about the elliptic integral, shouldn't the first parameter be a real numbers (instead of the complex number $\sqrt{z+1}$)?
Remark: the C++ standard contains the incomplete elliptic integral of the first kind, which we might need to use: https://en.cppreference.com/w/cpp/experimental/special_functions.