Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion From numpy array to C array
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris Barker  
View profile  
 More options Feb 1 2012, 3:00 pm
From: Chris Barker <chris.bar...@noaa.gov>
Date: Wed, 1 Feb 2012 12:00:59 -0800
Local: Wed, Feb 1 2012 3:00 pm
Subject: Re: [cython-users] From numpy array to C array

On Wed, Feb 1, 2012 at 11:28 AM, Nikolaus Rath <Nikol...@rath.org> wrote:
> I have a 2d numpy array, which I would like to pass to a C function
> which expects a double*.
> But then, this mail is from 2008. Is there a better way now?

indeed there is -- this looks like a reasonable example:

http://stackoverflow.com/questions/3046305/simple-wrapping-of-c-code-...

-Chris

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Bar...@noaa.gov


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.