source:
branches/3022-FastFunctionExtraction/FFX/Operator.cs
@
17644
Last change on this file since 17644 was 17227, checked in by lleko, 5 years ago | |
---|---|
File size: 438 bytes |
Line | |
---|---|
1 | using System; |
2 | using System.Collections.Generic; |
3 | using System.Linq; |
4 | using System.Text; |
5 | using System.Threading.Tasks; |
6 | |
7 | namespace HeuristicLab.Algorithms.DataAnalysis.FastFunctionExtraction |
8 | { |
9 | public enum NonlinOp { None, Abs, Log, Sin, Cos }; |
10 | static class Operator |
11 | { |
12 | |
13 | public static string ToString(NonlinOp op, string val) => op != NonlinOp.None ? op.ToString() + "(" + val + ")" : val; |
14 | } |
15 | } |
Note: See TracBrowser
for help on using the repository browser.