Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/tests/nofib/real/linear/AbsDensematrix.lhs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


\section{AbsDensematrix}

This module imports the contents of Densematrix and exports some of the 
functions renaming many of them for use by Matrix. The original %include
statement(from Matrix) is left as a comment at the foot of this file.

\begin{code}
 
module AbsDensematrix(Block,Vec,bmult,bvecmult,vecbmult,vecdot,vecnorm,
                      vecouter,badd,bsub,vecadd,vecsub,bsize,vecsize,bneg,
                      bxpose,bident,vecneg,svecmult,mkblock,bswaprow,bswapcol,
                      bdroprow,bgetrow,bgetcol,bsubscript,vecsubscript,bupdate,
                      vecupdate,vechd,vectl,mergevecs,binverse,showblock,
                     showvec, mkvec,mkrvec,vecpart,update2,veclist,matlist) 
       where
 

import Densematrix 

type Block = Matrix
type Vec = Vector

bmult = mmult
bvecmult = matvecmult
vecbmult = vmmult
vecdot   = vdot
      
vecnorm = norm
vecouter = vouter      

badd = madd
bsub = msub
vecadd = vadd 
vecsub = vsub

bsize = msize
vecsize = vsize

bneg = mneg
bxpose = mxpose
bident = mident

vecneg = vneg
svecmult = svmult

mkblock = mkmat

bswaprow = swaprow
bswapcol = swapcol

bdroprow = droprow
bgetrow = getrow 
bgetcol = getcol

bsubscript = subscript
vecsubscript = vsubscript

bupdate = update
vecupdate = vupdate

vechd = vhd
vectl = vtl

mergevecs = mergevectors

binverse = minverse

showblock = showmatrix 
showvec = displayvector

\end{code}

The original include statement from Matrix :-

 %include "densematrix"
                         block/matrix  vec/vector
                         bmult/mmult   bvecmult/mvmult vecbmult/vmmult
                         vecdot/vdot   vecnorm/norm    vecouter/vouter
r                         badd/madd     bsub/msub  vecadd/vadd vecsub/vsub
                         bsize/msize   vecsize/vsize
                         bneg/mneg     bxpose/mxpose   bident/mident
                         vecneg/vneg   svecmult/svmult
                         mkblock/mkmat
                         -mkrmat -mkcmat -mkcvec
                         bswaprow/swaprow       bswapcol/swapcol
                         bdroprow/droprow       bgetrow/getrow bgetcol/getcol
                         bsubscript/subscript   vecsubscript/vsubscript
                         bupdate/update         vecupdate/vupdate
                         vechd/vhd              vectl/vtl
                         mergevecs/mergevectors
                         binverse/minverse
                         showblock/showmatrix showvec/showvector





Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].