Changeset 7697


Ignore:
Timestamp:
04/03/12 08:24:08 (10 years ago)
Author:
gkronber
Message:

#1810 added handlers for norm() function in latex exporter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionLatexFormatter.cs

    r7696 r7697  
    146146      } else if (node.Symbol is HyperbolicSineIntegral) {
    147147        strBuilder.Append(@"\operatorname{hypSinInt} \left( ");
     148      } else if (node.Symbol is Norm) {
     149        strBuilder.Append(@"\operatorname{norm} \left( ");
    148150      } else if (node.Symbol is Psi) {
    149151        strBuilder.Append(@"\operatorname{digamma} \left( ");
     
    275277      } else if (node.Symbol is HyperbolicSineIntegral) {
    276278        throw new InvalidOperationException();
     279      } else if (node.Symbol is Norm) {
     280        throw new InvalidOperationException();
    277281      } else if (node.Symbol is Psi) {
    278282        throw new InvalidOperationException();
     
    364368      } else if (node.Symbol is HyperbolicSineIntegral) {
    365369        strBuilder.Append(@" \right) ");
     370      } else if (node.Symbol is Norm) {
     371        strBuilder.Append(@" \right) ");
    366372      } else if (node.Symbol is Psi) {
    367373        strBuilder.Append(@" \right) ");
Note: See TracChangeset for help on using the changeset viewer.