Basic Operations on OCaml matrices 
- Function: make : int -> int -> t
- make nbrows nbcols
 Return a matrix of size- nbrows X nbcolumnswith all coefficient initialized to 0. A null value for any parameter is accepted.
- Function: copy : t -> t
- Return a copy of the matrix.
- Function: _print : t -> unit
- Print in a unformatted way on the C standard output the matrix.
- Function: get : t -> int -> int -> int
- get vec row col
 Return the corresponding coefficient of the
matrix; in case of overflow during the conversion from- pkint_tto- int, raise exception- Polka.Overflow.
- Function: get_str10 : t -> int -> int -> string
- get vec row col
 Return the string representation in base 10 the 
corresponding coefficient of the
matrix.
- Function: set : t -> int -> int -> int -> unit
- set vec row col val
 Store the value- valin the corresponding coefficient of the matrix.
- Function: set_str10 : t -> int -> int -> string -> unit
- set vec row col val
 Store the value- valrepresented in base 10 
in the corresponding coefficient of the matrix.
- Function: get_row : t -> int -> Vector.t
- get_row mat row
 Return a vector corresponding to the row- rowof the matrix- mat. There is no sharing in memory
between the result and the argument matrix.
- Function: set_row : t -> int -> Vector.t -> unit
- set_row mat row vec
 Store in the row- rowof the matrix- matthe vector- vec.
The coefficients are copied (no sharing memory).
- Function: nbrows : t -> int
- Return the number of rows of the matrix.
- Function: nbcolumns : t -> int
- Return the number of columns of the matrix.
  
This document was generated
on October, 27  2006
using texi2html