forum.alglib.net

ALGLIB forum
It is currently Thu Mar 28, 2024 4:10 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: linear Interpolation
PostPosted: Mon Aug 10, 2015 9:17 am 
Offline

Joined: Mon Aug 10, 2015 9:05 am
Posts: 1
Hi everyone,

I've a small question about the interpolation on ALGLIB that confused me for a long time.

I don't know how to convert barycentricinterpolant to the coefficients like: y= ax^2+bx+c. I found this in the manual for polynomial/rational interpolation:

Quote:
// NOTE: result is returned as barycentricinterpolant structure.
// if you want to get representation in the power basis,
// you can use barycentricbar2pow() function to convert
// from barycentric to power representation (see docs for
// POLINT subpackage for more info).


Actually, I didn't find barycentricbar2pow() in interpolation.cpp, and I don't know how to display these coefficients.

Could you please give me a little suggestions?

Thanks a lot !


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group