Macaulay2 » Documentation
Packages » NeuralIdeals :: polarizedCanonicalForm
next | previous | forward | backward | up | index | toc

polarizedCanonicalForm -- computes the polarized canonical form

Description

A method that returns the polarized canonical form of a neural code or neural ideal
i1 : S=ZZ/2[x_1..x_3,y_1..y_3];
i2 : C=neuralCode({"000","100","110","101","001"});
i3 : polarizedCanonicalForm(C)

o3 = {x y , x x }
       2 1   2 3

o3 : List
i4 : R=ZZ/2[x_1..x_3];
i5 : I=ideal(x_1,x_2*(1-x_1));

o5 : Ideal of R
i6 : S=ZZ/2[x_1..x_3,y_1..y_3];
i7 : polarizedCanonicalForm(I,S)

o7 = {x , x }
       1   2

o7 : List

Ways to use polarizedCanonicalForm:

  • polarizedCanonicalForm(Ideal)
  • polarizedCanonicalForm(Ideal,Ring)
  • polarizedCanonicalForm(NeuralCode)

For the programmer

The object polarizedCanonicalForm is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.26.06+ds/M2/Macaulay2/packages/NeuralIdeals.m2:891:0.