User Profile
Collapse
-
you're making the problem overly complicated. you don't need to use strcpy or putchar. just write one character at a time to the destination array: the upper case version of the corresponding character in the source array. you want to set each character in the destination array to be the upper case version of the corresponding character in the source array, right? so write that.... -
Very funny.
I think step 1 is completely unnecessary, as is step 3 (why code twice?). And step 4 is essentially the same as step 2. So essentially what you're saying is "create a general algorithm to solve any regular "natural cubic spline" problems", which is obvious enough, as that's what I'm trying to do in the first place. These are the steps I would take:
1. Find the formulas necessary to solve...Leave a comment:
-
To be more precise, I'm looking for how to create and evaluate a "natural cubic spline".Leave a comment:
-
evaluating a simple b-spline function
I've searched the net all over.
All I want to do is generate a cubic b-spline function from a set of 2-d points and evaluate it at different x. I need the kind where the curve runs through the control points (knots). I want to use it for interpolating a cumulative distribution function. I'm looking for two simple c/c++ functions:
[code=c]
void calculateBSplin e(some_simple_d ata_type* bspline, double** source_points,...
No activity results to display
Show More
Leave a comment: