1. 23 Jan, 2020 1 commit
    • Stéphane Adjemian's avatar
      Fixed subsasgn method (when calling merge). · 67077fe8
      Stéphane Adjemian authored
      It was no more possible to fill a variable with NaNs, after the switch
      to the new behaviour of the merge method (see test #5 in
      @dseries/merge.m). Added a legacy mode to the merge method to
      circumvent the issue (@dseries/subsasgn sets legacy equal to true when
      calling the merge method).
      67077fe8
  2. 17 Jan, 2020 1 commit
    • Stéphane Adjemian's avatar
      Removed third argument. · c5b190d8
      Stéphane Adjemian authored
      Second argument of merge overwrites its first argument except if
      second argument has NaNs (in this case first argument takes
      precedence). This commit reverts fd7476e6 and adds a new unit test.
      c5b190d8
  3. 05 Dec, 2019 1 commit
  4. 23 Oct, 2019 1 commit
  5. 16 Oct, 2019 3 commits
  6. 13 Nov, 2018 1 commit
  7. 21 Sep, 2017 1 commit
    • Stéphane Adjemian's avatar
      Added the ability to tag variables in dseries objects. · 14478ca1
      Stéphane Adjemian authored
       - New class member tags
      
       - Member tags is a structure, initialized to empty.
      
       - Each user-defined field of this structure must be a vobs(o)*1 cell
         array (each element is associated to a variable).
      
       - To add a new tag name:
      
            >> o.tag('type')
      
       - To associate a tag value to a variable:
      
            >> o.tag('type', 'Consumption', 'Flow')
      
         the first argument is the tag name, the second argument is the name
         of the variable, the last argument is the value of the tag.
      14478ca1
  8. 19 Sep, 2017 1 commit
    • Stéphane Adjemian's avatar
      Added new member ops. · 4ee3117f
      Stéphane Adjemian authored
      This member keeps track of the transformations and operations on the
      variables. The name of the variables is now constant.
      4ee3117f
  9. 18 May, 2017 1 commit
  10. 13 Feb, 2017 1 commit
    • Stéphane Adjemian's avatar
      Fixed behaviour w.r.t inplace modification. · abcf6d90
      Stéphane Adjemian authored
      GENERAL RULE: Methods with trailing underscore do in place modifications of the
      object, while methods without trailing underscore do a copy (and leave
      the original object unchanged).
      
      Also fixed some headers and unit tests + cosmetic changes.
      abcf6d90
  11. 19 Oct, 2015 3 commits
  12. 27 Nov, 2014 1 commit