%% Last modified: <Poly_Matrix_DUT2_13.tex modifié par  Guillaume CONNAN le jeudi 24 octobre 2013 à 14h 58min 46s>


\documentclass[10pt,a4paper,svgnames,openany,utf8x,euler,biblio]{trmbookinfo2}
\usepackage{etex}
\usepackage{preambuleTrm}
\usepackage{lcd}
\usepackage[off]{auto-pst-pdf}
%\usepackage[scaled=0.85]{luximono}
\usepackage{caption,soul}
\captionsetup{labelformat=empty,font=footnotesize}


%\usepackage{bera}
%\usepackage[scaled=0.8]{beramono}
\usepackage{enumitem}
\usepackage{picins}




\renewcommand{\theenumi}{\bfseries\color{\exercicecolor}\fontfamily{ugq}\selectfont\arabic{enumi}}
\renewcommand{\labelenumi}{\theenumi.}

\renewcommand{\theenumii}{\roman{enumii}}
\renewcommand{\labelenumii}{\bfseries\color{\exercicecolor}\fontfamily{ugq}\selectfont\theenumii.}
 




\usepackage{tikz}
\usetikzlibrary{automata,fit,trees,matrix,arrows,decorations.pathmorphing,shapes.arrows,chains,positioning,intersections,backgrounds,calc,through,mindmap}
\newcommand{\myunit}{1.1cm}
\usepackage{tkz-graph}
\input{patch-tkz-graph}
\usepackage{tikz-qtree}
%\usepackage{circuitikz}
%\usepackage{Karnaugh}
%\usepackage[autolanguage]{numprint}

\usepackage{cclicenses}
\usepackage{cclicence}

\newcolumntype{A}{>{\arraybackslash}X}

\usepackage{textcomp}
\usepackage{ mathtools,xlop,longtable}

