Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1036

GradStructure: A DerivativeStructure that works for large number of variables.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3
    • None
    • None

    Description

      Ran into problems with DerivativeStructure today. It requires a lot of
      memory with 6000 or so independent variables. The problem starts with the number of DSCompiler objects instantiated.

      Here is a faster/leaner(less memory) GradStructure that only computes up to the first derivative for the case where there are a large number of independent variables.

      Attachments

        1. GradStructure.java
          7 kB
          Ajo Fod
        2. grad-patch.txt
          14 kB
          Ajo Fod

        Activity

          People

            Unassigned Unassigned
            ajo.fod Ajo Fod
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: