gt; julia> cval("using DSP")
> Ptr{Void} @0x034bc280
>
> julia> cval("DSP.hanning")
> Ptr{Void} @0x306408a0
>
> julia> hanning = unsafe_pointer_to_objref(ptr)
> hanning (generic function with 1 method)
>
> On Tue, Sep 9, 2014 a
)
> Ptr{Void} @0x7fd11c1754a0
>
> julia> unsafe_pointer_to_objref(ans)
> clone (generic function with 2 methods)
>
> julia> typeof(ans)
> Function
>
> That way you can prototype what you want much more easily.
>
> On Friday, September 5, 2014 9:32:43 AM UTC-4, E
gt; Ptr{Void} @0x7fd11c1754a0
>>
>> julia> unsafe_pointer_to_objref(ans)
>> clone (generic function with 2 methods)
>>
>> julia> typeof(ans)
>> Function
>>
>> That way you can prototype what you want much more easily.
>>
>> On Frid
pkg_ptr = ccall(:jl_eval_string, Ptr{Void}, (Ptr{Cchar},),
>> "Base.Pkg.clone")
>> Ptr{Void} @0x7fd11c1754a0
>>
>> julia> unsafe_pointer_to_objref(ans)
>> clone (generic function with 2 methods)
>>
>> julia> typeof(ans)
>> Function
tly documented in source, and it is likely
> that there will be some adjustments.
>
>
> On Friday, September 5, 2014 10:09:03 AM UTC+2, Einar Otnes wrote:
>>
>> Sorry, I'm a bit slow. How do I look up a binding for a specific module?
>> In other words, how would
ulia.h#L666>
>> ("MyModule"))
>>
>> would work, but I don't have the required testing setup to see if it
>> actually works. (Where is my C REPL?) The embedding API has not gotten much
>> attention (yet), so it is mostly documented in source, and it is
3, 2014 3:10:59 PM UTC+2, Isaiah wrote:
>
> If you have defined a module already (by eval'ing julia code?) then you
> can look up the binding and cast that to a jl_module_t.
> On Sep 3, 2014 8:14 AM, "Einar Otnes" >
> wrote:
>
>> Dear experts,
&
de of standard julia, e.g. for
the external packages or the modules I have created myself?
Thanks for your help.
Best regards,
Einar Otnes
Thanks!! It solved my problem.
Einar
On Friday, July 18, 2014 1:38:11 AM UTC+2, Ivar Nesje wrote:
>
> Bigger than memory smells of mmap_array
>
> http://docs.julialang.org/en/latest/stdlib/base/#Base.mmap_array
>
Dear experts,
I need to populate a DArray by reading data from file. My computer doesn't
have enough memory to store the whole array so I cannot just use
distribute() to generate a DArray from an Array. Since DArray doesn't seem
to have setindex! defined, I don't know how to move forward. Do I
interpret(Int32, [0x00,0x01,0x00,0x00])
> 1-element Array{Int32,1}:
> 256
>
> 2014-05-05 11:27 GMT+02:00 Einar Otnes >:
>
>> Dear Experts,
>>
>> How do I convert a Byte Array to a specific type?
>> E.g. a 4-element Array of Uint8 to type Int32.
>>
&
Dear Experts,
How do I convert a Byte Array to a specific type?
E.g. a 4-element Array of Uint8 to type Int32.
Thanks,
Einar Otnes
12 matches
Mail list logo