Click here to Skip to main content
15,920,704 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: inversion algorithm Pin
harold aptroot15-Aug-13 21:43
harold aptroot15-Aug-13 21:43 
AnswerRe: inversion algorithm Pin
Alan Balkany16-Aug-13 4:31
Alan Balkany16-Aug-13 4:31 
QuestionTLS HMAC and the Pseudorandom Function Simplification Assistance Pin
Dominick Marciano10-Aug-13 19:37
professionalDominick Marciano10-Aug-13 19:37 
Question[Closure and System.Reflection] Pin
Member 823782310-Aug-13 1:43
Member 823782310-Aug-13 1:43 
QuestionGARCH algo Pin
ExcellentOrg5-Aug-13 22:46
ExcellentOrg5-Aug-13 22:46 
QuestionHow to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo2-Aug-13 19:08
ahuzhangbo2-Aug-13 19:08 
AnswerRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia14-Aug-13 5:10
professionalArgonia14-Aug-13 5:10 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo14-Aug-13 15:30
ahuzhangbo14-Aug-13 15:30 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia14-Aug-13 21:36
professionalArgonia14-Aug-13 21:36 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo15-Aug-13 0:21
ahuzhangbo15-Aug-13 0:21 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia15-Aug-13 1:22
professionalArgonia15-Aug-13 1:22 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo15-Aug-13 16:03
ahuzhangbo15-Aug-13 16:03 
AnswerRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Member 1222963626-Dec-15 6:59
Member 1222963626-Dec-15 6:59 
Questionneed help in algorithum Pin
snehal1221-Aug-13 21:16
snehal1221-Aug-13 21:16 
GeneralRe: need help in algorithum Pin
harold aptroot1-Aug-13 22:05
harold aptroot1-Aug-13 22:05 
GeneralRe: need help in algorithum Pin
Richard MacCutchan1-Aug-13 23:16
mveRichard MacCutchan1-Aug-13 23:16 
GeneralRe: need help in algorithum Pin
Bernhard Hiller2-Aug-13 0:02
Bernhard Hiller2-Aug-13 0:02 
AnswerRe: need help in algorithum Pin
SoMad2-Aug-13 0:08
professionalSoMad2-Aug-13 0:08 
GeneralRe: need help in algorithum Pin
koll Zhu22-Sep-13 23:55
koll Zhu22-Sep-13 23:55 
QuestionCubic Spline Interpolation [Answered] Pin
Skippums18-Jul-13 15:02
Skippums18-Jul-13 15:02 
I am using the SplineInterpolator class in Java, and am getting some unexpected results. I think it is because of the restriction that cubic splines are required to have a continuous second derivative at each knot, but am not sure. Here is the observed peculiarity:

Lets say I have five data points, (x1, y1), (x2, y2), ... (x5, y5), and create a cubic spline interpolation between them. Then I compute another cubic spline interpolation over only the first four out of five knots.

My expectation was that the first two cubic segments (the segment between points 1 and 2, and the segment between points 2 and 3) would be identical between the two interpolations, but this is not the case. Instead, each segments has a different interpolating function.

Is there any way to compute a cubic spline interpolation that has the same interpolating function between all common knots (excluding x segments at each end, where x is some constant)? I know this is possible if I ignore the requirement that the second derivative is continuous, but then it is not technically a cubic spline. Also, if there is already a Java library that does what I am asking, please let me know! Thanks,
Sounds like somebody's got a case of the Mondays

-Jeff


modified 23-Jul-13 17:57pm.

AnswerRe: Cubic Spline Interpolation Pin
Bernhard Hiller18-Jul-13 20:53
Bernhard Hiller18-Jul-13 20:53 
GeneralRe: Cubic Spline Interpolation Pin
Skippums19-Jul-13 7:38
Skippums19-Jul-13 7:38 
GeneralRe: Cubic Spline Interpolation Pin
Stefan_Lang22-Jul-13 1:21
Stefan_Lang22-Jul-13 1:21 
AnswerRe: Cubic Spline Interpolation Pin
Stefan_Lang22-Jul-13 2:07
Stefan_Lang22-Jul-13 2:07 
AnswerRe: Cubic Spline Interpolation Pin
Skippums23-Jul-13 11:57
Skippums23-Jul-13 11:57 

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.