~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to routines/calelm/wmul.f

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
      subroutine wmul(ar,ai,br,bi,cr,ci)
 
2
c     Copyright INRIA
 
3
      double precision ar,ai,br,bi,cr,ci,t
 
4
c     c = a*b
 
5
      t = ar*bi + ai*br
 
6
      cr = ar*br - ai*bi
 
7
      ci = t
 
8
      return
 
9
      end