Tagged Questions
1
vote
1answer
59 views
Splitting list of sums into a sum of lists
I want to split a list of sums into a sum of lists For example, I'd like to turn
{{x + y + z}, {x}, {y}, {z}}
into
...
3
votes
3answers
167 views
How to pull scalars out of a function that should act on lists?
Suppose I have
A = a vecA
B = b vecB
where a and b are supposed to be arbitrary scalars ...
1
vote
2answers
178 views
Symbolically associate vectors and their norms
I am wondering how to handle the following situation: I do have vectors of known dimension that I would like to handle symbolically. I suppose I can do something like
...
8
votes
4answers
713 views
What is the cleanest way to prevent divide-by-zero warnings?
If I evaluate {1, 2, 3, 4}/{5, 6, 0, 8}, obviously I get one warning:
...