## Given sum of sequences, choose two sequence elements and make other sequence zero with making some sequence vanishes and others keep untouched

Slightly modified from my previous question Making function for a given input of sum of sequences, choose two sequence \$ a_i, b_j\$ and substitute all other sequence zero

At this time I want to make among many sequences, just pick two sequences and other kept untouched.

For example

``input = a1a2b1b2c2c3 + 100a1b2d1 + a1c2b2d3 + a1a2 + a3c1c2 + a3c1 + d1a2 + d2c1 ``

If I choose two sequences $$a$$ and $$b$$, and pick its elements as $$a_1, b_1$$ then I want to put all other sequences of $$a,b$$ are zero with additionally make all $$c$$ vanishes but $$d$$ kept remained.

For example if my input is something like $$f[input, a1,c1]$$ then $$a2=a3=0, c2=c3=0$$ with vanishing sequence of b1,b2,.. but kept $$d1,d2\neq 0$$.

Maybe to be more specified, I want to make function which have [input, sequnece1_{i}, sequence2_{j}, sequence3], where sequence1, sequuence2, have non-zero element for i,j respectively, and the other elements of sequence 3, vanishing for given a,b,c,d,e.,,, sequences.

## How to compare and subtract elements in nested list to generate a new list

I have list of lists like this one:
`list={{1, 9, 4, 7, 2}, {1, 4, 7, 1, 8}, {0, 5, 7, 2, 9}}`
where every nested list have 5 elements.

I want to compare the third, fourth and fifth elements of each nested list and do the subtraction: the largest number minus the smallest number. The result should create a new list.

In my example, it should work like this:
in the first nested list `{1, 9, 4, 7, 2}` the largest value between the third, fourth and fifth elements is `7` and the smallest `2`, subtraction 7-2=5. So 5 will be the first element in the new list with results. I want to do it with every nested list in my list of list.
For my example, the result will be:
`result={5,7,7}`

The problem is that I don’t know how to do it. It’s not just comparing the elements between nested lists or extracting specific elements from the lists (because I want to compare and subtract them first, then get the result). Please help!

## Selecting elements of sublists or reshaping a list of lists

I have this list

``{{{0.05792, 0.31744}, 0., 0., 0., 0.,    0.}, {0., {0.28832, 0.49024}, {0.17173, 0.386393}, 0., 0.,    0.}, {0., {0.17173, 0.386393}, {0.104, 0.352}, 0., 0., 0.}, {0., 0.,    0., {0.30752, 0.38464}, {0.322232, 0.260264}, {0.214663,     0.107331}}, {0., 0.,    0., {0.322232, 0.260264}, {0.392, 0.496}, {0.277128,     0.415692}}, {0., 0.,    0., {0.214663, 0.107331}, {0.277128, 0.415692}, {0.2, 0.4}}} ``

or in the matrix form:

I would like to convert this list to a list of two matrices, each of the same size as the input matrix, i.e. 6 by 6, where the non-zero entries for the first matrix are given by the first element of the lists in the input matrix and the same for the second matrix.

If it helps I can also create a matrix where the zeros are replaced by a list of two zeros to match the dimension.

## Prevent search engines from indexing specific elements on a site

A website I’m working on has a team section. Every team member has a dedicated site. On the site’s bottom of each team member three other team members are displayed randomly.

What happens here is that search engines index all four images. When I enter the name a specific team member into a search engine I get all four images as results. I want to show only the main image on top. So, how can I prevent search engines from indexing the three images at the bottom?

## Choosing the elements from Matrix or any ideas for help

again me. I am finding a function that can help me choose the elements from the matrix as below:

``   F:=(F0,F1,F2,F3..Fk) ``

As I know Table function, it only works with the matrix such as:

``   F:= {{F0},{F1}....{Fk}}, Table[F[i+1,1],{i,1,k+1}] ``

## Changing sign of elements of a list on even positions

I have a list of lists of equal sizes (odd or even), e.g.

``list={{1,-2,3,1,3,4},{3,5,6,-1,9,0},{1,-2,-4,-5,1,5},{1,-1,2,3,5,4},...} ``

I would like to change signs of every element which is on even or odd position. In the example above, for the choice of change on even positions, it should give the following result:

`` listnew={{1,2,3,-1,3,-4},{3,-5,6,1,9,0},{1,2,-4,5,1,-5},{1,1,2,-3,5,-4},...} ``

What is the most effective way to achieve this? (The length of `list` may be huge here).

## I want to add a custom link attribute to all elements with a specific class

Im using elementor version 3.1 with a custom theme but elementor will not create the custom attribute for a tags. (I used the key|value option in elementor)

Is there any way I can use a filter to select elements() with a specific class on a certain page ID and add a custom attribute?

## Changing elements for spells

I think I remember in an older version of D&D allowing you to change a fire spell into a cold-based spell, or vice versa. In 5E, is there any way to allow you to alter say a Scorching Ray into a lightning or cold-based attack? I thought maybe sorcerer spell points might have done the trick, but I cannot find any rule that would cover it. I’m sure you could design and research a spell for that character during a downtime roleplaying option, but I was looking more for a ‘on-the-fly’ type option.

## How does absorb elements work with pre-existing resistances

So I’ve looked around and can’t find an answer that quite fits what I’m wondering. For example if I were to already have fire resistance and I get hit with a red dragins fire breath would casting absorb elements halve the damage I take(effectively making it 1/4 damage) or not reduce damage at all because I already have 1 source of resistance

## Does Elemental Adept ignore Absorb Elements

Scenario: A sorcerer with Elemental Adept (Fire) casts Fireball at a wizard, who uses their reaction to cast absorb elements. The wizard claims that his spell protects him and he takes half damage (or 1/4 with a successful save) while the sorcerer claims that his fire spells ignore resistance and therefore the wizard only gained an extra 1d6 fire damage on his next melee attack by casting absorb elements.