dot#
- swordfish.function.dot()#
Return the matrix multiplication of X and Y. If X and Y are vectors of the same length, return their inner product.
- Parameters:
X (Constant) – A scalar/vector/matrix. If both of X and Y are vectors, they must have the same length. If one of X and Y is a matrix, the other is a vector/matrix and their dimensions must satisfy the rules of matrix multiplication.