This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Given the name of two tikz nodes, this dims the lines starting at node 1, ending at node 2 | |
\newcommand{\dimtext}[2]% | |
{ | |
{ \transparent{0.7} | |
\begin{tikzpicture}[overlay, remember picture] | |
\fill[white] ( #1 -| current page.north west) -- ++(0,1em) -- ++(\paperwidth,0) -- (#2 -| current page.north east) | |
-- ++(0,-.5em) -- ++(-\paperwidth,0) -- cycle; | |
\end{tikzpicture} | |
} | |
}[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<primme/primme.h> | |
#include<armadillo> | |
#include<cassert> | |
constexpr auto SIZE = std::size_t {24}; | |
using vec = arma::cx_vec::fixed<SIZE>; | |
using mat = arma::cx_mat::fixed<SIZE,SIZE>; | |
void matrix_multiplication(const vec &x, const mat &m, arma::cx_vec &y) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{beamer} | |
\usetheme{metropolis} | |
\setbeamercolor{progress bar}{fg=green, bg=purple} | |
\begin{document} | |
\section{Section 1} | |
\begin{frame}{Hello} | |
\end{frame} |