[project @ 2001-04-04 11:12:09 by sewardj]
[nofib.git] / real / linear / AbsDensematrix.lhs
1 \section{AbsDensematrix}
2
3 This module imports the contents of Densematrix and exports some of the 
4 functions renaming many of them for use by Matrix. The original %include
5 statement(from Matrix) is left as a comment at the foot of this file.
6
7 \begin{code}
8  
9 module AbsDensematrix(Block,Vec,bmult,bvecmult,vecbmult,vecdot,vecnorm,
10                       vecouter,badd,bsub,vecadd,vecsub,bsize,vecsize,bneg,
11                       bxpose,bident,vecneg,svecmult,mkblock,bswaprow,bswapcol,
12                       bdroprow,bgetrow,bgetcol,bsubscript,vecsubscript,bupdate,
13                       vecupdate,vechd,vectl,mergevecs,binverse,showblock,
14                      showvec, mkvec,mkrvec,vecpart,update2,veclist,matlist) 
15        where
16  
17
18 import Densematrix 
19
20 type Block = Matrix
21 type Vec = Vector
22
23 bmult = mmult
24 bvecmult = matvecmult
25 vecbmult = vmmult
26 vecdot   = vdot
27       
28 vecnorm = norm
29 vecouter = vouter      
30
31 badd = madd
32 bsub = msub
33 vecadd = vadd 
34 vecsub = vsub
35
36 bsize = msize
37 vecsize = vsize
38
39 bneg = mneg
40 bxpose = mxpose
41 bident = mident
42
43 vecneg = vneg
44 svecmult = svmult
45
46 mkblock = mkmat
47
48 bswaprow = swaprow
49 bswapcol = swapcol
50
51 bdroprow = droprow
52 bgetrow = getrow 
53 bgetcol = getcol
54
55 bsubscript = subscript
56 vecsubscript = vsubscript
57
58 bupdate = update
59 vecupdate = vupdate
60
61 vechd = vhd
62 vectl = vtl
63
64 mergevecs = mergevectors
65
66 binverse = minverse
67
68 showblock = showmatrix 
69 showvec = displayvector
70
71 \end{code}
72
73 The original include statement from Matrix :-
74
75  %include "densematrix"
76                          block/matrix  vec/vector
77                          bmult/mmult   bvecmult/mvmult vecbmult/vmmult
78                          vecdot/vdot   vecnorm/norm    vecouter/vouter
79 r                         badd/madd     bsub/msub  vecadd/vadd vecsub/vsub
80                          bsize/msize   vecsize/vsize
81                          bneg/mneg     bxpose/mxpose   bident/mident
82                          vecneg/vneg   svecmult/svmult
83                          mkblock/mkmat
84                          -mkrmat -mkcmat -mkcvec
85                          bswaprow/swaprow       bswapcol/swapcol
86                          bdroprow/droprow       bgetrow/getrow bgetcol/getcol
87                          bsubscript/subscript   vecsubscript/vsubscript
88                          bupdate/update         vecupdate/vupdate
89                          vechd/vhd              vectl/vtl
90                          mergevecs/mergevectors
91                          binverse/minverse
92                          showblock/showmatrix showvec/showvector
93
94
95
96