RegularChains[MatrixTools]
MatrixMultiply
compute the product of two matrices modulo a regular chain
Calling Sequence
Parameters
Description
Examples
References
MatrixMultiply(A, B, rc, R)
A
-
Matrix with coefficients in the field of fractions of R
B
rc
regular chain of R
R
polynomial ring
The command MatrixMultiply(A, B, rc, R) returns the product of A and B mod the saturated ideal of rc.
The result is viewed as a matrix with coefficients in the total ring of fractions of R/I where I is the saturated ideal of rc.
The implementation is based on the method proposed in the paper "On {W}inograd's Algorithm for Inner Products" by A. Waksman.
It is assumed that rc is strongly normalized.
This command is part of the RegularChains[MatrixTools] package, so it can be used in the form MatrixMultiply(..) only after executing the command with(RegularChains[MatrixTools]). However, it can always be accessed through the long form of the command by using
with⁡RegularChains:with⁡ChainTools:with⁡MatrixTools:
R≔PolynomialRing⁡y,z
R≔polynomial_ring
rc≔Empty⁡R
rc≔regular_chain
rc≔Chain⁡z4+1,y2−z2,rc,R:
Equations⁡rc,R
y2−z2,z4+1
m≔Matrix⁡1,y+z,0,y−z
m≔1y+z0y−z
mim≔MatrixInverse⁡m,rc,R
mim≔100z32,regular_chain,noInv,1y+z0y−z,regular_chain
m1≔mim111
m1≔100z32
rc1≔mim112
rc1≔regular_chain
MatrixMultiply⁡m1,m,rc1,R
1001
A. Waksman "On Winograd's Algorithm for Inner Products." IEEE Transactions On Computers, C-19, (1970): 360-361.
See Also
Chain
Empty
Equations
IsStronglyNormalized
IsZeroMatrix
JacobianMatrix
LowerEchelonForm
Matrix
MatrixInverse
MatrixOverChain
MatrixTools
NormalForm
PolynomialRing
RegularChains
Download Help Document