New answers tagged

1 vote

Thread over list in different levels

My attempt: Catenate @ Map[Flatten, Thread /@ Join[l1, List /@ l2, 2], {2}] {{a1, a2, 1, 2, 3}, {a1, a2, 4, 5, 6}, {b1, b2, 10, 11, 12}, {b1, b2, 13, 14, 15}, {b1,...
Sjoerd Smit's user avatar
  • 23.5k
2 votes

Thread over list in different levels

...
Syed's user avatar
  • 54.1k
3 votes

Thread over list in different levels

Another combination with Thread, Join and Tuples: ...
E. Chan-López's user avatar
5 votes
Accepted

Generating lists where new elements depend on the previous element

This is precisely what FoldList does: ...
Roman's user avatar
  • 47.5k
2 votes

Generating lists where new elements depend on the previous element

If I understand your question correctly, then your function f does not agree with your output. In the first step, x==Element1==Cos[x] and {a1,a2,a3}== {0,1,0}. Then your function evaluates to: ...
Daniel Huber's user avatar
  • 51.8k
3 votes

Still on Filling

Here's a start: ...
David G. Stork's user avatar
5 votes
Accepted

Still on Filling

...
MelaGo's user avatar
  • 8,636
4 votes

Still on Filling

...
kglr's user avatar
  • 395k
6 votes

Still on Filling

Try the following: ...
E. Chan-López's user avatar
5 votes

Vertical line: plotting and filling

$Version (* "14.0.0 for Mac OS X ARM (64-bit) (December 13, 2023)" *) Clear["Global`*"] Using Filling <...
Bob Hanlon's user avatar
  • 158k
4 votes

Vertical line: plotting and filling

Draw a Triangle. ...
cvgmt's user avatar
  • 73k
7 votes
Accepted

Vertical line: plotting and filling

My attempt: ...
Syed's user avatar
  • 54.1k

Top 50 recent answers are included