From matteo at naufraghi.net  Mon Jan  3 11:26:09 2011
From: matteo at naufraghi.net (Matteo Bertini)
Date: Mon, 3 Jan 2011 11:26:09 +0100
Subject: [Rd] key-value mapping in C inside R?
In-Reply-To: <AANLkTinpt1Ssi2Cg4SRgtmkSPib9UGA4fggZmVM=tmuu@mail.gmail.com>
References: <4D1C8012.7050403@naufraghi.net>
	<AANLkTinpt1Ssi2Cg4SRgtmkSPib9UGA4fggZmVM=tmuu@mail.gmail.com>
Message-ID: <AANLkTikWZXgSFqpXEmsvWkPGEPrfeVOL0MFc20ZH9WWO@mail.gmail.com>

On Thu, Dec 30, 2010 at 9:34 PM, Hadley Wickham <hadley at rice.edu> wrote:
> Why not use a sparse Matrix package?
> Hadley

In the original arima.c code the matrix is represented as an array of double.
I'd like to add a minimal overhead/changes on the code.

I think I'll use a simple sorted linked list to store the key-value map.
It will be enough for testing and I'll use something better if needed.

Thanks,
Matteo Bertini



[Rd] key-value mapping in C inside R?
Matteo Bertini