File: monom.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 (101 lines) | stat: -rw-r--r-- 2,278 bytes parent folder | download | duplicates (2)
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
COMMENT:
MONOM


MONOMobjects are special objects, which appear as entries of 
LISTobjects, in the case when we want to build POLYNOMs,
SCHURobjects or similiar things. It is a structure of two
components, one component is the coefficient and the second one
is an entry which labels one entry in the list, for example
to build a POLYNOMobject, we have  as self part of the list
a MONOMobject, whose self part is a VECTORobject of
INTEGERobjects, the koeff part is arbitrary. 

To access parts of the structure or two build a MONOMobject
there are the following standard routines and macros.

NAME       MACRO           DESCRIPTION
--------------------------------------------------------
c_mo_s     C_MO_S          change_monom_self
c_mo_k     C_MO_K          change_monom_koeff
s_mo_s     S_MO_S          select_monom_self
s_mo_si    S_MO_SI         select_monom_self_ith_element
s_mo_sii   S_MO_SII        select_monom_self_ith_element_as_INT
s_mo_sl    S_MO_SL         select_monom_self_length
s_mo_sli   S_MO_SLI        select_monom_self_length_as_INT
s_mo_k     S_MO_K          select_monom_koeff
s_mo_ki    S_MO_KI         select_monom_koeff_as_INT
b_sk_mo
m_sk_mo

NAME:
	c_mo_s
	c_mo_k
	s_mo_s
	s_mo_si
	s_mo_sii
	s_mo_sl
	s_mo_sli
	s_mo_k
	s_mo_ki
	b_sk_mo
	m_sk_mo
SYNOPSIS:
	INT c_mo_s()
	INT c_mo_k()
	OP s_mo_s()
	OP s_mo_si()
	INT s_mo_sii()
	OP s_mo_sl()
	INT s_mo_sli()
	OP s_mo_k()
	INT s_mo_ki()
	INT b_sk_mo()
	INT m_sk_mo()
MACRO:
	C_MO_S
	C_MO_K
	S_MO_S
	S_MO_SI
	S_MO_SII
	S_MO_SL
	S_MO_SLI
	S_MO_K
	S_MO_KI
DESCRIPTION:
	see chart

NAME:        
	b_sk_mo
SYNOPSIS:    
	INT b_sk_mo(OP a,b,c)
DESCRIPTION: 
	builds a MONOMobject out of the self part a and
       the koeff b. 'build' means that a and b become part
       of the resulting object, there is no copy.
       The result is the MONOMobject c. The return value is OK.

NAME:  
	      m_sk_mo
SYNOPSIS: 
	   INT m_sk_mo(OP a,b,c)
DESCRIPTION:
	 makes a MONOMobject out of the self part a and
       the koeff b. 'make' means that a and b are copied
       into the resulting object.
       The result is the MONOMobject c. The return value is OK.


COMMENT:
	GENERAL ROUTINES
	----------------
	comp()
	copy()
	fprint()
	fprintln()
	objectread()
	objectwrite()
	print()
	println()
	scan()
	tex()