The Trid Function is an n dimensional convex function: https://www.sfu.ca/~ssurjano/trid.html
The Trid Function is an n dimensional convex function: https://www.sfu.ca/~ssurjano/trid.html