\hypersetup{
pdftitle={Poly d'Info 1 - Mathématique - IUT de Nantes}, % title
}
%\usepackage[xcas]{pro-mat}

\usepackage{algo}

\renewcommand{\algocommentfont}{\small\ttfamily\itshape}

\newcommand{\triangleup}{\Delta}

\newcommand\nor{\downarrow}
\newcommand\nand{\uparrow}


\setcounter{tocdepth}{2}



\graphicspath{{/home/moi/VISA_III/figures_visa/}{/home/moi/Lycee/TDmaple/2006_7/}{/home/moi/Figures/Arbres_Graphes/}{/home/moi/Figures/FigSTI/}{/home/moi/Figures/FigMaple/}{/home/moi/Photos/Maths/}{/home/moi/Photos/Tehessin/}{/home/moi/Figures/FigSTI/}{/home/moi/Figures/FigSeconde/}{/home/moi/Lycee/Informatique/XCAS/2008_9/}{/home/moi/Lycee/TDmaple/2008_9/}{/home/moi/IUT/Thierry/Conversions/}{/home/moi/Photos/informathix/}{/home/moi/Lycee/Informatique/PafAlgo/}{/home/moi/Figures/figuresAlice/}{/home/moi/Figures/FigSeconde/}{/home/moi/Biocam/robot/}{/home/moi/Biocam/CoursIni3d/}{/home/moi/Biocam/central/figures/}{/home/moi/Biocam/central/}{/home/moi/IUT/INFO2/Images/}{/home/moi/IUT/INFO2/2011_12/graphes/}{/home/moi/IUT/INFO1/CM1/}}




\entet{\leftmark }{\rightmark }{\href{http://informathix.tuxfamily.org/}{Licence
    Creative Commons}\byncsa}%g,d,b




\title{Algèbre et informatique
}

\author{ Guillaume \textsc{Connan} }

\date{ DUT INFO 2 / 2013-2014 }



\newcommand\soustitre{
  Licence Creative Commons
\CcGroupByNcSa{1.25}{1.25ex}

Mis à jour le \today{} à \now
}


\coverillustration{\includegraphics[width=12cm]{marystein11}}



\newcommand{\Sage}{\textsf{Sage}\xspace}
\newcommand{\Python}{\textsf{Python}\xspace}
\newcommand{\Caml}{\textsf{CAML}\xspace}
\newcommand{\HS}{\textsf{Haskell}\xspace}


\renewcommand{\vect}{\ve}


%%% matrice dans une base

\renewcommand\mat[1][]{\ensuremath{{\rm mat}_{\BR#1}}}

\newcommand\mn[1][3]{ \ensuremath{\mathfrak{M}_{#1}(\bbr)\ }}

\newcommand\foncpart{\rightarrow\!\!\!\!\!\!\shortmid}
\newcommand\fonctot{\rightarrow}
\newcommand\injpart{\rightarrowtail\!\!\!\!\!\!\!\shortmid}
\newcommand\injtot{\rightarrowtail}
\newcommand\surjpart{\twoheadrightarrow\!\!\!\!\!\!\!\shortmid}
\newcommand\surjtot{\twoheadrightarrow}
\newcommand\bijpart{\rightarrowtail\!\!\!\!\!\!\!\shortmid\!\!\!\!\twoheadrightarrow}
\newcommand\bijtot{\rightarrowtail\!\!\!\!\!\!\!\!\!\twoheadrightarrow}


\usepackage{bold-extra}

\lstset{
 language=haskell,
        escapeinside={(*@}{@*)},
        %numbers=left,
        basicstyle={\small\ttfamily},
        commentstyle={\small\itshape\color{pink!60!black}},
        keywordstyle={\ttfamily\bfseries\fontfamily{ul9}\selectfont\color{black!60!blue}},
        stringstyle={\small\ttfamily\color{gray!50!black}\itshape},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}Haskell \textcolor{gray!10}{\_}}}}}

\newcommand\haskell{
\lstset{
 language=haskell,
        escapeinside={(*@}{@*)},
        %numbers=left,
        basicstyle={\small\ttfamily},
        commentstyle={\small\itshape\color{pink!60!black}},
        keywordstyle={\ttfamily\bfseries\fontfamily{ul9}\selectfont\color{black!60!blue}},
        stringstyle={\small\ttfamily\color{gray!50!black}\itshape},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}Haskell \textcolor{gray!10}{\_}}}}}
}


\newcommand\caml{
\lstset{
 language=caml,
        escapeinside={(*@}{@*)},
        %numbers=left,
        commentstyle={\small\sffamily\color{gray}},
        keywordstyle={\small\ttfamily\color{black!70!blue}\bfseries},
        stringstyle={\small\ttfamily\color{gray}\itshape},
        basicstyle={\small\ttfamily},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        emph=[2]{In},
        emphstyle=[2]\color{black!70},
        morecomment=[l][\color{blue}]{Out},
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}OCaml \textcolor{gray!10}{\_}}}}}
}
\newcommand\ce{
\lstset{
 language=c,
        escapeinside={(*@}{@*)},
        %numbers=left,
        commentstyle={\small\sffamily\color{gray}},
        keywordstyle={\small\ttfamily\color{black!70!blue}\bfseries},
        stringstyle={\small\ttfamily\color{gray}\itshape},
        basicstyle={\small\ttfamily},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        emph=[2]{In},
        emphstyle=[2]\color{black!70},
        morecomment=[l][\color{blue}]{Out},
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}C \textcolor{gray!10}{\_}}}}}
}


\newcommand\pyth{
\lstset{
 language=sage,
        escapeinside={(*@}{@*)},
        %numbers=left,
        commentstyle={\small\sffamily\color{gray}},
        keywordstyle={\small\ttfamily\color{black!70!blue}\bfseries},
        stringstyle={\small\ttfamily\color{gray}\itshape},
        basicstyle={\small\ttfamily},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        emph=[2]{In},
        emphstyle=[2]\color{black!70},
        morecomment=[l][\color{blue}]{Out},
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}Python \textcolor{gray!10}{\_}}}}}
}


