class: titlepage .title[ Solutions to the 1D Quantum Harmonic Oscillator ] .subtitle[ L. Melchior, T. Gennuso - ENSIIE - 2017 :ok_hand: ] --- layout: true class: animated fadeIn middle .footnote[ Solutions to the 1D Quantum Harmonic Oscillator - L. Melchior, T. Gennuso - ENSIIE - 2017 ] --- class: toc top # Table of content 1. Project Setup -- 1. Cascading Makefiles -- 2. Redirecting Doxygen Output -- 2. Our Wonderful Code -- 1. The Hermit() Class -- 2. Plot Functions -- 2. The tough problems we solved -- 1. Armadillo bug --- class: middle # Project Setup - Cascading Makefiles .tree.hcenter[ project_root * Makefile * /doc * Makefile * /src * Makefile * /test * Makefile ] ??? Voici comment est organisée l'arborescence des Makefile de notre projet. -- * One make to build them all. ??? Permet de compiler le code et la doc avec seulement une seule commande dans le répertoire source. -- * But you do not lose your flexibility. ??? On peut aussi compiler seulement les sources depuis le dossier idoine, c'est plus confortable quand on travaille. --- # Project Setup - Redirecting Doxygen Output --- class: middle # Our Wonderful Code - The Hermit() Class * Why a Hermit() Class ? -- .hcenter.shadow.w80.animated.fadeInUp[ ```C++ class Hermite { public: //Constructor Hermite(int n, arma::colvec z); //n is the highest possible rank choose Hermite(int n, arma::rowvec z); //same as previous //Methods int getN() const; arma::mat getH() const; arma::colvec getEvalCol(int j) const; arma::rowvec getEvalRow(int j) const; private: //Variables int n; arma::mat H; }; ``` ] --- # Our Wonderful Code - Plot Functions --- class: middle center # The Tough Problems We Solved - Armadillo bug ```arma::mat.eval()```