Tagged Questions
1
vote
2answers
102 views
RGB Color Name Matching using Euclidean Distance (Improved)
The code below stems from work on a Euclidean Distance algorithm. The color table was simply a vehicle to test the algorithm. It is perhaps reinventing the wheel, however it is useful in itself. ...
2
votes
1answer
61 views
VB.Net interfacing with F# Euclidean Distance Algorithm
I testing F# code which calculates "nearness" of two N-dimensional points using a least square euclidean distance algorithm. The class library is written in F# and the calling will be from VB.NET. ...
2
votes
3answers
132 views
Is there a better way of defining custom calendars?
I need to define custom calendars and, in particular, test a DateTime for being a holiday. My current code is shown below. Is there a more concise/better way of doing this, preferably without ...
6
votes
1answer
223 views
F# Djikstras shortest path implementation
I'm just getting my feet wet with F#, by implementing some simple algorithms. First up: Djikstras shortest path.
There is one piece I've written in this code which confuses me as to why it works: the ...
