Recent content by harish88
-
H
Fortran Fortran function calling with wrong arguments
Thank you. That's clearly what is happening there.- harish88
- Post #5
- Forum: Programming and Computer Science
-
H
Fortran Fortran function calling with wrong arguments
While w is an array, I believe v(kp) will be a particular value at the kp index location, isn't it ? So we are essentially calling the function with an array w and a scalar value from a specific location in the v array.- harish88
- Post #3
- Forum: Programming and Computer Science
-
H
Fortran Fortran function calling with wrong arguments
I have a program I am trying to understand. According to the function definition(vdot), the function acccepts arrays as inputs. But the function is called with a scalar input and it works just fine. Shouldnt it throw an error ? w and v are arrays of different sizes. ms is a scalar constant...- harish88
- Thread
- Fortran Function
- Replies: 4
- Forum: Programming and Computer Science