\newcommand{\pythonc}{%
\lstset{
 language=sage,
        escapeinside={(*@}{@*)},
        %numbers=left,
        commentstyle={\small\sffamily\color{gray}},
        keywordstyle={\small\ttfamily\color{black!70!blue}\bfseries},
        stringstyle={\small\ttfamily\color{gray}\itshape},
        basicstyle={\small\ttfamily},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        emph=[2]{In},
        emphstyle=[2]\color{black!70},
        morecomment=[l][\color{blue}]{Out},
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}Python \textcolor{gray!10}{\_}}}}}
}
\newcommand{\sagec}{%
\lstset{
 language=sage,
        escapeinside={(*@}{@*)},
        %numbers=left,
        commentstyle={\small\sffamily\color{gray}},
        keywordstyle={\small\ttfamily\color{black!70!blue}\bfseries},
        stringstyle={\small\ttfamily\color{gray}\itshape},
        basicstyle={\small\ttfamily},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        emph=[2]{In},
        emphstyle=[2]\color{black!70},
        morecomment=[l][\color{blue}]{Out},
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}Sage \textcolor{gray!10}{\_}}}}}
}

\newcommand{\shell}{%
\lstset{
 language=sh,
        escapeinside={(*@}{@*)},
        %numbers=left,
        commentstyle={\small\sffamily\color{gray}},
        keywordstyle={\bfseries\fontfamily{courier}\selectfont\small\color{black!70!blue}},
        stringstyle={\small\ttfamily\color{gray}\itshape},
        basicstyle={\small\ttfamily},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        emph=[2]{In},
        emphstyle=[2]\color{black!70},
        morecomment=[l][\color{blue}]{Out},
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}Shell \textcolor{gray!10}{\_}}}}}
}



\newcommand{\emacs}{%
\lstset{
 language=sh,
        escapeinside={(*@}{@*)},
        %numbers=left,
        commentstyle={\small\sffamily\color{gray}},
        keywordstyle={\bfseries\fontfamily{courier}\selectfont\small\color{black!70!blue}},
        stringstyle={\small\ttfamily\color{gray}\itshape},
        basicstyle={\small\ttfamily},
        breaklines=true,
        breakatwhitespace=true,
        showtabs=False,
        showspaces=False,
        showstringspaces=False,
        extendedchars=true,
        emph=[2]{In},
        emphstyle=[2]\color{black!70},
        morecomment=[l][\color{blue}]{Out},
        %aboveskip=1em,
        %belowskip=1em,
        rulecolor=\color{gray},
        %rulesepcolor=\color{gray},
        %frame=trBL,
        frame=single,
        frameround=tttt,
        framerule=0.3pt,
        framesep=4pt,
        belowcaptionskip=2.1pt,
title={{\setlength{\fboxsep}{1pt}\fcolorbox{gray}{gray!10}{\sffamily\scriptsize
      \textcolor{gray!10}{\_}Emacs \textcolor{gray!10}{\_}}}}}
}

\fvset{%
fontfamily=courier,fontseries=b,formatcom=\color{black}}

%\includeonly{hommage,iut_intro,ens_rel,logic,caml_guide}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setlength{\headheight}{23pt}

%\setlength{\baselineskip}{1em}

%\renewcommand\chaptername{TP}

\renewcommand\verb{\Verb}



