CARAT Introduction / Programs / Mul

Previous Program | Introduction | Next Program

## Program Mul

### Usage

    Mul 'file1' 'file2' [-x]

file1: matrix_TYP containing the matrices Ai for 1<= i <= n.
file2: matrix_TYP containing the matrices Bj for 1<= j <= m.

### Description

Multiply the matrices in 'file1' with those in 'file2'. Called without any option the program ouptputs the products Ak * Bk for 1 <= k <= Min(n,m).

### Options

     -x    : perform all products of the form A_i * B_j for 1 <= i <=n, 1 <= j <= m.

### Remarks

See also for Add.

### Examples

Previous Program | Introduction | Next Program