Click here to Skip to main content
15,918,742 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionPoint on Bezier Curve Pin
PremalathaP19-Sep-06 18:49
PremalathaP19-Sep-06 18:49 
AnswerRe: Point on Bezier Curve Pin
Reagan Conservative20-Sep-06 9:28
Reagan Conservative20-Sep-06 9:28 
AnswerRe: Point on Bezier Curve Pin
Link20061-Oct-06 22:09
Link20061-Oct-06 22:09 
AnswerRe: Point on Bezier Curve Pin
frakier14-Oct-06 14:31
frakier14-Oct-06 14:31 
QuestionMore Math Jokes Pin
Bassam Abdul-Baki19-Sep-06 8:15
professionalBassam Abdul-Baki19-Sep-06 8:15 
AnswerRe: More Math Jokes Pin
Arun.Immanuel3-May-07 4:25
Arun.Immanuel3-May-07 4:25 
GeneralRe: More Math Jokes Pin
Bassam Abdul-Baki3-May-07 4:29
professionalBassam Abdul-Baki3-May-07 4:29 
QuestionFitting triangles in squares Pin
Wjousts19-Sep-06 4:24
Wjousts19-Sep-06 4:24 
I have a problem that I'm sure there must be a mathematical solution for. What I am trying to do is create a random triangle within a square area with as large an area (of the triangle) as possible (i.e. it would cover 50% of the area of the square). It's easy to imagine that you could pick two corners and then pick a random point along the opposite edge and you would achieve this. No problem. My problem is that I want to take this into higher dimensions. So now if you think about a tetrahedron in a 3D cube you could imagine picking any three corners on the same face and then picking a random point on the opposite face and that (I think) will give you the largest volume tetrahedron you can fit in a cube. But now what about a 4D simplex (a pentatope) in a 4D box (a hypercube? I'm not sure of the nomenclature here). Or a nD simplex in a nD box? Does anybody know if there is a general way to do this? Something I can convert to code.
For background, I am playing with the Nelder-Mead simplex method and I'm trying to evaluate the algorithm with random starting simplex, the problem is that, especially in higher dimensions, if I start with a random simplex they tend to be too small to start (for example, with the tetrahedron you could imagine you might end up with 4 points all on the same plane which gives you a volume of 0).

Thanks
AnswerHyper-geometry Pin
Wjousts19-Sep-06 8:02
Wjousts19-Sep-06 8:02 
AnswerRe: Hyper-geometry Pin
Slayer2-Oct-06 6:21
Slayer2-Oct-06 6:21 
QuestionA Permuation Question Pin
Mushtaque Nizamani19-Sep-06 1:39
Mushtaque Nizamani19-Sep-06 1:39 
AnswerRe: A Permuation Question Pin
Rob Graham19-Sep-06 2:40
Rob Graham19-Sep-06 2:40 
AnswerRe: A Permuation Question Pin
ejuanpp19-Sep-06 2:43
ejuanpp19-Sep-06 2:43 
GeneralRe: A Permuation Question Pin
Mushtaque Nizamani19-Sep-06 3:01
Mushtaque Nizamani19-Sep-06 3:01 
GeneralRe: A Permuation Question Pin
Rob Graham19-Sep-06 3:35
Rob Graham19-Sep-06 3:35 
GeneralRe: A Permuation Question Pin
Mushtaque Nizamani19-Sep-06 3:46
Mushtaque Nizamani19-Sep-06 3:46 
AnswerRe: A Permuation Question Pin
Sean Cundiff20-Sep-06 6:53
Sean Cundiff20-Sep-06 6:53 
GeneralRe: A Permuation Question Pin
Mushtaque Nizamani20-Sep-06 7:32
Mushtaque Nizamani20-Sep-06 7:32 
QuestionAn Algorithm Design Challenge Pin
Roger Wright18-Sep-06 12:00
professionalRoger Wright18-Sep-06 12:00 
AnswerRe: An Algorithm Design Challenge Pin
Bassam Abdul-Baki18-Sep-06 13:35
professionalBassam Abdul-Baki18-Sep-06 13:35 
GeneralRe: An Algorithm Design Challenge Pin
Roger Wright18-Sep-06 13:52
professionalRoger Wright18-Sep-06 13:52 
AnswerRe: An Algorithm Design Challenge Pin
Sean Cundiff18-Sep-06 16:05
Sean Cundiff18-Sep-06 16:05 
GeneralRe: An Algorithm Design Challenge Pin
Bassam Abdul-Baki18-Sep-06 16:12
professionalBassam Abdul-Baki18-Sep-06 16:12 
GeneralRe: An Algorithm Design Challenge Pin
Sean Cundiff18-Sep-06 16:46
Sean Cundiff18-Sep-06 16:46 
GeneralRe: An Algorithm Design Challenge Pin
Bassam Abdul-Baki18-Sep-06 16:49
professionalBassam Abdul-Baki18-Sep-06 16:49 

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.