- Timestamp:
- 01/02/22 21:19:55 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/DerivativeCalculator.cs
r18143 r18174 158 158 var newExponent = (NumberTreeNode)numberSy.CreateTreeNode(); 159 159 newExponent.Value = ((NumberTreeNode)newPower.GetSubtree(1)).Value - 1; 160 newPower.RemoveSubtree(1); 161 newPower.AddSubtree(newExponent); 160 162 return Product(Product(CreateNumber(exponent.Value), newPower), Derive(f, variableName)); 161 163 } else throw new NotSupportedException("Cannot derive non-integer powers");
Note: See TracChangeset
for help on using the changeset viewer.