\newcommand{\func}{\mathbf}







 \tikzset{
  dot hidden/.style={},
  line hidden/.style={},
  dot colour/.style={dot hidden/.append style={color=#1}},
  dot colour/.default=black,
  line colour/.style={line hidden/.append style={color=#1}},
  line colour/.default=black
}

\def\dotsize{0.1}


\usepackage{xparse}
\NewDocumentCommand{\drawdie}{O{}m}{
\begin{tikzpicture}[x=2em,y=2em,#1]
  \draw[thick, rounded corners=0.5,line hidden] (0,0) rectangle (1,1);
  \ifnum#2=1
  \fill[dot hidden] (0.2,0.2) circle (\dotsize);
  \fill[dot hidden] (0.2,0.5) circle (\dotsize);
  \fill[dot hidden] (0.8,0.2) circle (\dotsize);
  \fi
\ifnum#2=2
  \fill[dot hidden] (0.2,0.2) circle (\dotsize);
  \fill[dot hidden] (0.8,0.5) circle (\dotsize);
  \fill[dot hidden] (0.8,0.2) circle (\dotsize);
  \fi
\ifnum#2=3
  \fill[dot hidden] (0.2,0.2) circle (\dotsize);
  \fill[dot hidden] (0.2,0.5) circle (\dotsize);
  \fill[dot hidden] (0.2,0.8) circle (\dotsize);
  \fill[dot hidden] (0.8,0.5) circle (\dotsize);
  \fi
\ifnum#2=4
  \fill[dot hidden] (0.8,0.2) circle (\dotsize);
  \fill[dot hidden] (0.8,0.5) circle (\dotsize);
  \fill[dot hidden] (0.8,0.8) circle (\dotsize);
\fill[dot hidden] (0.2,0.5) circle (\dotsize);
  \fi
\ifnum#2=5
  \fill[dot hidden] (0.2,0.5) circle (\dotsize);
  \fill[dot hidden] (0.2,0.8) circle (\dotsize);
  \fill[dot hidden] (0.8,0.8) circle (\dotsize);
  \fi
\ifnum#2=6
  \fill[dot hidden] (0.2,0.8) circle (\dotsize);
  \fill[dot hidden] (0.8,0.8) circle (\dotsize);
  \fill[dot hidden] (0.8,0.5) circle (\dotsize);
  \fi
\ifnum#2=7
  \fill[dot hidden] (0.2,0.8) circle (\dotsize);
  \fill[dot hidden] (0.8,0.5) circle (\dotsize);
  \fill[dot hidden] (0.2,0.2) circle (\dotsize);
  \fi
\ifnum#2=8
  \fill[dot hidden] (0.2,0.8) circle (\dotsize);
  \fill[dot hidden] (0.2,0.2) circle (\dotsize);
  \fi
\end{tikzpicture}
}  


\NewDocumentCommand{\fancydie}{O{}mmmmmm}{
\begin{tikzpicture}[x=2em,y=2em,#1]
  \draw[thick, rounded corners=0.5,line hidden] (0,0) rectangle (1,1);
  \ifnum#2=1
  \fill[dot hidden] (0.2,0.2) circle (\dotsize);
\fi
  \ifnum#3=1
  \fill[dot hidden] (0.8,0.2) circle (\dotsize);
\fi  
\ifnum#4=1
  \fill[dot hidden] (0.2,0.5) circle (\dotsize);
\fi  
\ifnum#5=1
  \fill[dot hidden] (0.8,0.5) circle (\dotsize);
\fi  
\ifnum#6=1
  \fill[dot hidden] (0.2,0.8) circle (\dotsize);
\fi  
\ifnum#7=1
  \fill[dot hidden] (0.8,0.8) circle (\dotsize);
\fi
\end{tikzpicture}
}  
















\begin{document}


\thispagestyle{empty}
\maketitle
%\date{Dernière mise à jour: \today}
\tableofcontents

%\renewcommand\chaptername{TD \No}
\include{Matrix_DUT2_13_operator}
\include{Matrix_DUT2_13_matrix}
%\include{MD2_13_info}

%%% biblio et fin 
\renewcommand{\bibname}{Lectures recommand\'ees}
\nocite{*}
\bibliography{PolyMD2_13}


\end{document}

%%% Local Variables: 
%%% TeX-master: t
%%% End: 
