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

[amibroker] Re: Two-dimensional arrays (matrices) and their inverse....



PureBytes Links

Trading Reference Links

Luc,

You are correct in noticing that there is no dimensioned array
operators in .afl.  

I have worked around this by doing two things:
1. Created the explicit solution for solving a matrix when I needed a
least squares fit to a quadratic equation.  I essentially did a
Gaussian Elimination algorithm, and wrote out the equations, then
coded it into .afl.

2. Secondly, you can invoke the JavaScript or VisBasic interpreter
embedded in the Windows operating system by 

     EnableScript( "jscript");

You can switch between JScript and .afl code all in the same script.
I've also used this approach - it works.  Both JS and VBS have
multiple dimensioned arrays.

Ed Hoopes




--- In amibroker@xxxxxxxxxxxxxxx, "luchetta" <twohorses4us@xxx> wrote:
>
> Hi,
> 
> I am new to AFL, and I am trying to figure out how to use matrices in 
> Amibroker. In particular, could anyone point me to a code for inverting 
> a matrix?
> 
> Thank you very much!
> 
> Luc
>




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
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/