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
  • Element-wise Functions
  • Purpose and scope
  • Terms and Definitions
  • Use cases
  • Assumptions
  • Design topics & constraints
  • Future API standard evolution
  • Array object
  • Broadcasting
  • Constants
  • Creation Functions

This view

  • Original page
  • New address

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

real¶

real(x: array, /) → array¶

Returns the real component of a complex number for each element x_i of the input array x.

Parameters:

x (array) – input array. Must have a numeric data type.

Returns:

out (array) – an array containing the element-wise results. The returned array must have a floating-point data type with the same floating-point precision as x (e.g., if x is complex64, the returned array must have the floating-point data type float32).

Notes

  • Whether the returned array and the input array share the same underlying memory is unspecified and thus implementation-defined.

New in version 2022.12.

Changed in version 2024.12: Added support for real-valued arrays.

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.