Expand description
Complex-valued Arrow/ndarray bridge utilities.
This module defines custom complex extension types:
ndarrow.complex32with storageFixedSizeList<Float32>(2)ndarrow.complex64with storageFixedSizeList<Float64>(2)
Each list element stores [real, imag] in row-major order.
Structs§
- Complex32
Extension - Extension type descriptor for
ndarrow.complex32. - Complex32
Variable Shape Tensor Iter - Iterator over per-row complex tensor views for
arrow.variable_shape_tensor<ndarrow.complex32>. - Complex64
Extension - Extension type descriptor for
ndarrow.complex64. - Complex64
Variable Shape Tensor Iter - Iterator over per-row complex tensor views for
arrow.variable_shape_tensor<ndarrow.complex64>.
Functions§
- array1_
complex32_ to_ extension - Converts an owned
Array1<Complex32>intondarrow.complex32storage. - array1_
complex64_ to_ extension - Converts an owned
Array1<Complex64>intondarrow.complex64storage. - array2_
complex32_ to_ fixed_ size_ list - Converts an owned
Array2<Complex32>into nestedFixedSizeList<ndarrow.complex32>(N)storage. - array2_
complex64_ to_ fixed_ size_ list - Converts an owned
Array2<Complex64>into nestedFixedSizeList<ndarrow.complex64>(N)storage. - arrayd_
complex32_ to_ fixed_ shape_ tensor - Converts an owned complex tensor batch into
arrow.fixed_shape_tensorwithndarrow.complex32element storage. - arrayd_
complex64_ to_ fixed_ shape_ tensor - Converts an owned complex tensor batch into
arrow.fixed_shape_tensorwithndarrow.complex64element storage. - arrays_
complex32_ to_ variable_ shape_ tensor - Converts owned complex tensors into
arrow.variable_shape_tensorstorage withndarrow.complex32element storage. - arrays_
complex64_ to_ variable_ shape_ tensor - Converts owned complex tensors into
arrow.variable_shape_tensorstorage withndarrow.complex64element storage. - complex32_
as_ array_ view1 - Converts
ndarrow.complex32storage into anArrayView1<Complex32>. - complex32_
as_ array_ view2 - Converts nested
FixedSizeList<ndarrow.complex32>(D)storage into anArrayView2<Complex32>. - complex32_
fixed_ shape_ tensor_ as_ array_ viewd - Converts
arrow.fixed_shape_tensorstorage withndarrow.complex32element type into anArrayViewD<Complex32>. - complex32_
variable_ shape_ tensor_ iter - Creates an iterator over per-row zero-copy complex tensor views for
arrow.variable_shape_tensor<ndarrow.complex32>. - complex64_
as_ array_ view1 - Converts
ndarrow.complex64storage into anArrayView1<Complex64>. - complex64_
as_ array_ view2 - Converts nested
FixedSizeList<ndarrow.complex64>(D)storage into anArrayView2<Complex64>. - complex64_
fixed_ shape_ tensor_ as_ array_ viewd - Converts
arrow.fixed_shape_tensorstorage withndarrow.complex64element type into anArrayViewD<Complex64>. - complex64_
variable_ shape_ tensor_ iter - Creates an iterator over per-row zero-copy complex tensor views for
arrow.variable_shape_tensor<ndarrow.complex64>.