Previous Program Introduction Next Program

Program Add

Usage

Add 'file1' 'file2' [-x] -l=n1 -r=n2 -n=n3
file1: matrix_TYP
file2: matrix_TYP

Description

Calculates the sums (n1 * A + n2 * B)/n3 with matrices A, B taken from file1, file2 respectively.

Options

-x:    Calculates all possible sums of matrices of file1
       with file2.
       If this option is not present, the programm adds the
       i-th matrix of file1 to the i-th matrix of file2
 

Examples


Previous Program Introduction Next Program