MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Uživatelská příručka Strana 345

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 354
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 344
1 2 ... 340 341 342 343 344 345 346 347 348 349 350 ... 353 354

Komentáře k této Příručce

Žádné komentáře