The matrix F must have a single row. Inputing an ideal instead has the same effect as inputing gens F. The output T2 is a matrix over the same ring as F whose columns form a basis for (a graded piece of) the second cotangent cohomology module of S/I, where S is the ring of F and I is ideal generated by the columns of F. Selection of graded pieces is done in the same manner as with basis. If the selected pieces are infinite dimensional, an error occurs. The optional argument SourceRing may be used in the same fashion as with basis.
This is a method function, which may also be accessed via the ScriptedFunctor CT.
For example, consider the cone over the rational normal curve of degree four, see [Pi74]:



The second cotangent cohomology module is three dimensional. Thus, the base space of the versal deformation is cut out by (at most) three equations.
We also consider the graded example of a degenerate twisted cubic curve, see [PS85]:



The degree zero component of the second cotangent cohomology module is four dimensional. Thus the Hilbert scheme is (locally analytically) cut out by (at most) four equations.
The object cotangentCohomology2 is a method function with options.