User Tools

Site Tools


multiplying_2_variables_-_inner_product_vs_outer_product

Multiplying 2 variables in tool is not tradition dot product matrix multiplication.

If the dimensions match the resulting variable has the same dimesions as the inputs and each position is the element multplication of the 2 inputs.

If there are extra dimensions in one or both variables it can be considered an outter product over the non matching dimensions.

If you specifically want an inner (or dot) product, use the inner tool OR use the multiply tool and sum up over the dimension the appropriate dimension.

For example: …

multiplying_2_variables_-_inner_product_vs_outer_product.txt · Last modified: 2009/08/07 03:00 (external edit)