Skip to content

Commit

Permalink
fix of the missing methods and operators for the colorfiler exercise (#…
Browse files Browse the repository at this point in the history
…226)

* fix of the missing methods and operators for the colorfiler exercise

* fix for cicd error make pdf

Co-authored-by: Quentin FEUILLADE--MONTIXI <[email protected]>
  • Loading branch information
madvid and qfeuilla authored Mar 15, 2022
1 parent 101cee4 commit c2a0414
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions module03/subject/en.subject.tex
Original file line number Diff line number Diff line change
Expand Up @@ -685,32 +685,33 @@ \section*{Instructions}
\begin{itemize}
\item \texttt{invert}:
\begin{itemize}
\item Authorized functions:\texttt{None}
\item Authorized operator:\texttt{+},\texttt{-}
\item Authorized functions: \texttt{.copy}.
\item Authorized operators: \texttt{+},\texttt{-},\texttt{=}.
\end{itemize}
\item \texttt{to\_blue}:
\begin{itemize}
\item Authorized functions:\texttt{.zeros},\texttt{.shape},\texttt{.dstack}
\item Authorized operator:\texttt{None}
\item Authorized functions: \texttt{.copy}, \texttt{.zeros},\texttt{.shape},\texttt{.dstack}.
\item Authorized operators: \texttt{=}.
\end{itemize}
\item \texttt{to\_green}:
\begin{itemize}
\item Authorized functions:\texttt{copy.deepcopy}
\item Authorized operator:\texttt{*}
\item Authorized functions: \texttt{.copy}.
\item Authorized operators: \texttt{*}, \texttt{=}.
\end{itemize}
\item \texttt{to\_red}:
\begin{itemize}
\item Authorized functions:\texttt{.to\_green},\texttt{.to\_blue}
\item Authorized operator:\texttt{-},\texttt{+}
\item Authorized functions: \texttt{.copy}, \texttt{.to\_green},\texttt{.to\_blue}.
\item Authorized operators: \texttt{-},\texttt{+}, \texttt{=}.
\end{itemize}
\item \texttt{to\_celluloid(array)}:
\begin{itemize}
\item Authorized functions:\texttt{.arange},\texttt{.linspace}
\item Authorized functions: \texttt{.copy}, \texttt{.arange},\texttt{.linspace}, \texttt{.min}, \texttt{.max}.
\item Authorized operators: \texttt{=}, \texttt{<=}, \texttt{>}, \texttt{\&} (or \texttt{and}).
\end{itemize}
\item \texttt{to\_grayscale}:
\begin{itemize}
\item Authorized functions:\texttt{.sum},\texttt{.shape},\texttt{.reshape},\texttt{.broadcast\_to},\texttt{.as\_type}
\item Authorized operator:\texttt{*},\texttt{/}
\item Authorized functions: \texttt{.sum},\texttt{.shape},\texttt{.reshape},\texttt{.broadcast\_to},\texttt{.as\_type}.
\item Authorized operators: \texttt{*},\texttt{/}, \texttt{=}.
\end{itemize}
\end{itemize}
% ================================= %
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.0.5
v3.0.6

0 comments on commit c2a0414

Please sign in to comment.