Menu

#1 Units problem with FlatField.log()

open
nobody
None
5
2003-04-07
2003-04-07
Ian Graham
No

I'm still trying to get the hang of the data model(it's
awesome!), but I'm having trouble using any of the
FlatField functions that result in a units change. In
particular, I have a FlatField that represents spectral
analysis of a sound wave, and I want to take the log of it
before displaying. Since I was having trouble sorting out
units issues I've used a range of RealType.Generic to
treat my data as being dimensionless. But for some
reason the flat field returned from the log function is
always all zero. I'm thinking that there might actually be
a problem with the code within unary(int,MathType, int,
int) after the logs have been calculated. Can anyone
clarify what I should be doing, or whether using the
current CVS HEAD would fix the problem? I'm currently
using the downloaded jar files dated Sep. 25.

Thanks,
Ian

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.