close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 2524


Ignore:
Timestamp:
2015-06-19T13:28:39-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2480 r2524  
    2020;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2121
    22 ;;----------------------------------------------------------------
    23 ;; This package implements BASIC OPERATIONS ON MONOMIALS
    24 ;;----------------------------------------------------------------
    25 ;; DATA STRUCTURES: Conceptually, monomials can be represented as lists:
    26 ;;
    27 ;;      monom:  (n1 n2 ... nk) where ni are non-negative integers
    28 ;;
    29 ;; However, lists may be implemented as other sequence types,
    30 ;; so the flexibility to change the representation should be
    31 ;; maintained in the code to use general operations on sequences
    32 ;; whenever possible. The optimization for the actual representation
    33 ;; should be left to declarations and the compiler.
    34 ;;----------------------------------------------------------------
    35 ;; EXAMPLES: Suppose that variables are x and y. Then
    36 ;;
    37 ;;      Monom x*y^2 ---> (1 2)
    38 ;;
    39 ;;----------------------------------------------------------------
    40 
    4122(defpackage "MONOM"
    4223  (:use :cl :ring)
    4324  (:export "MONOM"
    4425           "EXPONENT"
    45            "MAKE-MONOM-VARIABLE"))
     26           "MAKE-MONOM-VARIABLE")
     27  (:documentation
     28   "This package implements basic operations on monomials.
     29DATA STRUCTURES: Conceptually, monomials can be represented as lists:
     30
     31        monom: (n1 n2 ... nk) where ni are non-negative integers
     32
     33However, lists may be implemented as other sequence types, so the
     34flexibility to change the representation should be maintained in the
     35code to use general operations on sequences whenever possible. The
     36optimization for the actual representation should be left to
     37declarations and the compiler.
     38
     39EXAMPLES: Suppose that variables are x and y. Then
     40
     41        Monom x*y^2 ---> (1 2) "))
    4642
    4743(in-package :monom)
Note: See TracChangeset for help on using the changeset viewer.