Click here to Skip to main content
15,566,394 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Vehicle routing problem for large graph Pin
Member 147325528-Mar-20 9:07
Member 147325528-Mar-20 9:07 
AnswerRe: Vehicle routing problem for large graph Pin
hailu worku17-Mar-20 21:15
hailu worku17-Mar-20 21:15 
QuestionRecursion Pin
Member 1475643326-Feb-20 11:10
Member 1475643326-Feb-20 11:10 
AnswerRe: Recursion Pin
Daniel Pfeffer26-Feb-20 22:22
professionalDaniel Pfeffer26-Feb-20 22:22 
GeneralRe: Recursion Pin
Member 1475643326-Feb-20 23:39
Member 1475643326-Feb-20 23:39 
GeneralRe: Recursion Pin
Daniel Pfeffer27-Feb-20 0:25
professionalDaniel Pfeffer27-Feb-20 0:25 
GeneralRe: Recursion Pin
Member 1475643327-Feb-20 0:33
Member 1475643327-Feb-20 0:33 
QuestionNegating a number Pin
Nand3219-Feb-20 3:53
Nand3219-Feb-20 3:53 
How do I convert ANY number to negative representation? I'm trying this in Excel.

To converting a positive number X, I just multiply with -1 & it gets converted to X * -1 = -X.

But what if I a number that is negative already, and the same formula should work seamlessly.

For example if it's -X & I multiply with -1 it gets converted to +X. Like -X * -1 = X.

which I don't want.

On a list containing both negative & positive values, I want this formula to have an impact only with the negative numbers.

modified 19-Feb-20 9:34am.

AnswerRe: Negating a number Pin
Richard MacCutchan19-Feb-20 4:04
mveRichard MacCutchan19-Feb-20 4:04 
GeneralRe: Negating a number Pin
Nand3219-Feb-20 4:08
Nand3219-Feb-20 4:08 
GeneralRe: Negating a number Pin
Richard MacCutchan19-Feb-20 4:47
mveRichard MacCutchan19-Feb-20 4:47 
AnswerRe: Negating a number Pin
Richard Deeming19-Feb-20 4:23
mveRichard Deeming19-Feb-20 4:23 
GeneralRe: Negating a number Pin
Nand3219-Feb-20 4:32
Nand3219-Feb-20 4:32 
QuestionLALR vs LR parsing Pin
honey the codewitch13-Feb-20 4:53
mvahoney the codewitch13-Feb-20 4:53 
AnswerRe: LALR vs LR parsing Pin
Member 1298255823-Feb-20 7:45
Member 1298255823-Feb-20 7:45 
GeneralRe: LALR vs LR parsing Pin
honey the codewitch23-Feb-20 8:29
mvahoney the codewitch23-Feb-20 8:29 
QuestionRouting algorithm Pin
Rocks10028-Jan-20 9:23
Rocks10028-Jan-20 9:23 
AnswerRe: Routing algorithm Pin
Richard Deeming28-Jan-20 10:43
mveRichard Deeming28-Jan-20 10:43 
GeneralRe: Routing algorithm Pin
Rocks10028-Jan-20 11:11
Rocks10028-Jan-20 11:11 
GeneralRe: Routing algorithm Pin
Rocks10028-Jan-20 12:36
Rocks10028-Jan-20 12:36 
AnswerRe: Routing algorithm Pin
Gerry Schmitz29-Jan-20 4:34
mveGerry Schmitz29-Jan-20 4:34 
QuestionAnalysis of Algorithm Pin
Zain Shoukat Sadozai22-Jan-20 20:46
Zain Shoukat Sadozai22-Jan-20 20:46 
GeneralRe: Analysis of Algorithm Pin
Richard MacCutchan22-Jan-20 23:03
mveRichard MacCutchan22-Jan-20 23:03 
AnswerRe: Analysis of Algorithm Pin
phil.o23-Jan-20 0:04
mvephil.o23-Jan-20 0:04 
QuestionComputing FIRST and FOLLOW sets in LL(k) parse tables for k>1? I need resources Pin
honey the codewitch29-Dec-19 1:31
mvahoney the codewitch29-Dec-19 1:31 

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.