MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE User's Guide Page 345

  • Download
  • Add to my manuals
  • Print
  • Page
    / 354
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 344
static dou b le GetInf()
Purpose Get value of Inf (infinity )
C++
Syntax
#include "mclcppclass. h"
double x = mwArray::GetInf();
Arguments None
Return
Value
The value of Inf (in f in ity) on y ou r system.
Description Call mwArray::G etInf to return the value of the MATLAB internal Inf
variable. Inf is a permanent variable representing IEEE arithmetic
positive infinity. The value of
Inf is built into the system; you cannot
modify it.
Operations that return
Inf include
Division by 0. For example, 5/0 returns
Inf.
Operations resulting in overfl ow. For example,
exp(10000) returns
Inf because the result is too large to be represented on your machine.
C-91
Page view 344
1 2 ... 340 341 342 343 344 345 346 347 348 349 350 ... 353 354

Comments to this Manuals

No comments