Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Symbolic math calculations with Fortran 95

  1. May 28, 2012 #1
    Hi all
    I am struggling to work symbolic math calculations with Fotran 95 in the Silverfrost ftn 95 plataform.

    Say you want to calculate c=a+b but without initializing "a" or "b" to get a value "c", but rather print out or obtain the actual generic expresion "a+b"

    I have tried to solve that using different data types (REAL, CHARACTER etc) but no way to handle the error exception for me.

    Could somebody please give any light on this? I am new to Fotran and have not been able to find any solution on this.

    Thanks in advance
  2. jcsd
  3. May 28, 2012 #2


    User Avatar

    Staff: Mentor

    Why do you try to use FORTRAN? Of all languages I ever used I would never select it for doing such things.
  4. May 28, 2012 #3
    Hi Borek, you are right, I had the same tought.
    Better to do it with Mapple,
    I just wanted to know if there was a relatively "simple" way to make it out
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Symbolic math calculations Date
Is my math okay for gradient descent Mar 5, 2018
Symbolic calculations in MATLAB Nov 21, 2017
C/++/# What are the "debugging symbols"? Jul 18, 2017
Error: cannot find symbol Oct 12, 2015
How can I perform symbolic computation in a C++ program? Sep 10, 2014