64,308 reputation
5157367
bio website szhorvat.net/pelican/pages/…
location ND
age
visits member for 3 years
seen 1 hour ago

contact details

Please do not write me with Q/A related questions. Post them on the site instead!

Visit Mathematica.SE


Nov
28
comment Is there a built-in function to find the adjoint of a matrix?
Can you explain what is the "adjunct"?
Nov
28
comment how to efficiently jump between sections in a notebook?
The AuthorTools package may have the cell tags based thing implemented already. It does do some clickable TOCs, but I don't use it so I'm not too familiar with it ... Usually I simply collapse the sections I'm not currently using. You're right, the Workbench is for developing packages. It is not for interactive work and it's no replacement for the front end. If you have lots of definitions that you improve incrementally, you might find the Workbench useful.
Nov
27
comment how to efficiently jump between sections in a notebook?
The Wolfram Workbench (Eclipse based IDE) does have such a dynamically updated "table of contents" BTW. I'm not sure if the IDEA plugin also supports it, but if it doesn't, you can suggest it.
Nov
27
revised how to efficiently jump between sections in a notebook?
deleted 44 characters in body; edited tags
Nov
27
comment how to efficiently jump between sections in a notebook?
Did you know that you can close section by double clicking their cell bracket (vertical blue bracket on the right, spanning the whole section)? It's not what you asked for, but it's useful in long notebooks...
Nov
27
answered Labeling individual curves in Mathematica
Nov
27
comment Treat all variables as local in a module
@Nasser I guess what he means that in languages where you don't need to declare a variable, the variable will typically live in the scope where it's mentioned first; unless it's explicitly made global. Mathematica doesn't require declaration either (you can use any symbol anywhere), but the symbol will be global by default, unless you ask to make it local.
Nov
27
comment Is Mathematica comparable to C++ for creating standalone applications?
In my opinion, Mathematica is not great for this kind of application. Mathematica is great for interactive use, and also for creating functions that a user might work with interactively. But it's not well suited for making standalone GUI programs. It's great for making a quick and dirty Manipulate during interactive work, and much more convenient than anything else I know. But once you need to make that GUI refined, foolproof, and fast, it becomes very painful.
Nov
27
comment Treat all variables as local in a module
To give an example in the spirit of Leonid's comment: Module[{}, f[x]]. Should f and x be local or global? Perhaps you say that f is global if f has associated rules ("it's defined"), otherwise local, and the same applies to x. But what if x has a special meaning in the definition of f, but it doesn't have any associated rules of its own? Say, f[big]=1; f[small]=0 where small and big are symbols without definitions, but are used for a specific purpose. Even some builtins like $Pre don't have a definition by default.
Nov
27
revised How can I make a grid of plots with no spacing, and have the plots line up perfectly?
added 57 characters in body
Nov
27
answered How can I make a grid of plots with no spacing, and have the plots line up perfectly?
Nov
27
revised How can I make a grid of plots with no spacing, and have the plots line up perfectly?
deleted 1971 characters in body
Nov
27
comment How can I make a grid of plots with no spacing, and have the plots line up perfectly?
This question is closed, but I really wanted to add another solution using the SciDraw package, that I am learning to use now. I added the solution to your answer, just edit it to your liking ... @rm-rf with this package it turned out to be relatively convenient.
Nov
27
revised How can I make a grid of plots with no spacing, and have the plots line up perfectly?
added 1964 characters in body
Nov
26
comment Draw an arbitrary convex polyhedron without excess diagonals drawn
Or what Kuba said, that's even better: loop through edges, and do not render those that have parallel adjacent polygons.
Nov
26
comment Draw an arbitrary convex polyhedron without excess diagonals drawn
You can do this: take the triangle list surface[b]. Find the edges. Each edge has two neighbouring triangles. For each edge, if those two triangles are parallel (the dot product of their normals is 1 to a certain precision), merge them into a tetragon. Can you try to implement this?
Nov
26
comment Making a histogram of a user defined random variable
Break your problem down to pieces and find the smallest piece that you can't get working. Do you need to plot the PDF or do you just need to generate a large number of random variates? It seems to me that you need the latter. In this case Histogram is irrelevant to the question. NormalDistribution[0, 1]^2 is not correct syntax. As george said, look at ProbabilityDistribution.
Nov
26
comment How can I create a colour image using raw black and white data? (FITS data cube)
@Kuba Ah, sorry, I misunderstood. So you're asking about reading in this file? Do you have MATLAB?
Nov
26
comment Is Mathematica an Implementation of the Wolfram Language?
Is it correct to say that on the Raspberry Pi "Wolfram Language" is a command line interface (just the kernel) and "Mathematica" is Kernel + Front End? This is my impression, but I don't have a Pi at the moment, so I can't try!
Nov
26
comment How can I create a colour image using raw black and white data? (FITS data cube)
@Kuba Why don't you just use ge.tt ? No registration needed, though it will expire in a couple of months ...