2.8 Thursday, October 29, 2020

2.8.1 Top new questions this week
2.8.2 Greatest hits from previous weeks
2.8.3 Can you answer these questions?

2.8.1 Top new questions this week

Dynamically drag graph vertices
Display Number with SI prefixes
Understanding the profiler: Is pattern matching/de-structuring expensive?
How to select the fastest approach for large numerical data computations?
Performance of pure function - Best way to define a function?
Font style inconsistency on "number sign" (hashtag) and "at symbol"
Solving a Nonlinear Complementary Problem (plasticity)

Dynamically drag graph vertices

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233409

Is it possible to make a dynamic graph with an ability to drag vertices? In other words let vertices behave like Locators and change its ...

asked by swish https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=2490 9 votes

answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 13 votes

Display Number with SI prefixes

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233503

I have a number of val = 0.000015783 which represents a current value in Amps. I want to display it with 3 significant digits and with SI prefixes instead of the ...

asked by tobalt https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=27818 7 votes

answered by creidhne https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=41569 6 votes

Understanding the profiler: Is pattern matching/de-structuring expensive?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233388

I was profiling some code and I am trying to understand what the results mean. Suppose we have the very idiomatic,

asked by ITA https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=42145 7 votes

How to select the fastest approach for large numerical data computations?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233677

I really love the flexibility of Mathematica: there are several ways to perform one task. However, to get the performance of the intense numeric calculation, it can ...

asked by Nam Nguyen https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1712 6 votes

answered by Szabolcs https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=12 7 votes

Performance of pure function - Best way to define a function?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233637

In general, to define a function, we often use f[x_]. Another way is to use pure function (full form and shorthand). I want to test the performance of these ...

asked by Nam Nguyen https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1712 6 votes

Font style inconsistency on "number sign" (hashtag) and "at symbol"

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233665

Why number sign "#" (known as hashtag symbol on social media) or at sign "@" are not consistent with the ...

asked by azerbajdzan https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=53172 6 votes

answered by creidhne https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=41569 9 votes

Solving a Nonlinear Complementary Problem (plasticity)

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233340

I would like to solve the following: given \(t\mapsto \sigma (t)\) and \(E>0\), \(\sigma _y>0\), find \(\epsilon \) such that:

asked by anderstood https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=18767 5 votes

answered by xzczd https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1871 4 votes

2.8.2 Greatest hits from previous weeks

Crack CAPTCHA using deep learning
Why I get the "Set::write: "Tag Times in is Protected." error?
What do the X and Y axis stand for in the Fourier transform domain?
Where can I find examples of good Mathematica programming practice?
How to calculate scalar curvature Ricci tensor and Christoffel symbols in Mathematica?
How to add a front-end to the free Wolfram Engine?
Plotting Complex Quantity Functions

Crack CAPTCHA using deep learning

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=143691

Deep convolutional neural networks are very good at computer vision related tasks. Optical Character Recognition (OCR) is one important branch of computer vision. In fact, the convolution neural ...

asked by xslittlegrass https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1364 87 votes

answered by xslittlegrass https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1364 98 votes

Why I get the "Set::write: "Tag Times in is Protected." error?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=11868

Why I get the error below with this code:

asked by Aurelius https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1669 10 votes

answered by Mark McClure https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=36 13 votes

What do the X and Y axis stand for in the Fourier transform domain?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=85139

In Wolfram Mathematica the function Fourier has the following declaration

Fourier[list]

And after a list is given to the ...

asked by user253956 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=29958 27 votes

answered by Hugh https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=12558 61 votes

Where can I find examples of good Mathematica programming practice?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=18

I consider myself a pretty good Mathematica programmer, but I’m always looking out for ways to either improve my way of doing things in Mathematica, or to see if there’s something nifty that I haven’t ...

asked by J. M.’s discontentment https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=50 553 votes

answered by faysou https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=66 486 votes

How to calculate scalar curvature Ricci tensor and Christoffel symbols in Mathematica?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=8895

I am seeking a convenient and effective way to calculate such geometric quantities. I’ve used packages like TensoriaCalc, but they don’t work at all time. Sometimes,...

asked by Zoe Rowa https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1713 40 votes

answered by Yi-Zen Chu https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4869 18 votes

How to add a front-end to the free Wolfram Engine?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=198839

https://blog.stephenwolfram.com/2019/05/launching-today-free-wolfram-engine-for-developers/

http://www.wolfram.com/engine/

The Free Wolfram Engine for Developers is available for pre-production ...

asked by Alexey Golyshev https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=23402 63 votes

answered by Alexey Golyshev https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=23402 53 votes

Plotting Complex Quantity Functions

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=3458

Trying to plot with complex quantities seems not to work properly in what I want to accomplish. I would like to know if there is a general rule/way of plotting when you have complex counterparts in ...

asked by night owl https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=116 42 votes

answered by Artes https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=184 29 votes

2.8.3 Can you answer these questions?

How to define a derivative of a function at some point?
Insufficient memory problem in Mathematica
Classify; how UtilityFunction matrix is applied to resolve prediction?

How to define a derivative of a function at some point?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233672

Consider a function  derivative[x_]:=D[Sin[x],x]

When calling it with some argument, like derivative[2], instead of \(\cos (x)\) it gives me \(\partial _{2}\sin (2)\). Is ...

asked by John Taylor https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=41058 1 vote

Insufficient memory problem in Mathematica

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233470

I am trying to initialize a 48600 x 48600 packed array from a sparse matrix and a diagonal matrix in Mathematica 8. If S1 is a sparsearray of that size then and S2 is list of 48600 length, then I am ...

asked by Roopayan Ghosh https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=54433 4 votes

Classify; how UtilityFunction matrix is applied to resolve prediction?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=233669

I can’t find any explanation about the details of the real computation, please anybody knows?

asked by pablo https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=61453 1 vote