Linked Questions

7
votes
1answer
244 views

Map vs listable [duplicate]

What's the difference between setting a function's attribute as Listable and using Map? I understand that ...
48
votes
2answers
6k views

Scan vs. Map vs. Apply

I cannot understand the difference between Apply, Scan, and Map. I have tried to play with ...
7
votes
2answers
278 views

Built in function without Attributes Listable works as if it has Attributes Listable

Can Built-in function works as if it has Attributes Listable even if it doesn't have that ...
13
votes
2answers
248 views

How can one write a robust ListableQ function?

I would like to have a test that determines if a particular function is Listable. In the case of Symbols this is merely a matter of checking Attributes. ...
5
votes
1answer
372 views

Listable vs Parallel

Are listability and being parallelized the same? In other words, Does parallelizing a listable function which has already a list as of its argument make the computation faster? In the documentation ...
5
votes
2answers
554 views

Compile a listable function to be applied over list of lists

Consider a simple function g[x_,y_,z_] := x + y + z; (indeed, any multivariate function g will illustrate the same thing). ...
7
votes
1answer
193 views

Using the list as the argument of the pure function

I know some function is listable, such that Sin@{1,2,3,4,5} gives {Sin[1], Sin[2], Sin[3], Sin[4], Sin[5]} By reading some ...
5
votes
1answer
206 views

How to understand the difference between Sqrt and Log after ClearAll them

I came across this post, here I change the last line of the code Unprotect[Sqrt]; Sqrt[x_] = "blahblah"; Protect[Sqrt]; Sqrt[2] "blahblah" ...
4
votes
1answer
398 views

Listable on first level [duplicate]

I have some function which take List as input. f[l_List]:=someActions[l] I need apply this function to a list of lists. Now I ...
6
votes
1answer
97 views

Is it possible to make listable Experimental`NumericalFunction?

I have been playing a bit with the undocumented function Experimental`CreateNumericalFunction and I wanted to know if somebody found a way to make generated ...
3
votes
0answers
187 views

Making pure functions listable [closed]

I have a very large number of functions defined in the following manner: f[1] = Function[{x}, x^2]; f[2] = Function[{x}, x^3]; I would like to make all of these ...