Macaulay2 » Documentation
Packages » DiffAlg :: dist
next | previous | forward | backward | up | index | toc

# dist -- produces a DiffAlgDistribution from a list

- Usage:
    `dist(L)`
- Inputs:
  - L, a list, list of vector fields, see DiffAlgField
- Outputs:
  - an instance of the type DiffAlgDistribution, generated by the vector fields in the given list.

## Description

This command checks that all the elements in the list are vector fields.

    i1 : X = newField("3*x_0*ax_0+x_1*ax_1")

    o1 = 3x ax  + x ax
           0  0    1  1

    o1 : DiffAlgField

    i2 : Y = radial 3

    o2 = x ax  + x ax  + x ax  + x ax
          0  0    1  1    2  2    3  3

    o2 : DiffAlgField

    i3 : dist {X,Y}

    o3 = {3x ax  + x ax , x ax  + x ax  + x ax  + x ax }
            0  0    1  1   0  0    1  1    2  2    3  3

    o3 : DiffAlgDistribution

## See also

- newField -- constructor of a vector field
- radial -- defines the radial vector field
- rank(DiffAlgDistribution) -- rank of the given distribution
- isInvolutive -- tests if a distribution is involutive

## Ways to use dist:

- `dist(List)`

## For the programmer

The object dist is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/DiffAlg.m2:756:0.