On Mon, Oct 7, 2013 at 5:27 PM, john fernando wrote:
> I have the following C code which is an extension to my python code.
>
> The python and C code use
> #include
>
> what is the equivalent I can use in numpy that causes the minimum code
> change?
>
> I did look through the old messages but di
I have the following C code which is an extension to my python code.
The python and C code use
#include
what is the equivalent I can use in numpy that causes the minimum code change?
I did look through the old messages but didn't really find the answer-any help
to a novice just starting out i
The numpy.correlate documentation says:
correlate(a, v) = z[k] = sum_n a[n] * conj(v[n+k])
In [1]: a = [1, 2]
In [2]: v = [2, 1j]
In [3]: z = correlate(a, v, 'full')
In [4]: z
Out[4]: array([ 0.-1.j, 2.-2.j, 4.+0.j])
However, according to the documentation, z should be
z[-1
On Mon, Oct 7, 2013 at 9:40 PM, Siegfried Gonzi
wrote:
> [I hope I am not screwing up the digest reply function here].
[You did, FYI. It happens...]
> I am after a "whos" which would work in a script. It is not very often that
> I develop code at the command line.
>
> I am definitely not one of
>> Thanks, Siegfried
>>
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>> ___
>> NumPy-Discussion mailing list
>> Nu
FYI scipy ODE solvers vode, dopri5, dop853 also have been connected to OpenOpt,
possibly with automatic differentiation by FuncDesigner (dopri5 and dop853
don't use derivatives although).
--
Regards, D. http://openopt.org/Dmitrey
--- Исходное сообщение ---
От кого: "Dav
There isn't anything quite the same. (I think what you are really asking
for is a way to print the essential info about one variable name, at least
that is how I would use the IDL "help" procedure). In IPython, I use the
whos magic to do something similar, although it just prints this info for
all
The other answers tell you how to access Python's excellent quick reference
documentation, but from your examples I'm not sure if that's what you're
looking for? If you just want to know what value some variable has at the
interactive prompt, just type its name and hit enter. (This is a general
fea
On Mon, Oct 7, 2013 at 1:15 PM, Siegfried Gonzi
wrote:
> Hi all
>
> What is the equivalent to IDL its help function, e.g.
>
> ==
> IDL> a = make_array(23,23,)
>
> IDL> help,a
>
> will result in:
>
> A FLOAT = Array[23, 23]
>
> or
>
> IDL> a = create_struct('idl',23)
>
> IDL> help
If you're using IPython (strongly recommended)
a?
a??
If you're just using Python
help(a)
A
On Mon, Oct 7, 2013 at 1:15 PM, Siegfried Gonzi
wrote:
> Hi all
>
> What is the equivalent to IDL its help function, e.g.
>
> ==
> IDL> a = make_array(23,23,)
>
> IDL> help,a
>
> will result in:
>
> A
Hi all
What is the equivalent to IDL its help function, e.g.
==
IDL> a = make_array(23,23,)
IDL> help,a
will result in:
A FLOAT = Array[23, 23]
or
IDL> a = create_struct('idl',23)
IDL> help,a
gives:
A STRUCT= -> Array[1]
==
I have been looking for i
11 matches
Mail list logo