Newsgroups: comp.lang.prolog
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!newsfeed.internetmci.com!csn!news-1.csn.net!decwrl!waikato!comp.vuw.ac.nz!canterbury.ac.nz!TOKE!pc110186.lincoln.ac.nz!rayudur
From: rayudur@lincoln.ac.nz (Ramesh Kumar Rayudu)
Subject: Arrays in Prolog
Message-ID: <rayudur.37.000C1C5D@lincoln.ac.nz>
Date: Thu, 4 Apr 1996 12:06:33
Organization: Lincoln University, New Zealand
X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
Lines: 21

Hi Everyone,

I am trying to code a neural net in prolog and wondering how to implement  
neural units in arrays without losing much of speed and efficiency as compared 
to C.

I came accross David Warren's logarithmic access of array implementation but 
could'nt figure out how to use it?!?

Can anyone provide me with a small example showing how to implement a 2 
dimensional array and how to retrieve and update the array.

In case you are wondering what is David Warren's implementation it is 
available in public domain of prolog programmes and is part of SICStus Library.

Any other implementations will be of great help.

Thank you,

Ramesh


