Change request #3508

Use consistent method names for number of rows and columns

Added by Knödlseder Jürgen about 3 years ago. Updated about 2 years ago.

Status:NewStart date:01/20/2021
Priority:NormalDue date:
Assigned To:-% Done:

0%

Category:-
Target version:-
Duration:

Description

Different classes using different names for methods that return the number of rows and columns:

GMatrixBase::columns()
GCsv::ncols()
GFitsTable::ncols()

GMatrixBase::rows()
GCsv::nrows()
GFitsTable::nrows()

columns() and rows() seem to be a more natural method names for these methods. These names should be used consistently through GammaLib.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen about 3 years ago

Same for GFitsTableCol::nrows() which should be GFitsTableCol::rows().

#2 Updated by Knödlseder Jürgen about 2 years ago

  • Target version deleted (2.0.0)

Also available in: Atom PDF