# dim(Fan) -- computes the dimension of a fan

## Synopsis

• Function: dim
• Usage:
d = dim F
• Inputs:
• F, an instance of the type Fan
• Outputs:

## Description

Returns the dimension of a fan. This is the maximal dimension of all cones of the fan.

 i1 : F = hirzebruch 3 o1 = {ambient dimension => 2 } number of generating cones => 4 number of rays => 4 top dimension of the cones => 2 o1 : Fan i2 : dim F o2 = 2