Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
Questionmedia player library Pin
idiot prince31-Jan-12 5:20
idiot prince31-Jan-12 5:20 
AnswerRe: media player library Pin
Abhinav S31-Jan-12 6:48
Abhinav S31-Jan-12 6:48 
GeneralRe: media player library Pin
idiot prince31-Jan-12 7:30
idiot prince31-Jan-12 7:30 
AnswerRe: media player library Pin
Dean Oliver31-Jan-12 7:59
Dean Oliver31-Jan-12 7:59 
QuestionDeployment issue in Win7 Pin
siddisagar31-Jan-12 5:09
siddisagar31-Jan-12 5:09 
AnswerRe: Deployment issue in Win7 - Repost Pin
Richard MacCutchan31-Jan-12 6:09
mveRichard MacCutchan31-Jan-12 6:09 
QuestionCreating tolerance-lines for a given array using two delta-values Pin
T.Mann1131-Jan-12 3:42
T.Mann1131-Jan-12 3:42 
AnswerRe: Creating tolerance-lines for a given array using two delta-values Pin
Luc Pattyn31-Jan-12 3:59
sitebuilderLuc Pattyn31-Jan-12 3:59 
Hi,

this isn't a C# question, it is more of a conceptual question. This might work for you, it is looking at a couple of the neighbouring points (it is pseudo-code, not C#!):

define a bell-like shape over a small interval with a maximum of 1, say:
bell[-3]=0.1;
bell[-2]=0.3;
bell[-1]=0.5;
bell[ 0]=1.0;
bell[+1]=0.5;
bell[+2]=0.3;
bell[+3]=0.1;


now calculate the upper bound:
foreach(int x in xRange) {
    max[x]=good[x];
    foreach(int i in bellRange) {
        int y=good[x+i]+yDelta*bell[i];
        if (y>max[x]) max[x]=y;
    }
}

and simimlar for lower-bound.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.

QuestionConvertion from .XLS to .XML through c# code Pin
Member 824179730-Jan-12 23:23
Member 824179730-Jan-12 23:23 
AnswerRe: Convertion from .XLS to .XML through c# code Pin
Richard MacCutchan30-Jan-12 23:43
mveRichard MacCutchan30-Jan-12 23:43 
AnswerRe: Convertion from .XLS to .XML through c# code Pin
Abhinav S31-Jan-12 0:41
Abhinav S31-Jan-12 0:41 
QuestionCalling .dll from a C# application (problem when outside VS2010) Pin
Kaare Tragethon30-Jan-12 22:51
Kaare Tragethon30-Jan-12 22:51 
AnswerRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Abhinav S31-Jan-12 0:42
Abhinav S31-Jan-12 0:42 
GeneralRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Kaare Tragethon31-Jan-12 1:14
Kaare Tragethon31-Jan-12 1:14 
GeneralRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Dave Kreskowiak31-Jan-12 2:12
mveDave Kreskowiak31-Jan-12 2:12 
GeneralRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Pete O'Hanlon31-Jan-12 2:34
mvePete O'Hanlon31-Jan-12 2:34 
GeneralRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Dave Kreskowiak31-Jan-12 4:20
mveDave Kreskowiak31-Jan-12 4:20 
AnswerRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Pete O'Hanlon31-Jan-12 2:33
mvePete O'Hanlon31-Jan-12 2:33 
GeneralRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Kaare Tragethon31-Jan-12 3:29
Kaare Tragethon31-Jan-12 3:29 
GeneralRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Pete O'Hanlon31-Jan-12 3:38
mvePete O'Hanlon31-Jan-12 3:38 
GeneralRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Kaare Tragethon31-Jan-12 5:24
Kaare Tragethon31-Jan-12 5:24 
GeneralRe: Calling .dll from a C# application (problem when outside VS2010) Pin
Pete O'Hanlon31-Jan-12 5:38
mvePete O'Hanlon31-Jan-12 5:38 
Questionpdf auto downloader Pin
gavindon30-Jan-12 8:55
gavindon30-Jan-12 8:55 
GeneralRe: pdf auto downloader Pin
harold aptroot30-Jan-12 9:08
harold aptroot30-Jan-12 9:08 
GeneralRe: pdf auto downloader Pin
gavindon30-Jan-12 9:09
gavindon30-Jan-12 9:09 

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.