Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T,X and PS, PD, PU not working with BICUBIC, but does with TTSE #660

Closed
ibell opened this issue May 9, 2015 · 3 comments
Closed

T,X and PS, PD, PU not working with BICUBIC, but does with TTSE #660

ibell opened this issue May 9, 2015 · 3 comments
Milestone

Comments

@ibell
Copy link
Contributor

ibell commented May 9, 2015

No description provided.

@ibell
Copy link
Contributor Author

ibell commented May 9, 2015

Where X in D, S

@ibell ibell changed the title T,X not working with BICUBIC, but does with TTSE T,X and PS, PD, PU not working with BICUBIC, but does with TTSE May 15, 2015
@ibell
Copy link
Contributor Author

ibell commented May 15, 2015

Need to implement backwards solver for bicubic

@ibell ibell added this to the v5.1.1 milestone May 15, 2015
@ibell
Copy link
Contributor Author

ibell commented May 15, 2015

double a = (*alpha)[3+0*4]*y_0+(*alpha)[3+1*4]*y_1+(*alpha)[3+2*4]*y_2+(*alpha)[3+3*4]*y_3; // factors of x^3
double b = (*alpha)[2+0*4]*y_0+(*alpha)[2+1*4]*y_1+(*alpha)[2+2*4]*y_2+(*alpha)[2+3*4]*y_3; // factors of x^2
double c = (*alpha)[1+0*4]*y_0+(*alpha)[1+1*4]*y_1+(*alpha)[1+2*4]*y_2+(*alpha)[1+3*4]*y_3; // factors of x
double d = (*alpha)[0+0*4]*y_0+(*alpha)[0+1*4]*y_1+(*alpha)[0+2*4]*y_2+(*alpha)[0+3*4]*y_3 - Other; // constant factors
double x0,x1,x2;
solve_cubic(a,b,c,d,&x0,&x1,&x2);

@ibell ibell closed this as completed in 4271f00 May 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant