forum.alglib.net
http://forum.alglib.net/

C style inteface
http://forum.alglib.net/viewtopic.php?f=2&t=1008
Page 1 of 1

Author:  path [ Mon Sep 16, 2013 4:01 pm ]
Post subject:  C style inteface

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!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/