generate Fortran code for an expression
expression, array, matrix, or vector of expressions
The fortran(A,x) function creates a Fortran statement which represents the assignment of the expression A to the variable x. This Fortran statement is returned as a string.
When called with the form fortran(A), the expression A is assigned to a default variable name in the returned statement.
w = x ** 4 - 5 * x ** 2 + 2
Download Help Document
What kind of issue would you like to report? (Optional)