ALGLIB forum
It is currently Fri Sep 29, 2023 7:06 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 

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

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.


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 1 guest

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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group