In Macaulay, ideals are represented as matrices with a single row. The ideal command is provided to allow you to simply specify the generators for the ideal. First, you are prompted for the number of generators. Subsequently, the system prompts for the generators one at a time creating a 1 by n matrix, where n is the number of generators. The generators are input as polynomials in the current ring. The base ring of the resulting matrix is the current ring.