[top][index]
search for:

net -- convert to net

net x -- format x for printing.

This function is the primary function called upon by << to format expressions for printing. The default method provided by the system is to convert x to an Expression with expression and then to convert that to a net.

A new method for formatting expressions of class X may be installed by the user with code of the form net X := x -> .... The function provided by the user should return a net or a string.

A string is formatted by wrapping it in quotation marks and converting nonprinting characters to escape sequences. A net is formatted for printing by enclosing it in a box.

i1 : "a string"

o1 = a string
i2 : net "a string"

o2 = a string

i3 : ZZ[x];
i4 : x^2

      2
o4 = x

o4 : ZZ [x]
i5 : net x^2

      2
o5 = x

Class of returned value: Net -- the class of all nets and stringsWays to use net :

  • net Sequence
  • net Array
  • net List
  • net Adjacent
  • net BASE
  • net BasicList
  • net BIG
  • net BinaryOperation
  • net Boolean
  • net CC
  • net CENTER
  • net ChainComplex
  • net ChainComplexMap
  • net CODE
  • net CoherentSheaf
  • net Command
  • net Database
  • net Divide
  • net DoubleArrow
  • net EngineRing
  • net Entity
  • net Equation
  • net ExampleTABLE
  • net File
  • net FractionField
  • net Function
  • net FunctionApplication
  • net GeneralOrderedMonoid
  • net GradedModule
  • net GradedModuleMap
  • net GroebnerBasis
  • net Handle
  • net HashTable
  • net Holder
  • net Ideal
  • net IndexedVariable
  • net Manipulator
  • net MarkUpList
  • net Matrix
  • net MatrixExpression
  • net MENU
  • net Minus
  • net Module
  • net MonomialIdeal
  • net MonomialOrdering
  • net MutableHashTable
  • net MutableList
  • net Net
  • net NOINDENT
  • net NonAssociativeProduct
  • net Nothing
  • net Option
  • net PolynomialRing
  • net Position
  • net Power
  • net PRE
  • net Product
  • net ProjectiveHilbertPolynomial
  • net QQ
  • net QuotientRing
  • net RingElement
  • net RingMap
  • net RowExpression
  • net RR
  • net SEQ
  • net Set
  • net SheafOfRings
  • net SHIELD
  • net SparseMonomialVectorExpression
  • net SparseVectorExpression
  • net String
  • net Subscript
  • net Sum
  • net SumOfTwists
  • net Superscript
  • net Symbol
  • net TABLE
  • net Table
  • net Tally
  • net Thing
  • net Time
  • net TO
  • net TOH
  • net TT
  • net Variety
  • net Vector
  • net ZZ
  • net ZZZ

  • [top][index]
    search for: