Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Project DescriptionA stand-alone program that can take MathML (acquired, e.g., from Microsoft Word 2007) and convert it to a meaningful set of C# statements, thereby facilitating domain-driven design in engineering and mathematical applications. To see the program in action, watch the screencast. ... [More] System RequirementsRequires .NET Framework 3.5 to run and Visual Studio 2008 + NUnit to compile. To use the functionality, a MathML-compatible editor is required. If using MS Word, make sure your Clipboard settings for equations are set to copy MathML. FeaturesCurrent version implements the following features: Variable naming (e.g., if we write x = y, both variables are defined as double x, y;). Multiplication sign addition (e.g., writing x = 2y results in the statement x = 2 * y;). Superscript and subscript. Superscript is taken to mean 'power of' and is realized with Math.Pow(). Subscript properly affects variable naming. Round and square braces are handled. Some replacements, e.g. replaces × with *. Substitutions, e.g., replacing 'e' with Math.E, are supported. Power inlining. Allows us to generate x*x instead Math.Pow(x, 2), which is much slower. An ExampleGiven this: The tool outputs this: p = rho*R*T + (B_0*R*T-A_0-((C_0) / (T*T))+((E_0) / (Math.Pow(T, 4))))*rho*rho + (b*R*T-a-((d) / (T)))*Math.Pow(rho, 3) + alpha*(a+((d) / (t)))*Math.Pow(rho, 6) + ((c*Math.Pow(rho, 3)) / (T*T))*(1+gamma*rho*rho)*Math.Exp(-gamma*rho*rho); [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed almost 2 years ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.