Checks if the array has only one row. More...

bool isrow () const
 Checks if the array has only one row. More...
 

Detailed Description

Checks if the array has only one row.

Returns true if the array consists of one row.

array row(1,5);
if( col.isrow() )
; //statement will not be reached
if( row.isrow() )
; //statement will be reached

Function Documentation

bool isrow ( ) const

Checks if the array has only one row.

Returns true if the array consists of one row.

array row(1,5);
if( col.isrow() )
; //statement will not be reached
if( row.isrow() )
; //statement will be reached
Returns
True if the array has 1 row. False otherwise