Re: [visad] Complex data type

 Doug,

You may be able to use a Tuple and implement
complex math, by defining a new class that extends
RealTuple with two Real components for real
and imaginary parts, and overrides the binary()
method to define complex math operations.

None of the other VisAD classes will know about
your complex class extending RealTuple, so there
may be some problems.

Good luck,
Bill

  ----- Original Message -----
  From: "Doug Lindholm"
  To: "'visad@xxxxxxxxxxxxxxxx'"
  Subject: [visad] Complex data type
  Date: Mon, 20 Apr 2009 14:04:42 -0600


  I thought this topic came up before but I couldn't find it in the
  archives.

  I gather that VisAD does not have a Complex data type. I could use
  a Tuple with a real and imaginary component, but it would be nice
  if I could do complex (non-real) math with it. Any thoughts?

  Thanks,
  Doug

  _______________________________________________
  visad mailing list
  visad@xxxxxxxxxxxxxxxx
  For list information, to unsubscribe, visit:
  http://www.unidata.ucar.edu/mailing_lists/

-- 
It's News. It's Reviews. It's Interviews. It's Free. What Are You Waiting For?
www.movieline.com

  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: