@@ -394,6 +394,10 @@ pub fn vortex_alp::ALPArrayExt::patches(&self) -> core::option::Option<vortex_ar
394394
395395impl<T: vortex_array::array::typed::TypedArrayRef<vortex_alp::ALP>> vortex_alp::ALPArrayExt for T
396396
397+ pub fn T::exponents(&self) -> vortex_alp::Exponents
398+
399+ pub fn T::patches(&self) -> core::option::Option<vortex_array::patches::Patches>
400+
397401pub trait vortex_alp::ALPArrayOwnedExt
398402
399403pub fn vortex_alp::ALPArrayOwnedExt::into_parts(self) -> (vortex_array::array::erased::ArrayRef, vortex_alp::Exponents, core::option::Option<vortex_array::patches::Patches>)
@@ -416,6 +420,16 @@ pub fn vortex_alp::ALPArraySlotsExt::slots_view(&self) -> vortex_alp::ALPSlotsVi
416420
417421impl<T: vortex_array::array::typed::TypedArrayRef<vortex_alp::ALP>> vortex_alp::ALPArraySlotsExt for T
418422
423+ pub fn T::encoded(&self) -> &vortex_array::array::erased::ArrayRef
424+
425+ pub fn T::patch_chunk_offsets(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
426+
427+ pub fn T::patch_indices(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
428+
429+ pub fn T::patch_values(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
430+
431+ pub fn T::slots_view(&self) -> vortex_alp::ALPSlotsView<'_>
432+
419433pub trait vortex_alp::ALPFloat: vortex_alp::alp::private::Sealed + num_traits::float::Float + core::fmt::Display + vortex_array::dtype::ptype::NativePType
420434
421435pub type vortex_alp::ALPFloat::ALPInt: num_traits::int::PrimInt + core::fmt::Display + num_traits::cast::ToPrimitive + core::marker::Copy + vortex_array::dtype::ptype::NativePType + core::convert::Into<vortex_array::scalar::typed_view::primitive::pvalue::PValue>
@@ -476,6 +490,32 @@ pub const f32::SWEET: Self
476490
477491pub fn f32::as_int(self) -> Self::ALPInt
478492
493+ pub fn f32::decode(&[Self::ALPInt], vortex_alp::Exponents) -> alloc::vec::Vec<Self>
494+
495+ pub fn f32::decode_buffer(vortex_buffer::buffer_mut::BufferMut<Self::ALPInt>, vortex_alp::Exponents) -> vortex_buffer::buffer_mut::BufferMut<Self>
496+
497+ pub fn f32::decode_into(&[Self::ALPInt], vortex_alp::Exponents, &mut [Self])
498+
499+ pub fn f32::decode_single(Self::ALPInt, vortex_alp::Exponents) -> Self
500+
501+ pub fn f32::decode_slice_inplace(&mut [Self::ALPInt], vortex_alp::Exponents)
502+
503+ pub fn f32::encode(&[Self], core::option::Option<vortex_alp::Exponents>) -> (vortex_alp::Exponents, vortex_buffer::buffer::Buffer<Self::ALPInt>, vortex_buffer::buffer::Buffer<u64>, vortex_buffer::buffer::Buffer<Self>, vortex_buffer::buffer_mut::BufferMut<u64>)
504+
505+ pub fn f32::encode_above(Self, vortex_alp::Exponents) -> Self::ALPInt
506+
507+ pub fn f32::encode_below(Self, vortex_alp::Exponents) -> Self::ALPInt
508+
509+ pub fn f32::encode_single(Self, vortex_alp::Exponents) -> core::option::Option<Self::ALPInt>
510+
511+ pub fn f32::encode_single_unchecked(Self, vortex_alp::Exponents) -> Self::ALPInt
512+
513+ pub fn f32::estimate_encoded_size(&[Self::ALPInt], &[Self]) -> usize
514+
515+ pub fn f32::fast_round(self) -> Self
516+
517+ pub fn f32::find_best_exponents(&[Self]) -> vortex_alp::Exponents
518+
479519pub fn f32::from_int(Self::ALPInt) -> Self
480520
481521impl vortex_alp::ALPFloat for f64
@@ -494,6 +534,32 @@ pub const f64::SWEET: Self
494534
495535pub fn f64::as_int(self) -> Self::ALPInt
496536
537+ pub fn f64::decode(&[Self::ALPInt], vortex_alp::Exponents) -> alloc::vec::Vec<Self>
538+
539+ pub fn f64::decode_buffer(vortex_buffer::buffer_mut::BufferMut<Self::ALPInt>, vortex_alp::Exponents) -> vortex_buffer::buffer_mut::BufferMut<Self>
540+
541+ pub fn f64::decode_into(&[Self::ALPInt], vortex_alp::Exponents, &mut [Self])
542+
543+ pub fn f64::decode_single(Self::ALPInt, vortex_alp::Exponents) -> Self
544+
545+ pub fn f64::decode_slice_inplace(&mut [Self::ALPInt], vortex_alp::Exponents)
546+
547+ pub fn f64::encode(&[Self], core::option::Option<vortex_alp::Exponents>) -> (vortex_alp::Exponents, vortex_buffer::buffer::Buffer<Self::ALPInt>, vortex_buffer::buffer::Buffer<u64>, vortex_buffer::buffer::Buffer<Self>, vortex_buffer::buffer_mut::BufferMut<u64>)
548+
549+ pub fn f64::encode_above(Self, vortex_alp::Exponents) -> Self::ALPInt
550+
551+ pub fn f64::encode_below(Self, vortex_alp::Exponents) -> Self::ALPInt
552+
553+ pub fn f64::encode_single(Self, vortex_alp::Exponents) -> core::option::Option<Self::ALPInt>
554+
555+ pub fn f64::encode_single_unchecked(Self, vortex_alp::Exponents) -> Self::ALPInt
556+
557+ pub fn f64::estimate_encoded_size(&[Self::ALPInt], &[Self]) -> usize
558+
559+ pub fn f64::fast_round(self) -> Self
560+
561+ pub fn f64::find_best_exponents(&[Self]) -> vortex_alp::Exponents
562+
497563pub fn f64::from_int(Self::ALPInt) -> Self
498564
499565pub trait vortex_alp::ALPRDArrayExt: vortex_array::array::typed::TypedArrayRef<vortex_alp::ALPRD>
@@ -510,6 +576,16 @@ pub fn vortex_alp::ALPRDArrayExt::right_parts(&self) -> &vortex_array::array::er
510576
511577impl<T: vortex_array::array::typed::TypedArrayRef<vortex_alp::ALPRD>> vortex_alp::ALPRDArrayExt for T
512578
579+ pub fn T::left_parts(&self) -> &vortex_array::array::erased::ArrayRef
580+
581+ pub fn T::left_parts_dictionary(&self) -> &vortex_buffer::buffer::Buffer<u16>
582+
583+ pub fn T::left_parts_patches(&self) -> core::option::Option<vortex_array::patches::Patches>
584+
585+ pub fn T::right_bit_width(&self) -> u8
586+
587+ pub fn T::right_parts(&self) -> &vortex_array::array::erased::ArrayRef
588+
513589pub trait vortex_alp::ALPRDArrayOwnedExt
514590
515591pub fn vortex_alp::ALPRDArrayOwnedExt::into_data_parts(self) -> vortex_alp::ALPRDDataParts
@@ -536,6 +612,8 @@ impl vortex_alp::ALPRDFloat for f32
536612
537613pub type f32::UINT = u32
538614
615+ pub const f32::BITS: usize
616+
539617pub fn f32::from_bits(Self::UINT) -> Self
540618
541619pub fn f32::from_u16(u16) -> Self::UINT
@@ -548,6 +626,8 @@ impl vortex_alp::ALPRDFloat for f64
548626
549627pub type f64::UINT = u64
550628
629+ pub const f64::BITS: usize
630+
551631pub fn f64::from_bits(Self::UINT) -> Self
552632
553633pub fn f64::from_u16(u16) -> Self::UINT
0 commit comments