Movatterモバイル変換


[0]ホーム

URL:


SciPy

Floating point error handling

Setting and getting error handling

seterr([all, divide, over, under, invalid])Set how floating-point errors are handled.
geterr()Get the current way of handling floating-point errors.
seterrcall(func)Set the floating-point error callback function or log object.
geterrcall()Return the current callback function used on floating-point errors.
errstate(**kwargs)Context manager for floating-point error handling.

Internal functions

seterrobj(errobj)Set the object that defines floating-point error handling.
geterrobj()Return the current object that defines floating-point error handling.

Table Of Contents

Previous topic

Mathematical functions with automatic domain (numpy.emath)

Next topic

numpy.geterr

  • © Copyright 2008-2009, The Scipy community.
  • Last updated on Jun 10, 2017.
  • Created usingSphinx 1.5.3.

[8]ページ先頭

©2009-2025 Movatter.jp