On Mon, Feb 10, 2014 at 10:43 PM, Christopher Jordan-Squire cjord...@uw.edu
wrote:
I'm trying to wrap some C code using cython. The C code can take
inputs in two modes: dense inputs and sparse inputs. For dense inputs
the array indexing is naive. I have wrappers for that. In the sparse
case
Thanks for the answers! My responses are inline.
On Tue, Feb 11, 2014 at 8:36 AM, Chris Barker chris.bar...@noaa.gov wrote:
On Mon, Feb 10, 2014 at 10:43 PM, Christopher Jordan-Squire
cjord...@uw.edu wrote:
I'm trying to wrap some C code using cython. The C code can take
inputs in two modes:
On Tue, Feb 11, 2014 at 8:57 AM, Christopher Jordan-Squire
cjord...@uw.eduwrote:
Thanks for the answers! My responses are inline.
my C is a bit weak, so forgive my misunderstanding, but:
{
char* ind;
double val, wght;
} data[] = { {camera, 15, 2}, {necklace, 100, 20}, {vase, 90, 20},
I'm trying to wrap some C code using cython. The C code can take
inputs in two modes: dense inputs and sparse inputs. For dense inputs
the array indexing is naive. I have wrappers for that. In the sparse
case the matrix entries are typically indexed via names. So, for
example, the library