Click here to Skip to main content
15,909,896 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Finding Closest Points in 2 dimensions [modified] Pin
Stephen Hewitt14-Jan-08 11:18
Stephen Hewitt14-Jan-08 11:18 
GeneralRe: Finding Closest Points in 2 dimensions Pin
Alan Balkany16-Jan-08 3:41
Alan Balkany16-Jan-08 3:41 
GeneralRe: Finding Closest Points in 2 dimensions Pin
CPallini17-Jan-08 2:10
mveCPallini17-Jan-08 2:10 
GeneralRe: Finding Closest Points in 2 dimensions Pin
MikeMarq17-Jan-08 12:13
MikeMarq17-Jan-08 12:13 
GeneralRe: Finding Closest Points in 2 dimensions Pin
cp987617-Jan-08 15:18
cp987617-Jan-08 15:18 
GeneralRe: Finding Closest Points in 2 dimensions Pin
brien_rtb17-Jan-08 18:00
brien_rtb17-Jan-08 18:00 
GeneralRe: Finding Closest Points in 2 dimensions [modified] Pin
Skippums21-Jan-08 8:58
Skippums21-Jan-08 8:58 
GeneralMulti-dimensional surface representation and interpolation in C++ Pin
sjcomp12-Jan-08 11:47
sjcomp12-Jan-08 11:47 
Hello,

I have a function that takes three variables and gives back two variables. Something like (a,b) = f(x,y,z). I'd like f to be like a look-up table. This means that I do not have mathematical representation of f. So the question is how do I represent such a look-up table efficiently, given that I would like to have an interpolation between existing values.

In 2d case when I have a = f(x) I can represent f as a bezier curve (which I can create and edit manually). And when I load it up I create a map m[x] gives me a. I use interpolation if x is not in the map.

My solution so far is based on 2d case, which means that I have a map like that m[x][y][z] (basically map of map of map of a pair (a,b)).

Is there a library that works with such issues in C++? Something that already provides similar functionality efficiently? I'd like to be able to create f(x,y,z), save it, load it and use it.

Thanks a lot.

Regards, Alexander. http://sjcomp.com

GeneralRe: Multi-dimensional surface representation and interpolation in C++ Pin
CKnig22-Jan-08 3:09
CKnig22-Jan-08 3:09 
GeneralRe: Multi-dimensional surface representation and interpolation in C++ Pin
sjcomp22-Jan-08 6:48
sjcomp22-Jan-08 6:48 
GeneralOne Big doubt in a small algo... Pin
selvabsc11-Dec-07 1:19
selvabsc11-Dec-07 1:19 
GeneralRe: One Big doubt in a small algo... Pin
Luc Pattyn11-Dec-07 4:19
sitebuilderLuc Pattyn11-Dec-07 4:19 
Questionhelpppp Pin
FREAK880230-Nov-07 7:25
FREAK880230-Nov-07 7:25 
AnswerRe: helpppp Pin
Dan Neely30-Nov-07 7:57
Dan Neely30-Nov-07 7:57 
GeneralRe: helpppp Pin
FREAK880230-Nov-07 8:20
FREAK880230-Nov-07 8:20 
GeneralRe: helpppp Pin
Dan Neely30-Nov-07 8:42
Dan Neely30-Nov-07 8:42 
GeneralRe: helpppp Pin
Paul Conrad1-Dec-07 9:27
professionalPaul Conrad1-Dec-07 9:27 
GeneralRe: helpppp Pin
Maximilien30-Nov-07 8:50
Maximilien30-Nov-07 8:50 
GeneralRe: helpppp Pin
Dan Neely30-Nov-07 9:39
Dan Neely30-Nov-07 9:39 
GeneralRe: helpppp Pin
Maximilien30-Nov-07 10:03
Maximilien30-Nov-07 10:03 
GeneralRe: helpppp Pin
Paul Conrad1-Dec-07 9:30
professionalPaul Conrad1-Dec-07 9:30 
GeneralRe: helpppp Pin
Paul Conrad1-Dec-07 9:29
professionalPaul Conrad1-Dec-07 9:29 
GeneralRe: helpppp Pin
LloydA1114-Jan-08 16:37
LloydA1114-Jan-08 16:37 
GeneralRe: helpppp Pin
Paul Conrad1-Dec-07 9:27
professionalPaul Conrad1-Dec-07 9:27 
GeneralRe: helpppp Pin
FREAK88021-Dec-07 18:07
FREAK88021-Dec-07 18:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.