Documentation updates.

This commit is contained in:
Gerd Heber 2015-08-06 19:32:12 -05:00
parent d7e48c7c40
commit 585232633d
4 changed files with 40 additions and 16 deletions

View File

@ -222,7 +222,8 @@ IDNUM or NIL, if it doesn't exist."
"--------------------------------------------------------------[function-doc] "--------------------------------------------------------------[function-doc]
BUILD-CHCM BUILD-CHCM
Args: (&key cmpr basis bsgn intr-dffr strt orgn) Args: (&key cmpr basis bsgn intr-dffr strt orgn)
Returns an instance of CHAIN-COMPLEX. The keyword arguments are as follows: Returns an instance of the class CHAIN-COMPLEX. The keyword arguments are as
follows:
:CMPR CMPR, the comparison function for generators :CMPR CMPR, the comparison function for generators
@ -289,8 +290,32 @@ MAKE-INSTANCE.
(type (or intr-mrph null) intr) (type (or intr-mrph null) intr)
(type strt strt) (type strt strt)
(list orgn)) (list orgn))
"Returns an instance of MORPHISM. Use this function instead of creating "--------------------------------------------------------------[function-doc]
instances via the standard constructor MAKE-INSTANCE." BUILD-MRPH
Args: (&key sorc trgt degr intr strt orgn)
Returns an instance of the class MORPHISM. The keyword arguments are as
follows:
:SORC SORC, the source object, a CHAIN-COMPLEX type object
:TRGT TRGT, the target object, a CHAIN-COMPLEX type object
:DEGR DEGR, the degree of the morphism, an integer
:INTR INTR, the Lisp function defining the effective mapping
:STRT STRT, one of the keywords :GNRT or :CMBN, defining the mapping strategy
of the differential homomorphism, either by generator or by
combination. The default is :GNRT
:ORGN ORGN, a list containing a relevant and carefully chosen comment about
the origin of the chain complex. This comment should be unique
for a Kenzo session (between calls of CAT-INIT), as it is used
for caching purposes.
Use this function instead of creating instances via the standard constructor
MAKE-INSTANCE.
------------------------------------------------------------------------------"
(the morphism (the morphism
(progn (progn
(let ((already (find orgn *mrph-list* :test #'equal :key #'orgn))) (let ((already (find orgn *mrph-list* :test #'equal :key #'orgn)))

View File

@ -165,8 +165,7 @@ CHAIN-COMPLEX
Slots: (cmps basis bsgn dffr grmd efhm idnm orgn) Slots: (cmps basis bsgn dffr grmd efhm idnm orgn)
Intances of this class represent chain complexes. The class has 8 slots: Intances of this class represent chain complexes. The class has 8 slots:
1. CMPR, a comparison function or method for generators, which returns :LESS, 1. CMPR, a comparison function or method for generators.
:EQUAL, or :GREATER.
2. BASIS, a Lisp function, which returns the ordered basis of the free 2. BASIS, a Lisp function, which returns the ordered basis of the free
Z-modules (C_p), or the keyword :LOCALLY-EFFECTIVE. Z-modules (C_p), or the keyword :LOCALLY-EFFECTIVE.

View File

@ -518,8 +518,8 @@ the result combination.
"--------------------------------------------------------------[function-doc] "--------------------------------------------------------------[function-doc]
CMBN-CMBN CMBN-CMBN
Args: (cmpr n-cmbn-list) Args: (cmpr n-cmbn-list)
Returns the linear combination of a list of integer/combination pairs. The first Returns the linear combination of a list of integer/combination pairs. The
argument, CMPR, must be a function or macro, which is used to compare the first argument, CMPR, must be a function or macro, which is used to compare the
generators of the input combinations and to order the terms of the result generators of the input combinations and to order the terms of the result
combination. The second argument, N-CMBN-LIST, is a list dotted pairs (CONSes), combination. The second argument, N-CMBN-LIST, is a list dotted pairs (CONSes),
where the first element is a non-zero integer and the second element is a where the first element is a non-zero integer and the second element is a
@ -574,9 +574,9 @@ combination.
"--------------------------------------------------------------[function-doc] "--------------------------------------------------------------[function-doc]
NTERM-ADD NTERM-ADD
Args: (cmpr degr &rest rest) Args: (cmpr degr &rest rest)
Returns a combination of degree DEGR which is the sum of terms supplied in REST. Returns a combination of degree DEGR which is the sum of terms supplied in
The first argument, CMPR, must be a function or macro, which is used to compare REST. The first argument, CMPR, must be a function or macro, which is used to
the generators of the input terms and to order the terms of the result compare the generators of the input terms and to order the terms of the result
combination. If REST is NIL, an instance of the null combination of degree DEGR combination. If REST is NIL, an instance of the null combination of degree DEGR
is returned. is returned.
------------------------------------------------------------------------------" ------------------------------------------------------------------------------"

View File

@ -100,7 +100,7 @@
(DEFMACRO TERM-CMBN (degr cffc gnrt) (DEFMACRO TERM-CMBN (degr cffc gnrt)
"------------------------------------------------------------------[macro-doc] "-----------------------------------------------------------------[macro-doc]
TERM-CMBN TERM-CMBN
Args: (degr cffc gnrt) Args: (degr cffc gnrt)
Returns the combination of degree DEGR with the only term CFFC*GNRT. Returns the combination of degree DEGR with the only term CFFC*GNRT.
@ -110,7 +110,7 @@ Returns the combination of degree DEGR with the only term CFFC*GNRT.
(DEFMACRO CMBN-NON-ZERO-P (cmbn) (DEFMACRO CMBN-NON-ZERO-P (cmbn)
"------------------------------------------------------------------[macro-doc] "-----------------------------------------------------------------[macro-doc]
CMBN-NON-ZERO-P CMBN-NON-ZERO-P
Args: (cmbn) Args: (cmbn)
Tests if the combination CMBN is a non-null combination of any degree. Tests if the combination CMBN is a non-null combination of any degree.
@ -119,7 +119,7 @@ Tests if the combination CMBN is a non-null combination of any degree.
(DEFMACRO CMBN-ZERO-P (cmbn) (DEFMACRO CMBN-ZERO-P (cmbn)
"------------------------------------------------------------------[macro-doc] "-----------------------------------------------------------------[macro-doc]
CMBN-ZERO-P CMBN-ZERO-P
Args: (cmbn) Args: (cmbn)
Tests if the combination CMBN is the null combination of any degree. Tests if the combination CMBN is the null combination of any degree.
@ -147,7 +147,7 @@ Tests if the combination CMBN is the null combination of any degree.
;;; ;;;
(DEFMACRO CMPR (&rest rest) (DEFMACRO CMPR (&rest rest)
"------------------------------------------------------------------[macro-doc] "-----------------------------------------------------------------[macro-doc]
CMPR CMPR
Args: (&rest rest) Args: (&rest rest)
Args: (chcm gnrt1 gnrt2) Args: (chcm gnrt1 gnrt2)
@ -165,7 +165,7 @@ return the result.
(DEFMACRO BASIS (&rest rest) (DEFMACRO BASIS (&rest rest)
"------------------------------------------------------------------[macro-doc] "-----------------------------------------------------------------[macro-doc]
BASIS BASIS
Args: (&rest rest) Args: (&rest rest)
Args: (chcm) Args: (chcm)
@ -191,7 +191,7 @@ This function returns an error if the chain complex is locally effective.
(DEFMACRO DFFR (&rest rest) (DEFMACRO DFFR (&rest rest)
"------------------------------------------------------------------[macro-doc] "-----------------------------------------------------------------[macro-doc]
DFFR DFFR
Args: (&rest rest) Args: (&rest rest)
Args: (chcm cmbn) Args: (chcm cmbn)