# Questions tagged [vector]

Mathematical vectors, operations on vectors and vectorized programming.

581 questions
Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

### Convert a polynomial to a vector

I am trying to transform a generated polynomial terms into a vector, I used the command 'MonomialList', ...
• 11
0 votes
1 answer
46 views

### Total Spin Matrix Squared (Casimir Operator)

I am trying to get Mathematica to compute the Casimir operator of a 4 particle system of spin $1/2$ fermions. I have the following code which does not do what I would like it to. ...
• 137
0 votes
0 answers
65 views

### How to matricize a vector?

I am wondering how to represent a vector as a matrix, using specified dimensions. For example, MatrixForm[{a, b, c, d}] gives me a column vector. But I would want ...
0 votes
1 answer
86 views

### How do I find the unit vector in the direction of the minimal rate of change?

A ball falls on the surface $x^4 z+x^9 y^2+y^2 z^3=65$ at the point (-1,-3,2). How do I find a three-dimensional unit vector in the direction that the ball will begin to roll. I know that the ball ...
• 85
4 votes
2 answers
137 views

### How to subtract a list from certain sublists of a list? [closed]

I have a problem in doing an operation on this vector {{2,3},{3,4},{5,6}}-{1,1} I want to minus this to get the result ...
1 vote
1 answer
146 views

### Solving equation set with vectors

I have six unit vectors in real $3$D space v1,v2,v3,v4,v5,v6; Represent the dot product between some of the vectors as the Cos ...
• 270
0 votes
1 answer
62 views

My code is ...
0 votes
1 answer
38 views

### Reduce expressions into (simplified) matrix and vector forms

I have some computation that results in a rather complicated looking expression that could be much simplified by converting it into matrix or vector expressions. For example, instead of ...
• 206
2 votes
1 answer
94 views

• 199
0 votes
1 answer
68 views

### How can I remove the attributes "Orderless" from function Times stably and reliably?

Recently I have been doing some algebra of partitioned matrices, where product like below is common: where $A_{11}, A_{12}, X, Y$ are all partitioned matrix blocks thus all are matrices in essence. ...
• 289
0 votes
1 answer
90 views

### dot product and norm [closed]

Can you solve the following problem in mathematica program? Thank you. Let x=(x1,x2,x3),y=(y1,y2,y3) and ⟨x,y⟩=x1y1+2x2y2+x3y3 be an inner product in a three-dimensional real vector space. Define the ...
• 13
0 votes
0 answers
60 views

### Can I use assumptions to declare a variable's type?

I'm trying to declare $P$ as a vector. I searched for a while, the closest way seems to be Assumptions: ...
• 174
2 votes
0 answers
90 views

### Bug with ListVectorPlot in 12.3.1?

Bug fixed in 13.0.0 The documentation shows that result of ...
• 271
2 votes
0 answers
47 views

### Why does the dot product between a matrix and a vector not work? [duplicate]

Executing this code: ...
• 2,721
3 votes
1 answer
119 views

• 1,626