Tag Info

New answers tagged

0

When using [[All, 1, 1]] you are attempting to extract the first element of the first element of all parts of the expression. Note what happens when you specify 0 instead of 1, which is a valid "part" of 1 etc.: {{1, 2}, {2, 4}, {3, 6}, {4, 8}}[[All, 1, 0]] {Integer, Integer, Integer, Integer} Part 0 is the head of an expression. See: Is there a ...


6

General explanation First, in general, a valid expr[[i1, i2,..., in]]] requires expr to have at least n levels, and the result will have n fewer levels. The OP's example list {{1, 2}, {2, 4}, {3, 6}, {4, 8}} has two. The code {{1, 2}, {2, 4}, {3, 6}, {4, 8}}[[;; , 1, 1]] needs at least three levels. Hence the error. Next, in the sentence of the ...


1

We can get the list of all built-in functions with Information: Information["*"] However, this function prints its output to a special stream called $Urgent [5]. So to be able to manipulate the output, it needs to be redirected, for example to a text file. I ran this both on a desktop (OS X) version and a Raspberry Pi version of Mathematica V10: infoFile ...


5

I think this question is broad since Regions are used in various fields for various purposes. Think computational geometry (Voronoi diagrams, Delaunay triangulations, Convex hull etc.), finite element methods (PDEs), solid geometry etc. In addition to the links provided by Mr.Wizard, here are some additional links that might get you started: Solving Partial ...


4

I am not sure what you are looking for but in case any of these are new to you: New in Mathematica 10: Geometric Computation Guide: Geometric Computation Mesh-Based Geometric Regions Region Properties and Measures


30

Between Versions 7 and 8 Hash now gives the hash of a raw sequence of characters when applied to Strings. In past versions the string characters (quotation marks) were included in the calculation of the hash. (Reference) Use "\"" <> string <> "\"" before hashing if you want output to match older versions. \[Dash], \[LongDash] and ...



Top 50 recent answers are included