next | previous | forward | backward | up | top | index | toc | Macaulay2 website
CodingTheory > LinearCode > ambientSpace

ambientSpace -- recovers the ambient module of a code

Synopsis

Description

Given a code C of length $n$ over the field $F$, this function extracts the ambient module $F^n$, which is the value stored under the key AmbientModule of the hash table C.LinearCode.

i1 : F=GF(4,Variable=>a);
i2 : C=linearCode(matrix{{1,a,0},{0,1,a}});
i3 : ambientSpace C

      3
o3 = F

o3 : F-module, free

Ways to use ambientSpace :

For the programmer

The object ambientSpace is a method function.

Menu

Related functions and symbols: