Click here to Skip to main content
15,891,136 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David198718-Mar-11 3:47
David198718-Mar-11 3:47 
AnswerRe: Good way to detect a useful portion of equivalent expressions Pin
_Erik_18-Mar-11 3:02
_Erik_18-Mar-11 3:02 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David198718-Mar-11 3:18
David198718-Mar-11 3:18 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
_Erik_18-Mar-11 3:46
_Erik_18-Mar-11 3:46 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David198718-Mar-11 3:49
David198718-Mar-11 3:49 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
_Erik_18-Mar-11 3:59
_Erik_18-Mar-11 3:59 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David198718-Mar-11 4:13
David198718-Mar-11 4:13 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
_Erik_18-Mar-11 4:40
_Erik_18-Mar-11 4:40 
Induction can only be applied with Natural numbers. If your expression will only evaluate Natural numbers then this is a good, quick and effective approach.

David1987 wrote:
Well then, what if the expressions are both polynomials that both happen to
intersect the x-axis at 3 points, namely the base case, the random case, and its
successor?


This means Real numbers, so you cannot apply induction here. That's why I said in my first reply: "if the inputs are always natural numbers...". If you don't know what mathematical induction is then I recommend you to follow the link I gave you before but, please, stop replying as if I was stupid and did not know what I am talking about... I can't belive it...
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David198718-Mar-11 4:52
David198718-Mar-11 4:52 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
_Erik_18-Mar-11 5:18
_Erik_18-Mar-11 5:18 
AnswerRe: Good way to detect a useful portion of equivalent expressions Pin
Luc Pattyn18-Mar-11 5:48
sitebuilderLuc Pattyn18-Mar-11 5:48 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
_Erik_18-Mar-11 6:21
_Erik_18-Mar-11 6:21 
AnswerRe: Good way to detect a useful portion of equivalent expressions Pin
Luc Pattyn18-Mar-11 7:09
sitebuilderLuc Pattyn18-Mar-11 7:09 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
_Erik_21-Mar-11 2:55
_Erik_21-Mar-11 2:55 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
molesworth18-Mar-11 4:40
molesworth18-Mar-11 4:40 
GeneralRe: Good way to detect a useful portion of equivalent expressions [modified] Pin
_Erik_18-Mar-11 4:44
_Erik_18-Mar-11 4:44 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David198718-Mar-11 4:54
David198718-Mar-11 4:54 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
_Erik_18-Mar-11 5:24
_Erik_18-Mar-11 5:24 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
Matty221-Apr-11 1:51
Matty221-Apr-11 1:51 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David19871-Apr-11 3:35
David19871-Apr-11 3:35 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
mbyamukama3-Apr-11 2:08
mbyamukama3-Apr-11 2:08 
GeneralRe: Good way to detect a useful portion of equivalent expressions [modified] Pin
David19873-Apr-11 2:35
David19873-Apr-11 2:35 
AnswerRe: Good way to detect a useful portion of equivalent expressions Pin
Alex Shtof9-Apr-11 10:47
Alex Shtof9-Apr-11 10:47 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
David19879-Apr-11 21:14
David19879-Apr-11 21:14 
GeneralRe: Good way to detect a useful portion of equivalent expressions Pin
Alex Shtof11-Apr-11 9:06
Alex Shtof11-Apr-11 9:06 

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.