Double-Dot Product between any 2 Matrices can be done if Both the Matrices have Same Number of Rows and Same Number of Columns. The Double-Dot Product of 2 Matrices is a Scalar Value.
The Double-Dot Product of 2 Matrices is calculated by Calculating their Hadamard Product and Adding up all the Elements of the Resulting Matrix.
Given 2 \(M \times N\) Matrices, Matrix \(A\) having elements \(a_{ij}\) and Matrix \(B\) having elements \(b_{ij}\) as following
If \(A\) and \(B\) are both Square Matrices of Same Order then the Double Dot Product can also be Calculated Between One Matrix and Transpose of the Other Matrix. This kind of calculation is called the Transpose Calculation of Double Dot Product of 2 Matrices.
Under Transpose Calculation following relations hold true
Please note that the value of Double Dot Product for Normal Calculations and Transpose Calculations may be and most likely are Different. Transpose Calculation of Double Dot Product of 2 Matrices (along with Normal Calculation) is generally used for Double Dot Product calculations related to Dyads and Dyadics.