Diagonal is a kind of straight line . A diagonal line does not go straight up , down , or across . In mathematics , in addition to its geometric meaning , a diagonal is also used in matrices to refer to a set of entries along a diagonal line .