Find Jobs
Hire Freelancers

resample vector in C++

$30-250 USD

Closed
Posted about 11 years ago

$30-250 USD

Paid on delivery
We need to resample vectors of doubles, either shrinking or expanding them by a factor which is also a double. Think of the samples as the integrals in the ranges [0..1[, [1, 2[... of an unknown function defined on a segment with a certain length; then change the unit of measure of this length by factor and recompute the ceil(newlength) new samples, again as integrals over [0..1[, [1, 2[... . This operation must conserve exactly the sum of the samples, and qualitatively the shape of the underlying function, although there is information loss when the samples are shrunk; it is sometime called conservative rebinning (just google "idl frebin"). In the attached C++ source you'll find a proposed interface; there are just 2 member functions to implement: vector::shrink and vector::expand. In the spirit if TDD, in the attached source there is also a suite of 5 tests that do not pass at the moment. We'll add more tests, and generate new ones by tweaking the constants (factor, ifactor, 0.5 ...) in the existing tests. The focus should be covering all borderline cases which may cause truncation and numerical errors.
Project ID: 4214824

About the project

10 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average $131 USD for this job
User Avatar
Hi, I am C++ expert and can surely help you here, Thank You
$250 USD in 2 days
4.8 (89 reviews)
5.6
5.6
User Avatar
plz check your inbox. Thanks
$230 USD in 1 day
5.0 (26 reviews)
5.1
5.1
User Avatar
Dear sir, I am strong in C++ and STL programming especially in algorithm design and implementation. I am familiar with the internal mechanism of vector and I have sound solution for it and I can finish the project with high quality. Wait for your response Thank you BR
$100 USD in 2 days
4.9 (13 reviews)
4.8
4.8
User Avatar
I am senior and efficient c++ programmer, u can see my reviews, I can do this, please let me do it.
$150 USD in 4 days
4.7 (12 reviews)
4.2
4.2
User Avatar
Let me help you. Please check your pmb.
$150 USD in 3 days
5.0 (15 reviews)
3.7
3.7
User Avatar
I'd make something similar to the IDL code.
$100 USD in 5 days
5.0 (2 reviews)
2.6
2.6
User Avatar
I can do this for you, please check PMB.
$100 USD in 4 days
5.0 (1 review)
1.5
1.5
User Avatar
I m a developer by profession currently working on java, C++ and web development. I have a good understanding of this project. Deliverable would be ready on time with 95-99% accuracy.
$30 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
>15 years of experience with numerics and scientific programming in C++; would be happy to do your project
$100 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello I can do this Please check PMB
$100 USD in 6 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ITALY
Vercelli, Italy
5.0
37
Payment method verified
Member since Oct 25, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.