User Profile

Collapse

Profile Sidebar

Collapse
happyjack27
happyjack27
Last Activity: Jan 6 '08, 05:50 PM
Joined: Dec 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • happyjack27
    replied to Problrm in invesing a char array
    in C
    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....
    See more | Go to post

    Leave a comment:


  • happyjack27
    replied to evaluating a simple b-spline function
    in C
    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...
    See more | Go to post

    Leave a comment:


  • happyjack27
    replied to evaluating a simple b-spline function
    in C
    To be more precise, I'm looking for how to create and evaluate a "natural cubic spline".
    See more | Go to post

    Leave a comment:


  • happyjack27
    started a topic evaluating a simple b-spline function
    in C

    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,...
    See more | Go to post
    Last edited by happyjack27; Dec 14 '07, 07:37 PM. Reason: insert code tags
No activity results to display
Show More
Working...