Checks whether a matrix given by an array of columns is a diagonal matrix. 
- Template Parameters
- 
  
    | ValueType | A type of a matrix element. |  
 
- Parameters
- 
  
    | [in] | column_matrix | A pointer to an array of columns * rowselements, specifying a set of column vectors composing the matrix. |  |  | columns | A number of columns in the matrix column_matrix. |  |  | rows | A number of rows in the matrix. |  
 
- Returns
- trueif the matrix all elements, except for perhaps elements on the main diagonal, equal to a default-constructed element of type- ValueType(). Otherwise,- false.