Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

apolo74

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-23-2011
02:05 AM

587 Views

Infinity

Does anybody know how to represent infinity in IPP? I'm trying to generate a 3D gaussian bell that looks like a ridge: in one dimension it would look like a normal gaussian bell, in the perpendicular dimension it would look like a rectangle. Mathematically you do this by having the variance (width of the bell) of one of the dimensions set to infinity (in Matlab you have the keyword "inf")... having a large number almost does the job but you still won't get a perfect rectangle.

Any suggestions will be very much appreciated.

Boris

Link Copied

2 Replies

Ying_H_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-01-2011
08:59 PM

587 Views

Hi Boris,

Not sure if it helps, In ippdef.h, thereis some definition about the value of IPP data type.

#if defined( _WIN32 ) || defined ( _WIN64 )

#define IPP_MAX_64S ( 9223372036854775807i64 )

#define IPP_MIN_64S (-9223372036854775807i64 - 1 )

#else

#define IPP_MAX_64S ( 9223372036854775807LL )

#define IPP_MIN_64S (-9223372036854775807LL - 1 )

#endif

#define IPP_MINABS_32F ( 1.175494351e-38f )

#define IPP_MAXABS_32F ( 3.402823466e+38f )

#define IPP_EPS_32F ( 1.192092890e-07f )

#define IPP_MINABS_64F ( 2.2250738585072014e-308 )

#define IPP_MAXABS_64F ( 1.7976931348623158e+308 )

#define IPP_EPS_64F ( 2.2204460492503131e-016 )

Regards,

Ying

apolo74

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-14-2011
02:25 AM

587 Views

Hi Ying,

sorry for my delay replying your tip... thanks, that's what I needed.

Boris

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.