Try to search your question here, if you can't find : Ask Any Question Now ?

How do I find the Average of a List of Coordinate Tuples in Haskell?

HomeCategory: stackoverflowHow do I find the Average of a List of Coordinate Tuples in Haskell?
rupesh asked 2 weeks ago

How do I add a list of tuples in Haskell which represent x and y coordinates and then find the average of all the x values and y values (basically trying to find a centroid).

So lets say I had an input list of [(1,1),(2,2),(3,6)] and I want the output to be (2,3).

1 Answers
Best Answer
Jyoti answered 2 weeks ago
Your Answer

4 + 10 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com