[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Question for Tomasz re: Matrices, vectors and complex numbers



PureBytes Links

Trading Reference Links

you can write AFL functions that will perform matrix operations. I think Fred did it in the past and have posted it here before.
also you can use the recently uploaded R-Maths to do it (I havent checked but I would think so). Of course a dll is also possible. I have written a  dll that does a number of matrix operations in the past. It is just a function that you can call within AFL just like any native AFL functions.
/Paul.


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Elizabeth Kennedy
Sent: Tuesday, 16 September 2008 1:22 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Question for Tomasz re: Matrices, vectors and complex numbers

Dear Tomasz,

I would appreciate if you could let me now the following.

I have a working C++ code (give by a friend of mine) which uses of matrices, vectors and complex numbers. As I understand AFL does not handle them.

So my intention is to pay someone to write a DLL for me so that DLL will make use of the matrices etc outside of AMI and return the calculated values to AMI.

So my question is whether this is even possible in the first place - any direction on this would be greatly appreciated.

By the way C++ code I have contain statements like:

#include <vector>

#include <complex>

using namespace std;

typedef complex<double> COMPLEX;

:

vector<double> InverseMatrix( vector<double> M, const long n )

:

void DFit( const vector<double> &values, const long &

vector<double> &amplitudes, vector<double> &phases )

Thanks again

Liz

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___