Wrap the script in a function (functions) and use return?
Abel Soares Siqueira
2016-10-25 19:27 GMT-02:00 David van Leeuwen :
> Hello,
>
> is there a way in Julia for a file that is `include`d to signal that the
> rest of the file should be ignored? Something like `\endinput` in TeX.
>
> I coul
If v \in span{v1,...,vn} then Ax = v has a solution, where A = [v1 v2 ...
vn].
An easy way to check it would be
x = A\v
norm(A*x - v) \approx 0.0
That's not the cheapest way, but it's short.
Abel Soares Siqueira
2016-10-05 13:00 GMT-03:00 James Noeckel :
> You could iteratively orthogonalize v
Thanks João, will keep an eye on it.
Abel Soares Siqueira
2016-06-24 20:57 GMT-03:00 :
> Hello everyone
>
> I am writing a tutorial Julia language Portuguese (over 200 pages):
>
> https://github.com/jmarcellopereira/juliatutorialbr
>
Olá,
você mandou esse e-mail para a lista de Julia. Acho que foi errado.
Abraço
Abel Soares Siqueira
Em 30 de março de 2016 09:47, Eduardo Lenz
escreveu:
> Oi...estou colocando um quasi-newton aqui no nosso programa
> e aumentei a base de dados, por sobreposição de um ruído aleatório.
>
> Vam
You can do
m = [j for i = 1:5, j = 0:0.01:1]
Abel Soares Siqueira
2016-03-07 12:37 GMT-03:00 Tom Breloff :
> So in conclusion, I really was overusing collect().
>
>
> Yup... and this is one reason I think the change is valuable... it helps
> make people think "why did they do this??"
>
> if th
If you use the Generic Linux Binaries, you can
sudo ln -s /path/to/julia /usr/local/lib/julia-some-name
For each downloaded version.
Abel Soares Siqueira
2016-03-05 14:48 GMT-03:00 Pulkit Agarwal :
> Hi,
>
> Is there a way to have the stable version of Julia as the global Julia
> (i.e. somethi
Julia is on `/usr/local/bin` in my system. Verify if the path is correct
with `which julia`.
Using the correct path I managed to run it on the terminal as you would the
other scripts.
I did not manage to run it clicking on the program name, but I couldn't do
it with a simple bash
script also. I us
In `a = Foo(12)`, the type is defined implicitly as the type of 12, which
is Int64.
In convert(Foo{Int64}, 12), you're trying to convert a Int64 to a
Foo{Int64}, and there is no
intruction for how to do it. See
http://docs.julialang.org/en/release-0.4/manual/types/#parametric-composite-types
Abe
Looks like it's an open issue with a pending PR on Coverage.jl (assumed
you're using Coverage.jl):
https://github.com/IainNZ/Coverage.jl/pull/55
Regards,
Abel Soares Siqueira
2015-08-04 17:16 GMT-03:00 Seth :
> Is there a way to mark certain blocks of code within Julia so that they
> don't cou
Hello all,
I would like to announce [Julia Manager](
https://github.com/abelsiqueira/julia-mngr), a CLI script to install and
maintain Julia binaries for both release and nightly.
It's very raw, so feel free to make suggestions.
**It currently only supports GNU/Linux with bash.**
Reasons to use
Thanks very much, it worked.
Best Regards,
Abel
On 03/30/2015 11:31 AM, Tony Kelman wrote:
see https://github.com/JuliaLang/Compat.jl
On Monday, March 30, 2015 at 6:53:30 AM UTC-7, Abel Soares Siqueira
wrote:
Hi,
I have this code:
push!(DL_LOAD_PATH,".")
But the mas
What Tim was trying to point out is that `isa` a builtin, and many things
depend on it being able to differentiate a scalar from an array.
However, if you, in your code, wants to ignore this, you can define
a function that does what you want, and it won't break anything because
only your code dep
12 matches
Mail list logo