Hello Bill,
Sorry to grap out that thread again.
I just did that Pkg.update thingy again, mainly git stash - git stash
apply...In the end after I git stash apply it tells me
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add ..." to
Ok, but why do I need to do that???
I mean other packages also dont need git to put the changes to the side
temporarily in order to be able to update itsself?! So what is the specific
issue here?
Diger@Diger-PC MINGW64 /d/julia/v0.5/nemo (master)
$ git config --global user.name "Diger"
Diger@Diger-PC MINGW64 /d/julia/v0.5/nemo (master)
$ git stash
*** Please tell me who you are.
Run
git config --global user.email "y...@example.com"
git config --global user.name "Your Name"
to set
Diger@Diger-PC MINGW64 /d/julia/v0.5/nemo (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
Diger@Diger-PC /cygdrive/d/julia/v0.5/nemo
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified:
Am Montag, 31. Oktober 2016 14:27:26 UTC+1 schrieb Bill Hart:
>
> It's probably due to the fact that you've made some changes in the git
> repository. You can do git stash to temporarily store the changes you made,
> then do Pkg.update() and then if you still need the changes, do git stash
>
Am Freitag, 28. Oktober 2016 13:31:13 UTC+2 schrieb Bill Hart:
>
> We'll consider changing it. It's mainly supposed to be for us developers
> so we can build the binaries, but if people want to actually use it, I
> guess we should maintain it a bit more carefully.
>
> Bill.
>
BTW, when trying
is it possible to somehow 3d plot the following input?
x=array of length n
y=array of length m
z=array of size mxn
like it can be done in matlab?
I didnt see it
sry u must have written when I was writing...
ok:
f(x)=x^2 is not an anonymous function
however
f=x->x^2 is an anonymous function
unfortunately my function is not just one line so I cant use f=x->x^2 and I
have to use something like
function f(x)
end
this however is not anonymous...
Is there something like that with
function ...
end
So an anonymous function I can write like this
f=x->x^2
is it also possible to make an anonymous function out of this:
function f(x)
x^2
end
Sorry but that doesn't answer my question. That's where I have the calling
from but it does not explain the output and what it means...
With number in my head I meant, that I expected to see random number arrays
of size 624 since as far as I know they are created simultaneously,right?
So what is the difference between srand and merseentwister?
when I do:
r=srand(0)
I get the same as
r=MersenneTwister(0)
and also how do I get my random numbers
what do the different fields mean?
e.g.
julia> r.(1)
1-element Array{UInt32,1}:
0x
julia> r.(2)
>
> Yes but when I do not manually change i686 and ABI=32 to the x64 it is
> running the 32bit version, right?
> You mean windows 64 can still cope with 32bit stuff?
>
I mean changing in the windows_build.txt
By Pkg.build("Nemo") I do not run any executable, right?
>
> Both should work. If you use a 64 bit Julia executable it sould build the
> 64 bit version. Otherwise it should build the 32 bit version.
>
> Bill.
>
Yes but when I do not manually change i686 and ABI=32 to the x64 it is
running the 32bit version, right?
You mean windows 64 can still
Am Donnerstag, 27. Oktober 2016 23:00:48 UTC+2 schrieb Tommy Hofmann:
>
> There is a reason I asked to check for two libflint files three days ago.
> I saw this error with the missing libflint-13.dll before. The ln command
> can and will fail silently for various reasons.
Maybe just to
Am Donnerstag, 27. Oktober 2016 22:27:52 UTC+2 schrieb Bill Hart:
>
> Yes, we'll eventually get rid of the warnings. Technically we only fully
> support Julia-0.4 at the moment. However, Nemo is known to work with
> Julia-0.5 with some warnings.
>
> Thanks for persisting with it. I'm glad it
Am Donnerstag, 27. Oktober 2016 21:25:54 UTC+2 schrieb Jeffrey Sarnoff:
>
> You are home free! Try arbfield(1) twice ..
>
Yes I know the warning is gone I'm just wondering why it always shows up
the first time...
home free? in terms of homedir() or what you mean?
Am Donnerstag, 27. Oktober 2016 20:24:19 UTC+2 schrieb Bill Hart:
>
> It could well be libflint-13.dll is the problem. It's just a copy of the
> other flint dll, so you can make that any way you like. Just copy the file
> and rename the copy.
>
> As for the dll DependencyWalker claims is
Am Donnerstag, 27. Oktober 2016 19:33:22 UTC+2 schrieb Jeffrey Sarnoff:
>
> libflint-13.dll appears to be a copy of libflint.dll with a different name
> and you can try copying libflint.dll to libflint-13.dll
> The .git\ is not there because you have not tried to add then build Nemo
> with git
@Bill: it's telling me for example
EXT-MS-WIN-KERNEL32-QUIRKS-L1-1-1.DLL error opening file.
file not found
thats not what u mean, or?
Thats in the middle tab...
Additionally it says quite generally:
Error: At least one required implicit or forwarded dependency was not found.
ober 2016 at 02:04, Bill Hart <goodwi...@googlemail.com> wrote:
>>
>>> The only thing I can think of to suggest is try it again from scratch in
>>> Julia-0.4 so we can rule out the dlls being corrupted on our website
>>> somehow.
>>>
>>> I can't think what else could be wrong, unless something else changed in
>>> Julia itself on Windows, between versions 0.4 and 0.5.
>>>
>>> Jeffrey, are you using 64 bit Windows with Julia 0.5?
>>>
>>> Bill.
>>>
>>> On 26 October 2016 at 23:02, digxx <diger...@hotmail.com> wrote:
>>>
>>>> It's weird coz in julia 0.4.x it was running without any problems...
>>>>
>>>
>>>
>>
It's weird coz in julia 0.4.x it was running without any problems...
I'm running Windows 10 Home 64-Bit Version and have the newest Julia
version i.e. v0.5.0
So, first of all it is (unfortunately) still not working...
What I did so far is this:
I removed my old GIT and installed the new one
I then removed Nemo within Julia and subsequently manually removed every
nemo stuff I could find in folder v0.5
I then started Julia (@Bill: This time I'm running
w git -- etc.
>
>
> On Wed, Oct 26, 2016 at 3:17 PM, digxx <diger...@hotmail.com
> > wrote:
>
>>
>>
>> Am Mittwoch, 26. Oktober 2016 20:51:48 UTC+2 schrieb Bill Hart:
>>>
>>> I mean as an environment variable, specifically PATH. Alternativel
>
>
>
> Am Mittwoch, 26. Oktober 2016 21:40:22 UTC+2 schrieb Jeffrey Sarnoff:
>>
>> you commented out too much -- try the other way
>> uncomment the Nemo build file and remove the old git-bash and install the
>> new git -- etc.
>>
>
actually I'm doing that already atm..
Am Mittwoch, 26. Oktober 2016 20:51:48 UTC+2 schrieb Bill Hart:
>
> I mean as an environment variable, specifically PATH. Alternatively you
> can just remove the lines from Nemo/deps/build.jl that run git. The source
> code is not needed on Windows. We only download it for you to keep in the
I do have Gitbash installed for some reason, but I never used it and it's
in c:\programs
Sorry for that stupid question but u mean put the folder with git-cmd.exe
or git-bash.exe as an environment variable
Am Mittwoch, 26. Oktober 2016 09:23:36 UTC+2 schrieb Bill Hart:
>
> This is probably because Git is not in your path. We still haven't
> switched to libgit, which means the build script for Nemo still relies on
> Git being available on your machine.
>
> Bill.
>
Git in the path means Git in
>
>
> On 26 October 2016 at 01:43, Jeffrey Sarnoff > wrote:
>
>> send me all the messages output, please
>>
>
that were all the messages...
terminal)
> and do >Pkg.build("Nemo") again?
>
> On Tue, Oct 25, 2016 at 7:37 PM, digxx <diger...@hotmail.com
> > wrote:
>
>> Sry but I followed precisely ur steps i.e.:
>> I installed a completely new version in D:\Julia\Julia-0.5.0 and added an
>>
Sry but I followed precisely ur steps i.e.:
I installed a completely new version in D:\Julia\Julia-0.5.0 and added an
environment variable JULIA_PKGDIR within D:\Julia because I didn't like the
default one.
I then initialized by Pkg.init()
I ran Pkg.update() (prob not needed here coz its new)
I
Maybe to point out: the installation in the part where I tried to do it
directly via the repl command window was in a completely new .julia path
(to try it fresh from the beginning) with no influence of already existing
stuff...
Sorry again. But it is 64bit windows version just started in cygwin. I
didn't think it makes any difference though
However the behaviour seems different:
When I start the Julia Repl command window directly I dont even get that
far that Nemo is eventually installed: Following the steps
Hey,
Thx for ur reply. I tried both deleting all the files and run Pkg.build
again...
It however did not work as are all the files present too :-(
Julia in cygwin is correct...
or does it try to download the source here upon Pkg.build("Nemo") ?
Well so far nothing has changed ;)
So:
while loading C:\cygwin64\home\Diger\.julia\v0.5\Nemo\deps\build.jl, in
expression starting on line 1
% Total% Received % Xferd Average Speed TimeTime Time
Current
Dload Upload Total SpentLeft
Maybe I should have pointed out that I'm on windows...
What do u mean that explains why it doesn't go any further?
Is Nemo not finished yet for Windows?
>
> No it does not go on...When I manually start Pkg.build("Nemo") in the same
> session I get:
>
julia> Pkg.build("Nemo")
INFO: Building Nemo
WARNING: `@windows` is deprecated, use `@static is_windows()` instead
in depwarn(::String, ::Symbol) at .\deprecated.jl:64
in @windows(::Any, ::Any) at
It does not work either. When I run Pkg.build("Nemo") it starts
julia> Pkg.build("Nemo")
INFO: Building Nemo
WARNING: `@windows` is deprecated, use `@static is_windows()` instead
in depwarn(::String, ::Symbol) at .\deprecated.jl:64
in @windows(::Any, ::Any) at .\deprecated.jl:472
in
Hey, Sorry but I also get this error when I write
r=AcbField(64)
r(1,1)
Likewise
r=ArbField(64)
r(1)
gives me the same error...
do u have an example for how to use a contour?
quadgk(cis,0,1+1*im)
probably integrates over the straight line so how can I integrate over the
line gamma(t)=t+im*t^2
push...
well this is only for polynomials, right?
Btw: Can quadgk also be used for complex functions? (the integration is
still over a real range)
thx
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 variable?
e.g. sth like. The syntax I found so far excluded any arguments...
g=s-> quadgk(f(s,*),0,1)
So I know there is Roots but is there also one for finding complex roots?
Maybe I'm doing sth wrong or sth has changed since 0.4 but I get an error
using an AcbField
r=AcbField(64)
res=r(1)
ERROR: LoadError: error compiling AcbField: error compiling Type: could not
load library "libarb"
▒
in include_from_node1(::String) at .\loading.jl:488
>
> The function object then points into
> method tables. You can't assign the name "f" to a different function
> object, just attach different methods to it. The troubles seem to arise
> from cached references to
> orphaned method table entries, which are not completely dissociated from
>
>
> No, it has a name "f". An anonymous function is an expression like "x ->
> x^2" that creates a function object without binding it to a constant name.
>
Ok, but from my feeling also
f=x->x^2
binds this function object to the name f since thats how it is called?
Right?
is f(x)=x^2 not an anonymous function?!?!
Maybe one sidenote:
So what is the difference between
f(x)=x^2
and
f=x->x^2
since the last one does not return that warning?
Thanks for ur example
I'm not that familiar with it but what do u mean by "module files"?
Do you have an example and why are they less dangerous?
Hey,
Thx for ur answer. So The first time I call my program which includes a
file with function definitions there is no problem. I do this because with
0.4 parallel loops didnt work with functions which are defined in the same
file even though an @everywhere is prefixed.
I still dont understand
Something has changed since the code which ran with 0.4 does return a
warning now:
include("C:\\Users\\Diger\\Documents\\Julia\\Diffusion\\bessel0_expansion_nlsolve.jl")
WARNING: Method definition WARNING: Method definition WARNING: Method
definition WARNING: Method definition WARNING: Method
loop which applied a function to each element
>> in an array, and I conveniently didn't need to bother using SharedArrays as
>> I would with @parallel.
>>
>> On Tuesday, August 30, 2016 at 7:20:36 PM UTC-4, digxx wrote:
>>>
>>> Sorry if there is already s
a link with some info?
Thanks digxx
Yes and that is how I am doing it now...Though from somewhere else I was
used to do it (see above) the other way by overwriting it inside...
Probably...I just need to get used to it.
>
> So in short it is not possible to do it with a value but only with an
> array?
>
function f!(x)
x[1]=x[1]+1
end
x=[1]
f!(x)
...
Is it possible to do it via pointer?
so when I define
function f!(x)
x=x+1
end
and then
x=1
f!(x)
I get 2 returned but I also want x to be replaced by the newly calculated
value :/
What is the difference between >> and >>> ?
Sorry:
for example (n/2)^10 is still legid up to the last digit (neglecting the
fact that these would be zero in this case anyway)
that was actually a question though I missed the question marks.
about the bitshift I found it being 4<<2 for example but is there sth like
that for any basis?
As far as I understand Julia adjusts the bitsize of an integer when I use
BigInt.
For example n=big(10)^1 is as many bits as needed.
Now 2*n is still an integer though dividing makes a bigfloat out of it. How
big is the bigfloat? does it "resolve" up to the last integer? Does it
increase
Is it possible to position the legend manually in a plot(x,y,leg_pos=???)
Sorry again, not quite the same error:
He was using ffmpeg apparently. Though I got it working with convert now
(after removing all the imagemagick packages from julia and with the
manually installed stuff) what is remaining is the jumping legend also seen
in the above uploaded gif.
>
> I just manually installed imagemagick and got the error:
>
> julia>
gif(anim,"C:\\Users\\Diger\\Documents\\Julia\\Plotting\\anim2.gif",fps=15)
Unzul▒ssiger Parameter - 7
WARNING: Tried to create gif using convert (ImageMagick), but got error:
ErrorException("failed process: Process(`convert
after adding ImageMagick? The errors are because it
> can't find either ImageMagick or ffmpeg, one of which is required to make
> gifs.
>
> On Sunday, August 7, 2016, digxx <diger...@hotmail.com >
> wrote:
>
>> Hey I reinstalled Julia and am now wondering why th
Hey I reinstalled Julia and am now wondering why the animation part of
plots doesnt work anymore. It did before...
I presume I'm lacking dependencies though which ones?
The following produces an error.
x=linspace(0,pi,100)
anim=@animate for i=0:100
y=sin(x*exp(i/50))
When calling Pkg.status() the first time it's telling me:
julia> Pkg.status()
INFO: Initializing package repository C:\cygwin64\home\Diger\.julia\v0.4
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
error: could not lock config file
Hey thx for ur answer. Somewhere I read it is recommended more to compile
it urself than using the precompiled binaries.
Apart from that I tried once using them and it didnt work somehow.
Or are u talking about the windows installer for me?
Btw, does it have any effect after compiling and
>
> Oh and what is the difference between make / make install
>
What do u need a make.user file for since I dont have it
So, now I freshly compiled julia again from the source after I specified:
git checkout release-0.4 but then inside Julia I get by typing
versioninfo()
Julia Version 0.4.0
Commit 0ff703b* (2015-10-08 06:20 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5 CPU
Sry, u mean 0.4.0???
julia> Pkg.update()
INFO: Updating METADATA...
INFO: Updating cache of Plots...
INFO: Updating cache of Nemo...
INFO: Updating cache of Measures...
INFO: Updating cache of Blosc...
INFO: Updating cache of BinDeps...
INFO: Updating cache of JLD...
INFO: Updating cache of StatsBase...
INFO: Updating
Hm that solves it for the meantime. But you cant switch that behaviour off
or?
Am Donnerstag, 16. Juni 2016 21:42:12 UTC+2 schrieb Kristoffer Carlsson:
>
> If you press up while having characters to the left of the cursor I
> believe you will be taken to the previous command that started with
>
> That was not my intention..Just looking for a solution (while having been
> a bit frustrated: Sorry)
>
Am Donnerstag, 16. Juni 2016 21:14:24 UTC+2 schrieb Stefan Karpinski:
>
> Please don't swear on Julia forums.
>
> On Thu, Jun 16, 2016 at 3:05 PM, digxx <dige
Usually u press "up" or "down" to get to what you have been typing in the
repl before. This works so long u are not somewhere (with the cursor) in
the middle of the word. If you then go "up" or "down" some weird symbol
arises and additional "up" or "down" sends u to places u dont even remember
Maybe just to clarify: I suppose it is possible to spawn a while process on
each worker separately. The problem is that when one worker finds a
solution the other workers should stop too.
Is there sth like @parallel while loop?
Or is that even possible?
attributes/#magic-arguments
>
> On Tue, Jun 14, 2016 at 6:04 PM, digxx <diger...@hotmail.com
> > wrote:
>
>> HEy, Sorry for the maybe stupid question but apparently I'm not capable
>> of setting the range when plotting with plots
>>
>&
HEy, Sorry for the maybe stupid question but apparently I'm not capable of
setting the range when plotting with plots
so e.g.
x=0:0.1:1
y=2*x
plots(x,y,xaxis=(0,0.5)
this does not work.
and this deletes my xaxis labeling?
plots(x,y,xasis=0:0.5)
Anyway I just want to set range without
>
> Indeed embarassing -.-
But yeah I was just confused thx anyway.
Thx evan.
just to clarify: when calling:
function f(a,farr)
for i=1:n
for j=1:n
farr[j,i] = (a[j,:]*a[:,i] - A[j,:]*a[:,i])[1] - k2[j,i]
end
end
end
f(x) with my previously defined x I get an error
while calling
function f!(a,farr)
for i=1:n
for j=1:n
farr[j,i] = (a[j,:]*a[:,i] -
the function I defined above? Or what do you mean?
function f!(a,farr)
for i=1:n
for j=1:n
farr[j,i] = (a[j,:]*a[:,i] - A[j,:]*a[:,i])[1] - k2[j,i]
end
end
end
So now I'm using this function
A=[[2,1.]';[1,4]']
k2=Diagonal([3.,11.])^2
x=[[1,2]';[3.,4]']
farr=zeros(2,2)
n=length(x[:,1])
kd(i,j)=Int64(i .== j)
function f!(a,farr)
for i=1:n
for j=1:n
#for k=1:n
farr[j,i] = (a[j,:]*a[:,i] - A[j,:]*a[:,i])[1] - k2[j,i]
#end
end
end
end
When I calculate
Thx...
I'm using Roots with fzero.
Occasionally fzero(f,[a,b]) says its not a bracket. How can I first check
for the error ?
In particular I would use this to then change the inital condition slightly
and look if the root finding algorithm works better this time...
I have a loop in which I have a root finding function. Sometimes the
starting condition is not adequate and the function errors.
Is it possible to somehow check first if the function errors before I
actually run the function and then crashing the program.
Is there an algorithm to determine a zero divisor of a matrix?
Since Im not really up to date can anyone in 2 sentences explain to me what
the issue with the package ODE.jl is?
Is it the interface ppl dont like or what makes it so "redundant"?
Yes. I am.
Am Dienstag, 7. Juni 2016 00:22:57 UTC+2 schrieb Stefan Karpinski:
>
> Are you talking about this package
> https://github.com/ChrisRackauckas/DifferentialEquations.jl ?
>
> On Mon, Jun 6, 2016 at 6:04 PM, digxx <diger...@hotmail.com >
> wrote:
>
>
Hey all,
I dont quite get the essence of this package. Looking through the examples
I found for a 2d poisson type problem:
Example problem with solution: ``u(x,y)= sin(2π.*x).*cos(2π.*y)/(8π*π)``"
function poissonProblemExample_wave() f(x) = sin(2π.*x[:,1]).*cos(2π.*x[:,2])
sol(x) =
:
>
> On Sat, May 28, 2016 at 4:02 PM, digxx <diger...@hotmail.com >
> wrote:
> > maybe one more thing. How can I extract the number from this form
> [0.1234...
> > +- 12341e-12341] + i*0 to a normal number such that I can work with it
> in
> > later calcul
1 - 100 of 187 matches
Mail list logo