- Timestamp:
- 06/26/12 13:35:44 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionMATLABFormatter.cs
r7695 r8122 231 231 stringBuilder.Append(FormatRecursively(node.GetSubtree(0))); 232 232 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(")"); 233 293 } else if (symbol is HeuristicLab.Problems.DataAnalysis.Symbolic.Variable) { 234 294 VariableTreeNode variableTreeNode = node as VariableTreeNode;
Note: See TracChangeset
for help on using the changeset viewer.