GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • 
  • Consortium for Python Data API Standards
  • API specification
  • Array object
  • Purpose and scope
  • Terms and Definitions
  • Use cases
  • Assumptions
  • Design topics & constraints
  • Future API standard evolution
  • Broadcasting
  • Constants
  • Creation Functions
  • Data Type Functions

This view

  • Original page
  • New address

GeezerVison is showing data-apis.org — __floordiv__ — Python array API standard DRAFT documentation

__floordiv__¶

array.__floordiv__(other: int | float | array, /) → array¶

Evaluates self_i // other_i for each element of an array instance with the respective element of the array other.

Note

For input arrays which promote to an integer data type, the result of division by zero is unspecified and thus implementation-defined.

Parameters:
  • self (array) – array instance. Should have a real-valued data type.

  • other (Union[int, float, array]) – other array. Must be compatible with self (see Broadcasting). Should have a real-valued data type.

Returns:

out (array) – an array containing the element-wise results. The returned array must have a data type determined by Type Promotion Rules.

Note

Element-wise results, including special cases, must equal the results returned by the equivalent element-wise function floor_divide().

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.