I think what you want is
g(s) = quadgk(t->f(s,t), 0, 1)
On Saturday, October 15, 2016 at 6:37:58 PM UTC-6, digxx wrote:
>
> having a function of the form f(s,t) defined is it possible to somehow
> tell quadgk to not evaluate until I supply a value for s while t should be
> the integration
The populateexpression function from MetaProgTools might be helpful. For
example, you could do something like:
julia> q = :(x + y + 3)
:(x + y + 3)
julia> eval(MetaProgTools.populateexpression(q, Dict("x"=>1, "y"=>2)))
6
On Saturday, August 13, 2016 at 3:07:38 AM UTC-6, Adrian Salceanu wrote:
l/issues/48, though it's more likely
> a problem with base Julia.
>
> On Tuesday, August 2, 2016 at 9:21:43 AM UTC-7, Daniel O'Malley wrote:
>>
>> OK, I tried again with the latest nightlies. Now Pkg.init("ssh://
>> g...@github.com/JuliaLang/METADATA.jl.git"
issue might be fixed by some authentication
> changes that Keno just merged a few minutes ago, there should be binaries
> that include that fix built in a few hours.
>
>
> On Monday, August 1, 2016 at 8:31:44 AM UTC-7, Daniel O'Malley wrote:
>>
>> I tried the Pkg.init
round to avoid having to go through
> command-line git.
>
>
> On Monday, August 1, 2016 at 7:01:51 AM UTC-7, Daniel O'Malley wrote:
>>
>> Oh, sorry for the mixup. Doing a
>>
>> git clone ssh://g...@github.com:/JuliaLang/METADATA.jl.git
>>
>> from a shell succe
tocol!("notaprotocol"), Pkg.init()
seems to always try to clone via https.
On Sunday, July 31, 2016 at 10:31:38 PM UTC-6, Tony Kelman wrote:
>
> No, I meant ssh:// or git:// url's for packages.
>
>
> On Sunday, July 31, 2016 at 7:02:15 PM UTC-7, Daniel O'Malley wrote:
>
Tony, thanks for the quick response and all the work you put into julia. It
would be great to have the package system working for Mac/Linux from behind
a proxy without needing to rebuild anything. If you need someone to help
test from behind a proxy, please let me know. I'd be happy to do it.
I'm having trouble getting the package system initialized on 0.5-rc0. I am
on a Mac and behind a proxy (with http_proxy and https_proxy set
appropriately). When I do Pkg.init(), I get
julia> Pkg.init()
INFO: Initializing package repository /homedir/.julia/v0.5
INFO: Cloning METADATA from
It looks like the type inference is failing in version1. If you do
"@code_warntype version1(1000)", it shows that it is inferring the type of
b as Any.
On Thursday, April 21, 2016 at 11:32:27 AM UTC-6, Jeremy Kozdon wrote:
>
> In a class I'm teaching the students are using Julia and I couldn't
I've recently encountered problems using pmap on a function that returns a
DataStructures.OrderedDict.
import DataStructures
@everywhere function f(x)
return DataStructures.OrderedDict(zip(["x"], [x]))
end
pmap(f, [1, 2])
If the above code is run in a "julia -p 2" environment, it produce a
can override the
> Base.(de)serialize methods in your own code.
>
> Cheers,
> Another Dan
>
> On Tuesday, 27 October 2015 05:02:40 UTC-3, Daniel O'Malley wrote:
>>
>> I've recently encountered problems using pmap on a function that returns
>> a DataStru
Julio,
I think Base.Cartesian will be helpful for this (in particular, @nloops and
@nexprs):
http://julia.readthedocs.org/en/latest/devdocs/cartesian/
One issue that will come up is if you do something like @nexprs 2 j-(i_j =
1), the 2 in there can't be a variable. You can work around this
12 matches
Mail list logo