Previous Page Next Page Contents

Pref::matrixSeparator -- sets the separator of matrix entries

Introduction

Pref::matrixSeparator(" ") sets the separator of matrix entries to be a space.

Call(s)

Pref::matrixSeparator( <string>)

Parameters

string - string, that separates matrix entries for printing, or NIL

Returns

the previously defined string

Related Functions

print

Details

Example 1

>> A:= array(1..2, 1..2, [[1, 2], [2, 3]])
                                +-      -+
                                |  1, 2  |
                                |        |
                                |  2, 3  |
                                +-      -+
>> Pref::matrixSeparator("   "):
   A
                                +-       -+
                                |  1   2  |
                                |         |
                                |  2   3  |
                                +-       -+

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000