- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
Im still using CVF6.6c and I was looking for a function that return the average of an array.
Though I didnt find a function, I tried to program a function on my own. But I have a problem with the array dimension and array type in the ne function. I have to create a new array but I dont know the dimensions nor type.
real function average(array)
implicit none
real array(:)
Thanks in advance,
Markus
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Erm, what's wrong with SUM()/SIZE() ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Erm, nothing... That was only aquestion to test the expertise of the forum users :-)
I need a vacation...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need a vacation...
Tell me about it...
Tell me about it...

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page