Sharp EL-9900 operation manual Rowswap rowswapmatrix name, row number, row number

Models: EL-9900

1 284
Download 284 pages 27.35 Kb
Page 137
Image 137

Chapter 8: Matrix Features

07 row_swap( row_swap(matrix name, row number, row number)

Returns the matrix with specified rows swapped.

Example

Swap the 2nd and 3rd rows in the matrix E.

e2j = e3j , e3j = e2j

08 row_plus( row_plus(matrix name, row number, row number)

Adds the first specified row data to the second specified row data.

Example

Add the 2nd row data to the first row of matrix E.

e1j = e1j + e2j

09 row_mult( row_mult(multiplied number, matrix name, row number)

Returns the scalar multiplication of elements in a specified row.

Example

3 each element of 1st row of mat E

e1j = 3 e1j

10 row_m.p.( row_m.p.(multiplied number, matrix name, row number, row number)

Returns the scalar multiplication of elements in a specified row and adds result to elements in another specified row.

Example

2 each element of 3rd row and add the result to each element of the 1st row.

e1j = e1j + 2 e2j

127

Page 137
Image 137
Sharp EL-9900 Rowswap rowswapmatrix name, row number, row number, Rowplus rowplusmatrix name, row number, row number