5.25 Tuesday, July 12, 2016

================================== 
Top new questions this week: 
==================================

[How to extract the list of all matrices from a Block Diagonal Matrix?] http://mathematica.stackexchange.com/questions/120433/how-to-extract-the-list-of-all-matrices-from-a-block-diagonal-matrix

I am working on a function to do the opposite operation of How to form a block-diagonal Matrix from a list of matrices?

Here is my current algorithm: For i starting at 1, scan the elements of index ...

- asked by happy fish (11 votes), answered by yode (6 votes)

—————————-

[Collect all inputs from Documentation Center] http://mathematica.stackexchange.com/questions/120334/collect-all-inputs-from-documentation-center

Is it possible to collect all inputs programmatically from every function in the Documentation Center in a list and wrap them in a HoldComplete?

My case: With some fundamental functions modified, I ...

- asked by happy fish (9 votes), answered by Edmund (12 votes)

—————————-

[How to avoid procedural loops in this example?] http://mathematica.stackexchange.com/questions/120533/how-to-avoid-procedural-loops-in-this-example

I want to iterate over a list, and return the index as long as I found the first element satisfying my condition. Written in a for loop:

f[x_]:=2x 
 
For[i=1, i<=10, i++, 
  If[f[i]==10, Return[i]] 
] 
 ...

- asked by Nick (8 votes), answered by Gerli (5 votes)

—————————-

[Why does this LibraryLink function crash?] http://mathematica.stackexchange.com/questions/120384/why-does-this-librarylink-function-crash

Recently, I have rewritten pure Wolfram Language implementation CAGDBSplineSurface[] with C. Below is main LibraryLink code:

LibraryLink Code

#include "WolframLibrary.h" 
 
 ...

- asked by Shutao TANG (8 votes), answered by happy fish (11 votes)

—————————-

[How can I combine a list of Line[]’s into one continuous Line?] http://mathematica.stackexchange.com/questions/120285/how-can-i-combine-a-list-of-lines-into-one-continuous-line

I have a huge list of Lines. Take this one as an example:

linelist1 = {Line[{{0.15042300130733277`, 
      0.09918669845167598`}, {0.15124668865085406`, 
      0.09522452324491057`}}], 
    ...

- asked by YungHummmma (8 votes), answered by Michael E2 (12 votes)

—————————-

[NIntegrate appears to give incorrect results] http://mathematica.stackexchange.com/questions/120118/nintegrate-appears-to-give-incorrect-results

I am trying to specify a bivariate probability density function in Mathematica. As a check, I would like to confirm that it integrates to one. Here is the function:

f[x1_, x2_, u1_, u2_, v11_, v22_,  ... 

- asked by Miguel (8 votes), answered by Anton Antonov (11 votes)

—————————-

[Which fonts are supported in Wolfram Cloud?] http://mathematica.stackexchange.com/questions/120102/which-fonts-are-supported-in-wolfram-cloud

I recently suggested creating dynamic community ads with Wolfram Cloud. @C.E. made a proof of concept ad to show that it works well.

Fonts are an important part of graphics design. It is useful to ...

- asked by Szabolcs (8 votes), answered by Szabolcs (5 votes)

================================== Greatest hits from previous weeks: ==================================

[What is the best Mathematica tutorial for young people?] http://mathematica.stackexchange.com/questions/733/what-is-the-best-mathematica-tutorial-for-young-people

As Conrad Wolfram said at the TED conference, in the future kids should focus more on new technology. Computers compute better than humans, so we should focus more on thinking and getting the ...

- asked by noisy (44 votes), answered by Vitaliy Kaurov (23 votes)

—————————-

[Mathematica Minecraft] http://mathematica.stackexchange.com/questions/19669/mathematica-minecraft

Some time ago I asked myself: with all these great graphics and interactive capabilities of Mathematica, what kinds of 3D games can be implemented in it? And the answer which came to mind is ...

- asked by faleichik (140 votes), answered by faleichik (192 votes)

================================== Can you answer these? ==================================

[integrate giving wrong result] http://mathematica.stackexchange.com/questions/120495/integrate-giving-wrong-result

A question with the same title has been asked many times, but I can’t find the solution of my problem in their answers. The integral I am trying to calculate is

Integrate[Sin[q ]^2 / Sinh[q]^2, {q,  ...

- asked by Felix (7 votes)

—————————-

[Why FinancialDerivative fails for the Spread case?] http://mathematica.stackexchange.com/questions/120277/why-financialderivative-fails-for-the-spread-case

According to the documentation center for FinancialDerivative in version 10.4, when there are multi assets, we still may use FinancialDerivative with the corresponding correlation matrix to find the ...

- asked by M.J.2 (2 votes)

—————————-

[What does the GraphLayout -> "SpectralEmbedding" option do (mean) when displaying a graph?] http://mathematica.stackexchange.com/questions/120139/what-does-the-graphlayout-spectralembedding-option-do-mean-when-displayin

I have some relational data represented as a graph. As such some of the relational properties can be recognized. When I use the GraphLayout -> "SpectralEmbedding" option a very nice and sharply ...

- asked by Phillip Dukes (5 votes)