setSamples() in FlatField only set float and double data.
If my original data is long (64 bits), non of float and double
will hold my data. If the original data is int (32 bits), double
will hold the data, but it doubles the space than necessary.

Why there is no setSamples(int[][], ...) and setSamples(long[][], ...)
and other common types such as char, byte, short ? 


Peter Xiangchi Cao
Tel. (217) 244-3830
Fax. (217) 244-1987
Scientific Data Technologies Division
National Center for Supercomputing Applications

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