The Stack Overflow podcast is back! Listen to an interview with our new CEO.

# Questions tagged [dot]

The tag has no usage guidance.

26 questions
Filter by
Sorted by
Tagged with
869 views

### Why is calling Dot with many arguments so inefficient?

Say I want to multiply a reasonably large list of symbolic matrices. ...
380 views

### Why does partitioning increase Dot execution speed?

I have noticed that multiplying a list of matrices can be significantly sped up by partitioning the list, calculating the product of the partitions matrices, and then multiplying the results. ...
209 views

81 views

### Dot Product of Matrices in NDSolve

How to efficiently solve a system of differential equations involving matrix dot product? The example below is solved extremely fast when the array structure is flattened out. Is there a way to reach ...
102 views

### How to change node color in .dot file using pattern matching?

For example I have a dot file that describe a decision tree or binary tree In the file, the color of node is always gold, so I try to change it according the number in ...
135 views

### Generalized n-fold inner product for tensors, iteration and indexing or built in functions?

I'm very new to Mathematica, and struggling to convert one of the codes I'd written in MATLAB. I am trying to program a function for a generalised inner product between two tensors, that is for ...
208 views

### Dot product result has wrong dimension [closed]

I'm doing a small project and I've encountered a problem while using Mathematica. I should mention that I'm kinda new to this software, so maybe it's just something I haven't grasped yet. Anyway, I ...
165 views

### Orthogonalize with a custom inner product

Bug introduced in 9.0 or earlier and fixed in 10.0 I was trying to define a custom inner product function for Orthogonalize, and have been getting some odd behaviour. Here's a MWE: I try to compute ...
188 views

### Unexpected inefficiency when calculating matrix product by Dot

There is an unexpected inefficiency when I calculate matrix product by Dot. The only relevant part of my code is presented as follows: ...
934 views

### Using the Norm Function

I am trying to take the norm of a general vector and show that for vectors, v,w, that Norm[v cross w]^2==Norm[v]^2*Norm[w]^2-(v dot w)^2 In Mathematica, here are my steps: ...
59 views

### Importing a .dot graph file, and changing vertex label format

I worked out how (one way...) to import a .dot graph format file into Mathematica using ...
359 views

### Pulling out a prefactor from a dot product

I have three complicated vectors u, v and w as well as three simple prefactors ...
475 views

### dot product not working [closed]

Im supposed to take the dot product of a function and itself. The matrix is a system of 4 equations defined to be : ...
534 views

### Adding dots to an empty region of space [closed]

I want to add dots to the maze so far I know only how to get one dot on the maze. I don't know if there is way without using coordinates. So it would look like this with the dots added (source: ...
38 views

### How to plot two functions together when one of them needs to be a series of dots, with common labels and colors?

I have two functions that I want to plot together. I want to plot the non-linear and the linear (NL and L in my code) functions together, but I wish that the NL function is plotted as a series of dots ...
36 views

### Distribute dot and multiplication on a sum

I have a simple problem, I would like to get the following: In= Distribute[a.(b+c)*d] Out= a.b*d+a.c*d Meaning that I would like the dot product and the ...