Menu

#457 Implement an 'end' constant for tables

v1.1.x
closed
None
v1.1.2
New Functionality
2019-08-21
2019-03-16
Erik Hänel
No

Implement an end constant like in MATLAB to simplify the selection of the table's content via indices. The constant could be named last.

Analysis:

This can be done by introducing two new default variables nlines and ncols, which will contain the dimensions of the current data set and will be updated just before the indices are decoded.

Implementation:

  • Implementation: The implementation was done as proposed by the analysis.
  • Revision: [r509]
  • Implementation test: Multiple possibilities of data accesses were tested and compared with the values obtained by entering the indices directly. No deviations were detected.

Documentation:

  • ChangesLog: Updated
  • Comments: New code sections were commented sufficiently
  • Documentation articles: Updated
  • Language files: Updated

Tests:

The new functionality was added to the automatic tests. No deviation detected.

Related

Commit: [r509]

Discussion

  • Erik Hänel

    Erik Hänel - 2019-03-16
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2019-03-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,18 @@
     Implement an `end` constant like in MATLAB to simplify the selection of the table's content via indices. The constant could be named `last`.
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* ChangesLog: (*Have you updated the changes log?*)
    +* Comments: (*Have you written comments in the code, which describe your change?*)
    +* Documentation articles: (*Have you updated the documentation articles?*)
    +* Language files: (*Have you updated the language files?*)
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
     
  • Erik Hänel

    Erik Hänel - 2019-03-18
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2019-03-20
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Implement an `end` constant like in MATLAB to simplify the selection of the table's content via indices. The constant could be named `last`.
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +This can be done by introducing two new default variables `nlines` and `ncols`, which will contain the dimensions of the current data set and will be updated just before the indices are decoded.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2019-03-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,15 +4,15 @@
     This can be done by introducing two new default variables `nlines` and `ncols`, which will contain the dimensions of the current data set and will be updated just before the indices are decoded.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: The implementation was done as proposed by the analysis.
    +* Revision: [r509]
    +* Implementation test: Multiple possibilities of data accesses were tested and compared with the values obtained by entering the indices directly. No deviations were detected.
    
     ###Documentation:
    -* ChangesLog: (*Have you updated the changes log?*)
    -* Comments: (*Have you written comments in the code, which describe your change?*)
    -* Documentation articles: (*Have you updated the documentation articles?*)
    -* Language files: (*Have you updated the language files?*)
    +* ChangesLog: Updated
    +* Comments: New code sections were commented sufficiently
    +* Documentation articles: Updated
    +* Language files: Updated
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r509]

  • Erik Hänel

    Erik Hänel - 2019-08-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -15,4 +15,4 @@
    
     * Language files: Updated
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +The new functionality was added to the automatic tests. No deviation detected.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB