# matrix(RationalMap) -- the matrix associated to a rational map

## Synopsis

• Function: matrix
• Usage:
matrix Phi
• Inputs:
• Phi,
• Optional inputs:
• Degree => ..., default value null,
• Outputs:
• , the matrix associated to the ring map defining the rational map Phi

## Description

This is equivalent to matrix map Phi. Moreover, the command matrix Phi is equivalent to matrix(0,Phi), and more generally the command matrix(i,Phi) returns the matrix of the i-th representative of Phi.