mrdivide - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MTM

  

mrdivide

  

right matrix division

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

mrdivide(A,B)

Parameters

A

-

matrix, vector, array, or scalar

B

-

matrix, vector, array, or scalar

Description

• 

If B is matrix and A is a matrix, then mrdivide(A,B) computes X, where X is the transpose of mldivide(Bt,At) and At (resp. Bt) is the transpose of A (resp. B).

• 

Maple normally treats arrays and vectors as distinct from matrices, in some cases not permitting a matrix operation when the given argument is not specifically declared as a matrix.  This function implicitly extends arrays and vectors to 2 dimensions.  Notably, n-element column vectors are treated as n x 1 matrices.  Also, n-element row vectors and 1-D arrays are treated as 1 x n matrices.

• 

If A is a scalar, then mrdivide(A,B) is computed as if A is a 1 x 1 matrix.

• 

If B is a scalar, then mrdivide(A,B) computes rdivide(A,B).

Examples

withMTM:

AVectorrow8,32,21

A83221

(1)

BMatrix1,4,2,2,5,8,1,6,1

B142258161

(2)

mrdivideA,B

123

(3)

AMatrix8,32,21,20,77,54,32,122,87

A832212077543212287

(4)

BMatrix1,4,2,2,5,8,1,6,1

B142258161

(5)

mrdivideA,B

123456789

(6)

AVectorrow8,32

A832

(7)

BMatrix1,4,2,5,1,6

B142516

(8)

mrdivideA,B

523156318431

(9)

AMatrix8,32,20,77,32,122

A832207732122

(10)

BMatrix1,4,2,5,1,6

B142516

(11)

mrdivideA,B

523156318431456196312543128831

(12)

See Also

MTM[ldivide]

MTM[mldivide]

MTM[rdivide]