Skip to content
Back to formatted view

Raw Message

Message-ID: <1052156325.20836.7.camel@vazao17>
Date: 2003-05-05T17:36:47Z
From: Paulo Jabardo
Subject: Vectorizing a C call

Hello Guys!

I've written a few functions in C (actually jacobi polynomials and
thermodynamic properties of moist air) and I was wandering what is the
best way to vectorize the calls so that it will work as a standard R
function (say 'sin' or 'atan1' for example) and follow the recycling
rules. Do you think it's better to do it inside R or implement that in
my C code or is there any standard way to do it already implemented?

Thanks for any suggestion


Paulo Jabardo
IPT