Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: Simple Field question

  • To: Edward Stanford <stanford@xxxxxxx>
  • Subject: Re: Simple Field question
  • From: Doug Lindholm <lind@xxxxxxxx>
  • Date: Wed, 27 Sep 2000 14:39:26 -0600
Edward Stanford wrote:
> 
> Thanks to all who responded to my last.
> 
> This one is fairly simple: assume one has an instance of a FieldImpl.  How
> may one dynamically determine the FunctionType, and hence, the range
> RealType, of the FieldImpl?  This seems like it should be _really_ obvious,
> and closely analogous to the many methods that enable one to investigate
> the domain Set, but I haven't spotted it.

getType() (inherited from DataImpl) returns the MathType of the
FieldImpl which can be cast to a FunctionType. 

Hope that does the trick.

Doug

-- 
*----------------------------------------------------------------------*
| Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
| Research Applications Program             |   Phone: 303-497-8374    |
| National Center for Atmospheric Research  |                          |
| P.O. Box 3000                             |     There's no place     |
| Boulder, Colorado 80307-3000              |        like $HOME        |
*----------------------------------------------------------------------*


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