Questions tagged [dot]
The dot tag has no summary.
50 questions
4 votes
2 answers
254 views
Speeding up v.Reverse[v] or ListConvolve[v,v]
What is the most efficient way to compute v.Reverse[v] or ListConvolve[v,v]? In particular, since most of the products occur ...
2 votes
3 answers
206 views
Obtaining the conversion matrix when we have two vectors [closed]
I have a vector, and I physically know what the new version of that vector will be after changing the space. I want to find a matrix that converts that vector to the new one, and it should be true for ...
3 votes
1 answer
155 views
Factor constants out of multiple dot products
I have expressions of the type (-y A.A).(-y A.A).(A x).(A x) (* Example 1 *) (-y A.A).(-y A.A).(A x) (* Example 2 *) The number of parenthesis factors can vary, ...
2 votes
2 answers
327 views
Plotting a discrete set of data points and continuous plot together [closed]
I am struggling to plot discrete set of lines ( black dashed line around the black point) along with a continuous plot ( blue and yellow curves). Following is the problem: Basically i want to plot ...
8 votes
2 answers
472 views
Dot Product and Simplification
How to simplify the expression a b . x/((a b) . x) Where a is a scalar and b and x are vectors. I have tried the usual Simplify, FullSimplify, TensorExpand etc. ...
2 votes
0 answers
103 views
Dot product of arrays that are members of the same list
Lets say I have a list of n arrays: n=3; list = Table[RandomInteger[{-10, 10}, {2, 2}], n]; I would like to calculate the matrix corresponding to: ...
2 votes
1 answer
120 views
Simplifying expressions with dot or non-commutative product (without the help of NCAlgebra)
I have two expressions (with dot and non-commutative product): $f=J^T.x+J.x$ $g=J^T**x+J**x$ I want to simplify them and get the following expressions: $f=(J^T+J).x$ $g=(J^T+J)**x$ In an attempt to ...
2 votes
0 answers
115 views
dot product of one thousand matrices [closed]
I have a time dependent matrix. In a thousand different times with the same time intervals I get the values of the matrices. Now, how can I DOT Product these thousand matrices in time order??