Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using cat() to create blog diagonal matrix #195

Open
zhuangbinnan opened this issue May 27, 2015 · 2 comments
Open

using cat() to create blog diagonal matrix #195

zhuangbinnan opened this issue May 27, 2015 · 2 comments

Comments

@zhuangbinnan
Copy link

I tried to use cat([1,2],A,B) to build a block diagonal matrix with matrices A and B as the diagonal element as suggested by the Julia documents. It simply does not support this.

@pfitzseb
Copy link
Contributor

That's because Juno ships with Julia 0.3.x, where this is not yet supported (see the docs for that version here).

If you download Julia 0.4 and point Juno to it, the above will actually work (although Juno doesn't officially support 0.4 yet and you may need to fix some things first).
And it's always a good idea to try those things in the REPL first and rule out that your issue is a problem with Julia itself.

@zhuangbinnan
Copy link
Author

Thanks for the information. I will try Julia 0.4.

On Wed, May 27, 2015 at 10:35 AM, Varanas notifications@github.com wrote:

That's because Juno ships with Julia 0.3.x, where this is not yet
supported (see the docs for that version here
http://docs.julialang.org/en/release-0.3/stdlib/arrays/#Base.cat).

If you download Julia 0.4 and point Juno to it
http://junolab.org/docs/install-manual.html, the above will actually
work (although Juno doesn't officially support 0.4 yet and you may need to
fix some things first).
And it's always a good idea to try those things in the REPL first and rule
out that your issue is a problem with Julia itself.


Reply to this email directly or view it on GitHub
#195 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants