I came across matrices like this in a book. Can I create this using pure latex commands or do I need to using something like Photoshop for help?
Update: I've created the equation without circle like this:
\documentclass[a4paper,12pt,hidelinks]{article}
\usepackage{mathtools}
\begin{document}
\title{Title of the doc}
\author{me}
\date{\today}
\maketitle
\section{Example}
\begin{equation*}
\begin{vmatrix*}[c]
a_{11} & a_{12} & \cdots & a_{1n} \\
& a_{22} & \cdots & a_{2n} \\
&& \ddots & \vdots \\
&&& a_{nn}
\end{vmatrix*} =
\begin{vmatrix*}[c]
a_{11} &&& \\
a_{21} & a_{22} && \\
\vdots & \vdots & \ddots & \\
a_{n1} & a_{n2} & \cdots & a_{nn}
\end{vmatrix*} =
a_{11}a_{22} \dots a_{nn}
\end{equation*}
\end{document}



