Extending external matrices during an arithmetic operation

You can extend external matrices during an arithmetic operation, i.e. you can add columns and rows (Fundamentals: Extending matrices). To do so, choose an arithmetic operation that allows you to combine external matrices with matrices that have different OD pairs. Before the arithmetic operation is performed, Visum queries whether you want to extend the matrices.

1.  Open a Matrix editor window with the external matrices of your choice (Opening matrices).

2.  Perform the arithmetic operation of your choice.

Notes: You can use any arithmetic operation that requires a second operand, e.g. the basic ones or forming the maximum or minimum (Using matrix values for calculations).

You must select one or more matrices with OD pairs as operands for the arithmetic operation, which are not contained in the matrices of the Matrix editor window.

A query opens.

3.  Confirm with Yes.

The arithmetic operation is performed and the matrix is extended.

Notes: The matrix data is calculated as follows:

  • The arithmetic operation is performed for the OD pairs that occur in both matrices.
  • If an OD pair is only listed in one matrix, a null is entered for it before the arithmetic operation is performed. Then the arithmetic operation is performed.
  • For OD pairs that are not listed in any of the matrices, a default value is set in the results matrix (Specifying a default value for new relations).

If the rows and column objects have names, they are combined. If the names are different, the name of the matrix is used from which the arithmetic operation was started.