Like undefined multirow error, this error is also missing latex package.
To fix this error, you should useĀ \usepackage{amsmath}
Here is an example:
\documentclass[preprint,12pt]{elsarticle}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{float}
Veru helpful, thank you