MatrixMultiply - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


RegularChains[MatrixTools]

  

MatrixMultiply

  

compute the product of two matrices modulo a regular chain

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

MatrixMultiply(A, B, rc, R)

Parameters

A

-

Matrix with coefficients in the field of fractions of R

B

-

Matrix with coefficients in the field of fractions of R

rc

-

regular chain of R

R

-

polynomial ring

Description

• 

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

Examples

> 

with⁡RegularChains:with⁡ChainTools:with⁡MatrixTools:

> 

R≔PolynomialRing⁡y,z

R≔polynomial_ring

(1)
> 

rc≔Empty⁡R

rc≔regular_chain

(2)
> 

rc≔Chain⁡z4+1,y2−z2,rc,R:

> 

Equations⁡rc,R

y2−z2,z4+1

(3)
> 

m≔Matrix⁡1,y+z,0,y−z

m≔1y+z0y−z

(4)
> 

mim≔MatrixInverse⁡m,rc,R

mim≔100z32,regular_chain,noInv,1y+z0y−z,regular_chain

(5)
> 

m1≔mim111

m1≔100z32

(6)
> 

rc1≔mim112

rc1≔regular_chain

(7)
> 

MatrixMultiply⁡m1,m,rc1,R

1001

(8)

References

  

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