forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 11:48 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: C style inteface
PostPosted: Mon Sep 16, 2013 4:01 pm 
Offline

Joined: Mon Sep 16, 2013 3:50 pm
Posts: 2
Hi,

First, great work for the excellent library! I wish that you could provide a lower level interface. For example, in addition to

double alglib::samplemean(real_1d_array x);
double alglib::samplemean(real_1d_array x, ae_int_t n);

I wish I could have

double alglib::samplemean(float* x, ae_int_t n);
double alglib::samplemean(double* x, ae_int_t n);

so that I can call the mean function for whatever container I use for x,

double mymean=alglib::samplemean(&x[0], ae_int_t n);

Of course I can also convert my code to use alglib arrays, but that's a lot of work for old codes.

Thanks!


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 44 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