I found two different formulations of the Schwarz-Christoffel formula (e.g. Link1, p.20 and Link2, p. 9). The first is
\begin{align*} z=w(\zeta)=&A+C\int\limits^{z}\prod\limits_{k=1}^n\left(\zeta-z_k\right)^{\alpha_k-1}d\zeta \end{align*}
The second is
\begin{align*} z=w(\zeta)=&A+C\int\limits^{z}\prod\limits_{k=1}^n\left(1-\frac{\zeta}{z_k}\right)^{\alpha_k-1}d\zeta \end{align*}
In both equations
- $A$ and $C$ are complex constants,
- $z_k$ are the coordinates of point $k$ on the unit circle corresponding to the vertex $k$ of the rectangle,
- $\alpha_k$ are the interior angles of the vertices by means of multiples of $\pi$
- and $\zeta$ is a point outside the unit circle such that $|\zeta| > 1$.
In the second link on page 20 it is said that: "Composing the first equation with standard conformal maps leads to variations of the Schwarz-Christoffel formula for mapping from other fundamental domains [...]. The simplest such modification has the unit disk as domain. The vertices then lie in counterclockwise order on the unit circle and equation one can be transformed to equation two."
Why is this transformation possible for the upper complex half-plane and how is it carried out?