Strange behavior of Table
Large increase in integrate result leaf size after version 9. Looking for common cause
Convert Real packed array of pairs to Complex packed array
Conversion of Matrix of Characters to a Matrix of Zeros and Ones based on Column Frequency
What's the fastest way to take Mean of a Tensor in given slot?
Animating a Potential Function (eigenfunctions of Laplace's equation)
How to implement a free version of WebImageSearch?
Strange behavior of Table https://mathematica.stackexchange.com/questions/158186/strange-behavior-of-table
Whenever I run the code a = 0; code := (a++); Table[code; a, {1000}] I get a list of 1000 zeros. However, if I replace 1000 with 100, then a get a list equal to Range[100]. Is this a bug or am I ...
- asked by Antonio De Juárez (12 votes), answered by Szabolcs (21 votes)
Large increase in integrate result leaf size after version 9. Looking for common cause
reported to WRI. [CASE:3960295] I run the CAS integration tests which contains 15000 integrals over number of Mathematica versions. I found that the average leaf size of the anti-derivatives ...
- asked by Nasser (12 votes), answered by Itai Seggev (8 votes)
Convert Real packed array of pairs to Complex packed array I have a Real packed array arr. It may have arbitrary depth but Last@Dimensions[arr] == 2. For example, arr = N@Partition[Partition[Range[24], {2}], 3] I want to convert it to a Complex packed ...
- asked by Szabolcs (12 votes), answered by Carl Woll (9 votes)
Conversion of Matrix of Characters to a Matrix of Zeros and Ones based on Column Frequency
I have a matrix of characters that I wish to convert to a matrix of 0' s and 1' s. Although the matrix is large[17, 4301], I subsample this for purposes of my question. The matrix is: m = {{"T", ...
- asked by Stuart Poss (11 votes), answered by Nasser (4 votes)
What's the fastest way to take Mean of a Tensor in given slot? One should expect that the implementation of the built-in function Mean was quick. However, as I recently observed, this is not true at all, in particular for matrices. Just compare Mean to the ...
- asked by Henrik Schumacher (9 votes), answered by Carl Woll (6 votes)
Animating a Potential Function (eigenfunctions of Laplace's equation)
I have written the following DynamicModule. The idea is that you can change the boundary, calculate the eigenfunctions and then animate them. Here is the code: DynamicModule[{pts, bdr = {{0, 0}, {1, ...
- asked by Hugh (9 votes), answered by Kuba (8 votes)
How to implement a free version of WebImageSearch? I really don't like functions that I have to pay for, if they can be implemented for free. Is there a way to get around this pay-wall for WebImageSearch? Perhaps using some other free api or service? ...
- asked by M.R. (9 votes), answered by b3m2a1 (11 votes)