File: skew.doc

package info (click to toggle)
symmetrica 2.0+ds-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 9,456 kB
  • sloc: ansic: 97,289; makefile: 170; sh: 70
file content (87 lines) | stat: -rw-r--r-- 2,428 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
COMMENT:
SKEWPARTITION
-------------

This is a generalisation of PARTITION, a skewpartition
consists if two parts, a bigger partition, and a smaller
one whose parts are all smaller or equal to the parts of the bigger
one. As this is a german programm we call the bigger = groesser
and the smaller = kleiner, so the select operator are as follow


function           MACRO              Description
-----------------------------------------------------------------------------
s_spa_g            S_SPA_G            select_skewpart_gross
s_spa_k            S_SPA_K            select_skewpart_klein
s_spa_gi           S_SPA_GI           select_skewpart_gross_ith_element
s_spa_ki           S_SPA_KI           select_skewpart_klein_ith_element
s_spa_gii          S_SPA_GII          select_skewpart_gross_ith_element_asINT
s_spa_kii          S_SPA_KII          select_skewpart_klein_ith_element_asINT
s_spa_gl           S_SPA_GL           select_skewpart_gross_length
s_spa_kl           S_SPA_KL           select_skewpart_klein_length
s_spa_gli          S_SPA_GLI          select_skewpart_gross_length_asINT
s_spa_kli          S_SPA_KLI          select_skewpart_klein_length_asINT

NAME:
	s_spa_g
	s_spa_k
	s_spa_gi
	s_spa_ki
	s_spa_gii
	s_spa_kii
	s_spa_gli
	s_spa_kli
SYNOPSIS:
	OP s_spa_g(OP a)
	OP s_spa_k(OP a)
	OP s_spa_gi(OP a, INT i)
	OP s_spa_ki(OP a, INT i)
	INT s_spa_gii(OP a, INT i)
	INT s_spa_kii(OP a, INT i)
	INT s_spa_gli(OP a)
	INT s_spa_kli(OP a)
MACRO:
	S_SPA_G
	S_SPA_K
	S_SPA_GI
	S_SPA_KI
	S_SPA_GII
	S_SPA_KII
	S_SPA_GL
	S_SPA_KL
	S_SPA_GLI
	S_SPA_KLI
DESCRIPTION:
	see routine chart above


COMMENT:
To build a SKEWPARTITION-object



NAME:
    b_gk_spa
SYNOPSIS:
		INT b_gk_spa(OP gross,klein,result)
DESCRIPTION:
		we enter to PARTITION-objects gross and klein, where
	gross is the bigger one. The result becomes a SKEWPARTITION-object.
	The difference is as in all other cases, with build (b_gk_spa)
	the input becomes
	part of the SKEWPARTITION-object, with make (m_gk_spa) we have a
	copy of the input in the result.


NAME:
	m_gk_spa
SYNOPSIS:
		INT m_gk_spa(OP gross,klein,result)
DESCRIPTION:
		we enter to PARTITION-objects gross and klein, where
	gross is the bigger one. The result becomes a SKEWPARTITION-object.
	The difference is as in all other cases, with build (b_gk_spa)
	the input becomes
	part of the SKEWPARTITION-object, with make (m_gk_spa) we have a
	copy of the input in the result.