beautypg.com

Casio ClassPad II fx-CP400 User Manual

Page 76

background image

Chapter 2: Main Application

  76

u mRow [Action][Matrix][Row&Column][mRow]

Function: Multiplies the elements of a specific row in a matrix by a specific

expression.

Syntax: mRow (Exp, Mat, row number [ ) ]

Example: To multiply row 1 of the matrix [[1, 2] [3, 4]] by

x

u mRowAdd [Action][Matrix][Row&Column][mRowAdd]

Function: Multiplies the elements of a specific row in a matrix by a specific expression, and then adds the

result to another row.

Syntax: mRowAdd (Exp, Mat, row number-1, row number-2 [ ) ]

Example: To multiply row 1 of the matrix [[1, 2] [3, 4]] by

x

, and then add the

result to row 2

u rowAdd [Action][Matrix][Row&Column][rowAdd]

Function: Adds a specific matrix row to another row.

Syntax: rowAdd (Mat, row number-1, row number-2 [ ) ]

Example: To add row 1 of the matrix [[1, 2] [3, 4]] to row 2

u rowDim [Action][Matrix][Row&Column][rowDim]

Function: Returns the number in rows in a matrix.

Syntax: rowDim (Mat [ ) ]

Example: To obtain the number of rows in the matrix [[1, 2, 3] [4, 5, 6]]

u rowNorm [Action][Matrix][Row&Column][rowNorm]

Function: Calculates the sums of the absolute values of the elements of each row of a matrix, and returns the

maximum value of the sums.

Syntax: rowNorm (Mat [ ) ]

Example: To calculate the sums of the absolute values of the elements

in each row of the matrix [[1, –2, 3] [4, –5, –6]], and obtain the
maximum value of the sums

u colDim [Action][Matrix][Row&Column][colDim]

Function: Returns the number of columns in a matrix.

Syntax: colDim (Mat [ ) ]

Example: To obtain the number of columns in the matrix [[1, 2] [3, 4] [5, 6]]

u colNorm [Action][Matrix][Row&Column][colNorm]

Function: Calculates the sums of the absolute values of the elements of each column of a matrix, and returns

the maximum value of the sums.

Syntax: colNorm (Mat [ ) ]

Example: To calculate the sums of the absolute values of the elements

in each column of the matrix [[1, –2, 3][4, –5, –6][–7, 8, 9]],
and obtain the maximum value of the sums