Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/03/12 16:46:35 (12 years ago)
Author:
gkronber
Message:

#1847: merged r8084:8205 from trunk into GP move operators branch

Location:
branches/GP-MoveOperators
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GP-MoveOperators

  • branches/GP-MoveOperators/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionMATLABFormatter.cs

    r7695 r8206  
    231231        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
    232232        stringBuilder.Append(")");
     233      } else if (node.Symbol is AiryA) {
     234        stringBuilder.Append("airy(");
     235        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     236        stringBuilder.Append(")");
     237      } else if (node.Symbol is AiryB) {
     238        stringBuilder.Append("airy(2, ");
     239        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     240        stringBuilder.Append(")");
     241      } else if (node.Symbol is Bessel) {
     242        stringBuilder.Append("besseli(0.0,");
     243        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     244        stringBuilder.Append(")");
     245      } else if (node.Symbol is CosineIntegral) {
     246        stringBuilder.Append("cosint(");
     247        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     248        stringBuilder.Append(")");
     249      } else if (node.Symbol is Dawson) {
     250        stringBuilder.Append("dawson(");
     251        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     252        stringBuilder.Append(")");
     253      } else if (node.Symbol is Erf) {
     254        stringBuilder.Append("erf(");
     255        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     256        stringBuilder.Append(")");
     257      } else if (node.Symbol is ExponentialIntegralEi) {
     258        stringBuilder.Append("expint(");
     259        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     260        stringBuilder.Append(")");
     261      } else if (node.Symbol is FresnelCosineIntegral) {
     262        stringBuilder.Append("FresnelC(");
     263        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     264        stringBuilder.Append(")");
     265      } else if (node.Symbol is FresnelSineIntegral) {
     266        stringBuilder.Append("FresnelS(");
     267        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     268        stringBuilder.Append(")");
     269      } else if (node.Symbol is Gamma) {
     270        stringBuilder.Append("gamma(");
     271        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     272        stringBuilder.Append(")");
     273      } else if (node.Symbol is HyperbolicCosineIntegral) {
     274        stringBuilder.Append("Chi(");
     275        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     276        stringBuilder.Append(")");
     277      } else if (node.Symbol is HyperbolicSineIntegral) {
     278        stringBuilder.Append("Shi(");
     279        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     280        stringBuilder.Append(")");
     281      } else if (node.Symbol is Norm) {
     282        stringBuilder.Append("normpdf(");
     283        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     284        stringBuilder.Append(")");
     285      } else if (node.Symbol is Psi) {
     286        stringBuilder.Append("psi(");
     287        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     288        stringBuilder.Append(")");
     289      } else if (node.Symbol is SineIntegral) {
     290        stringBuilder.Append("sinint(");
     291        stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
     292        stringBuilder.Append(")");
    233293      } else if (symbol is HeuristicLab.Problems.DataAnalysis.Symbolic.Variable) {
    234294        VariableTreeNode variableTreeNode = node as VariableTreeNode;
Note: See TracChangeset for help on using the changeset viewer.