rationalMap(X,D)
In the example below, we take a smooth complete intersection $X\subset\mathbb{P}^5$ of three quadrics containing a conic $C\subset\mathbb{P}^5$. Then we calculate the map defined by the linear system $2H+C$, where $H$ is the hyperplane section class of $X$.







This function is based internally on the function rationalMap(Ring,Tally), provided by the package Cremona.