#
PsiL_{A}B Help Manual
Page

## Section:
Basic Matrix functions

## Name:
||</.>

**Divide the elements of the matrix a through the constant b. **

The result is stored in a new allocated matrix c.

c.{i,j,k,...} <- a.{i,j,k,...} / b

Supported types: [ *int,float,complex *]

[ c:('a, 'b, 'c) Matrix.t ] =

a:('a, 'b, 'c) Matrix.t **||</> **

b:'a

Example:

[] let i = imatrix ~dim:[50;40] ~rand:[1000] () ;;
val i : (int, '_a, '_b) Matrix.t = <abstr>
[] let c = i ||</.> 2 ;;
val c : (int, '_a, '_b) Matrix.t = <abstr>

With the operator ||<./> , the matrix and constant are interchanged.

Printed by PsiL_{A}B