From a803fc30b3763655c483f60f15857911dfa28a93 Mon Sep 17 00:00:00 2001 From: juntyr Date: Sun, 20 Oct 2024 17:57:19 +0000 Subject: [PATCH] deploy: 68a5835476b894f6b51335fbf8d1c92ff2bc2e83 --- help.html | 2 +- index.html | 4 +- numcodecs/all.html | 2 +- numcodecs/enum.AnyArrayAssignError.html | 6 +- numcodecs/enum.AnyArrayBase.html | 4 +- numcodecs/enum.AnyArrayDType.html | 6 +- numcodecs/fn.codec_from_config_with_id.html | 2 +- .../fn.serialize_codec_config_with_id.html | 2 +- numcodecs/index.html | 2 +- numcodecs/struct.StaticCodecConfig.html | 4 +- numcodecs/struct.StaticCodecType.html | 2 +- numcodecs/trait.AnyRawData.html | 2 +- numcodecs/trait.ArrayDType.html | 4 +- numcodecs/trait.Codec.html | 4 +- numcodecs/trait.DynCodec.html | 4 +- numcodecs/trait.DynCodecType.html | 4 +- numcodecs/trait.StaticCodec.html | 4 +- numcodecs/type.AnyArcArray.html | 2 +- numcodecs/type.AnyArray.html | 2 +- numcodecs/type.AnyArrayView.html | 2 +- numcodecs/type.AnyArrayViewMut.html | 2 +- numcodecs/type.AnyCowArray.html | 2 +- numcodecs_asinh/all.html | 2 +- numcodecs_asinh/enum.AsinhCodecError.html | 6 +- numcodecs_asinh/fn.asinh.html | 2 +- numcodecs_asinh/fn.sinh.html | 2 +- numcodecs_asinh/fn.sinh_into.html | 2 +- numcodecs_asinh/index.html | 2 +- numcodecs_asinh/struct.AsinhCodec.html | 2 +- numcodecs_bit_round/all.html | 2 +- .../enum.BitRoundCodecError.html | 6 +- numcodecs_bit_round/fn.bit_round.html | 2 +- numcodecs_bit_round/index.html | 2 +- numcodecs_bit_round/struct.BitRoundCodec.html | 2 +- numcodecs_bit_round/trait.Float.html | 4 +- numcodecs_fixed_offset_scale/all.html | 2 +- .../enum.FixedOffsetScaleCodecError.html | 6 +- numcodecs_fixed_offset_scale/fn.scale.html | 2 +- numcodecs_fixed_offset_scale/fn.unscale.html | 2 +- .../fn.unscale_into.html | 2 +- numcodecs_fixed_offset_scale/index.html | 2 +- .../struct.FixedOffsetScaleCodec.html | 2 +- numcodecs_identity/all.html | 2 +- .../enum.IdentityCodecError.html | 6 +- numcodecs_identity/index.html | 2 +- numcodecs_identity/struct.IdentityCodec.html | 2 +- numcodecs_linear_quantize/all.html | 2 +- .../enum.LinearQuantizeBins.html | 2 +- .../enum.LinearQuantizeCodecError.html | 6 +- .../enum.LinearQuantizeDType.html | 6 +- numcodecs_linear_quantize/fn.quantize.html | 2 +- numcodecs_linear_quantize/fn.reconstruct.html | 2 +- .../fn.reconstruct_into.html | 2 +- numcodecs_linear_quantize/index.html | 2 +- .../struct.LinearQuantizeCodec.html | 2 +- .../struct.LinearQuantizeHeaderError.html | 6 +- numcodecs_linear_quantize/trait.Unsigned.html | 4 +- numcodecs_log/all.html | 2 +- numcodecs_log/enum.LogCodecError.html | 6 +- numcodecs_log/fn.exp.html | 2 +- numcodecs_log/fn.exp_into.html | 2 +- numcodecs_log/fn.ln.html | 2 +- numcodecs_log/index.html | 2 +- numcodecs_log/struct.LogCodec.html | 2 +- numcodecs_python/all.html | 2 +- numcodecs_python/fn.export_codec_class.html | 2 +- numcodecs_python/index.html | 2 +- numcodecs_python/struct.PyCodec.html | 2 +- numcodecs_python/struct.PyCodecAdapter.html | 2 +- numcodecs_python/struct.PyCodecClass.html | 2 +- .../struct.PyCodecClassAdapter.html | 2 +- numcodecs_python/struct.PyCodecRegistry.html | 4 +- .../trait.PyCodecClassMethods.html | 2 +- numcodecs_python/trait.PyCodecMethods.html | 2 +- numcodecs_random_projection/all.html | 2 +- .../enum.RandomProjectionCodecError.html | 6 +- .../enum.RandomProjectionKind.html | 2 +- .../enum.RandomProjectionReduction.html | 2 +- .../fn.density_or_ping_li_minimum.html | 2 +- .../fn.johnson_lindenstrauss_min_k.html | 2 +- .../fn.project_into.html | 2 +- .../fn.project_with_projection.html | 2 +- .../fn.reconstruct.html | 2 +- .../fn.reconstruct_into.html | 2 +- .../fn.reconstruct_into_with_projection.html | 2 +- .../fn.reconstruct_with_projection.html | 2 +- numcodecs_random_projection/index.html | 2 +- .../struct.ClosedOpenUnit.html | 2 +- .../struct.OpenClosedUnit.html | 2 +- .../struct.RandomProjectionCodec.html | 2 +- .../trait.FloatExt.html | 4 +- numcodecs_reinterpret/all.html | 2 +- .../enum.ReinterpretCodecError.html | 6 +- .../fn.reinterpret_array.html | 2 +- .../fn.reinterpret_array_into.html | 2 +- numcodecs_reinterpret/index.html | 2 +- .../struct.ReinterpretCodec.html | 2 +- numcodecs_round/all.html | 2 +- numcodecs_round/enum.RoundCodecError.html | 6 +- numcodecs_round/fn.round.html | 2 +- numcodecs_round/index.html | 2 +- numcodecs_round/struct.Positive.html | 2 +- numcodecs_round/struct.RoundCodec.html | 2 +- numcodecs_swizzle_reshape/all.html | 2 +- numcodecs_swizzle_reshape/enum.Axis.html | 2 +- numcodecs_swizzle_reshape/enum.AxisGroup.html | 2 +- .../enum.SwizzleReshapeCodecError.html | 6 +- .../fn.swizzle_reshape.html | 2 +- .../fn.undo_swizzle_reshape.html | 2 +- .../fn.undo_swizzle_reshape_into.html | 2 +- numcodecs_swizzle_reshape/index.html | 2 +- numcodecs_swizzle_reshape/struct.Rest.html | 2 +- .../struct.SwizzleReshapeCodec.html | 2 +- numcodecs_sz3/all.html | 2 +- numcodecs_sz3/enum.Sz3CodecError.html | 6 +- numcodecs_sz3/enum.Sz3DType.html | 6 +- numcodecs_sz3/enum.Sz3ErrorBound.html | 2 +- numcodecs_sz3/fn.compress.html | 2 +- numcodecs_sz3/fn.decompress.html | 2 +- numcodecs_sz3/index.html | 2 +- numcodecs_sz3/struct.Sz3Codec.html | 2 +- numcodecs_sz3/struct.Sz3CodingError.html | 6 +- numcodecs_sz3/struct.Sz3HeaderError.html | 6 +- numcodecs_sz3/trait.Sz3Element.html | 4 +- numcodecs_uniform_noise/all.html | 2 +- .../enum.UniformNoiseCodecError.html | 6 +- .../fn.add_uniform_noise.html | 2 +- numcodecs_uniform_noise/index.html | 2 +- .../struct.UniformNoiseCodec.html | 2 +- numcodecs_uniform_noise/trait.FloatExt.html | 4 +- numcodecs_wasm_guest/all.html | 2 +- numcodecs_wasm_guest/index.html | 2 +- numcodecs_wasm_guest/macro.export_codec.html | 2 +- numcodecs_zfp/all.html | 2 +- numcodecs_zfp/enum.ZfpCodecError.html | 6 +- numcodecs_zfp/enum.ZfpCompressionMode.html | 2 +- numcodecs_zfp/fn.compress.html | 2 +- numcodecs_zfp/fn.decompress.html | 2 +- numcodecs_zfp/fn.decompress_into.html | 2 +- numcodecs_zfp/index.html | 2 +- numcodecs_zfp/struct.ZfpCodec.html | 2 +- numcodecs_zlib/all.html | 2 +- numcodecs_zlib/enum.ZlibCodecError.html | 6 +- numcodecs_zlib/enum.ZlibLevel.html | 2 +- numcodecs_zlib/fn.compress.html | 2 +- numcodecs_zlib/fn.decompress.html | 2 +- numcodecs_zlib/fn.decompress_into.html | 2 +- numcodecs_zlib/index.html | 2 +- numcodecs_zlib/struct.ZlibCodec.html | 2 +- numcodecs_zlib/struct.ZlibDecodeError.html | 6 +- numcodecs_zlib/struct.ZlibHeaderError.html | 6 +- numcodecs_zstd/all.html | 2 +- numcodecs_zstd/enum.ZstdCodecError.html | 6 +- numcodecs_zstd/fn.compress.html | 2 +- numcodecs_zstd/fn.decompress.html | 2 +- numcodecs_zstd/fn.decompress_into.html | 2 +- numcodecs_zstd/index.html | 2 +- numcodecs_zstd/struct.ZstdCodec.html | 2 +- numcodecs_zstd/struct.ZstdCodingError.html | 6 +- numcodecs_zstd/struct.ZstdHeaderError.html | 6 +- numcodecs_zstd/struct.ZstdLevel.html | 2 +- search.desc/numcodecs/numcodecs-desc-0-.js | 2 +- settings.html | 2 +- src/numcodecs/array.rs.html | 4 +- src/numcodecs/codec.rs.html | 10 +-- src/numcodecs/lib.rs.html | 2 +- src/numcodecs_asinh/lib.rs.html | 2 +- src/numcodecs_bit_round/lib.rs.html | 2 +- src/numcodecs_fixed_offset_scale/lib.rs.html | 2 +- src/numcodecs_identity/lib.rs.html | 2 +- src/numcodecs_linear_quantize/lib.rs.html | 8 +- src/numcodecs_log/lib.rs.html | 2 +- src/numcodecs_python/adapter.rs.html | 2 +- src/numcodecs_python/codec.rs.html | 2 +- src/numcodecs_python/codec_class.rs.html | 2 +- src/numcodecs_python/export.rs.html | 2 +- src/numcodecs_python/lib.rs.html | 2 +- src/numcodecs_python/registry.rs.html | 4 +- src/numcodecs_python/schema.rs.html | 74 +++++++++--------- src/numcodecs_random_projection/lib.rs.html | 2 +- src/numcodecs_reinterpret/lib.rs.html | 2 +- src/numcodecs_round/lib.rs.html | 2 +- src/numcodecs_swizzle_reshape/lib.rs.html | 2 +- src/numcodecs_sz3/lib.rs.html | 2 +- src/numcodecs_uniform_noise/lib.rs.html | 2 +- src/numcodecs_wasm_guest/lib.rs.html | 2 +- src/numcodecs_zfp/ffi.rs.html | 2 +- src/numcodecs_zfp/lib.rs.html | 2 +- src/numcodecs_zlib/lib.rs.html | 2 +- src/numcodecs_zstd/lib.rs.html | 2 +- ...de6c69aea69.txt => COPYRIGHT-eb44e4cf.txt} | 0 ...2d97.txt => FiraSans-LICENSE-05ab6dbd.txt} | 0 ...8.woff2 => FiraSans-Medium-e1aa3f0a.woff2} | Bin ....woff2 => FiraSans-Regular-0fe48ade.woff2} | Bin ...47b86a.txt => LICENSE-APACHE-a60eea81.txt} | 0 ...22b3f6c56.txt => LICENSE-MIT-23f18e03.txt} | 0 ...f2 => NanumBarunGothic-13b3dcba.ttf.woff2} | Bin ... => NanumBarunGothic-LICENSE-a37d393b.txt} | 0 ...f2 => SourceCodePro-It-fc8b9304.ttf.woff2} | Bin ...txt => SourceCodePro-LICENSE-67f54ca7.txt} | 0 ... SourceCodePro-Regular-8badfe75.ttf.woff2} | Bin ...SourceCodePro-Semibold-aa29a496.ttf.woff2} | Bin ...2 => SourceSerif4-Bold-6d4fd4c0.ttf.woff2} | Bin ...ff2 => SourceSerif4-It-ca3b17ed.ttf.woff2} | Bin ...b7.md => SourceSerif4-LICENSE-a2cfd9d5.md} | 0 ...> SourceSerif4-Regular-6b053e98.ttf.woff2} | Bin ...20d218678b618.svg => favicon-044be391.svg} | 0 ...2889060.png => favicon-32x32-6580c154.png} | Bin ...n-f070b9041d14864c.js => main-5f194d8c.js} | 0 ...96aa4d2e634.css => normalize-9960930a.css} | 0 ...fcff984fae8f.css => noscript-893ab5e7.css} | 0 ...9464ae7ed46.svg => rust-logo-9a9549ea.svg} | 0 ...42ba02757f159.css => rustdoc-a5dc3bae.css} | 2 +- ...763a438.js => scrape-examples-d508a8a9.js} | 0 ...e056c65ede92db13.js => search-c5a66128.js} | 0 ...5db61a62df4bd2.js => settings-0f613d39.js} | 0 ...777a5a92e9b2.js => src-script-56102188.js} | 0 ...d39b6787ed640ff.js => storage-59e33391.js} | 0 type.impl/numcodecs/enum.AnyArrayBase.js | 4 +- 219 files changed, 304 insertions(+), 304 deletions(-) rename static.files/{COPYRIGHT-23e9bde6c69aea69.txt => COPYRIGHT-eb44e4cf.txt} (100%) rename static.files/{FiraSans-LICENSE-db4b642586e02d97.txt => FiraSans-LICENSE-05ab6dbd.txt} (100%) rename static.files/{FiraSans-Medium-8f9a781e4970d388.woff2 => FiraSans-Medium-e1aa3f0a.woff2} (100%) rename static.files/{FiraSans-Regular-018c141bf0843ffd.woff2 => FiraSans-Regular-0fe48ade.woff2} (100%) rename static.files/{LICENSE-APACHE-b91fa81cba47b86a.txt => LICENSE-APACHE-a60eea81.txt} (100%) rename static.files/{LICENSE-MIT-65090b722b3f6c56.txt => LICENSE-MIT-23f18e03.txt} (100%) rename static.files/{NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2 => NanumBarunGothic-13b3dcba.ttf.woff2} (100%) rename static.files/{NanumBarunGothic-LICENSE-18c5adf4b52b4041.txt => NanumBarunGothic-LICENSE-a37d393b.txt} (100%) rename static.files/{SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2 => SourceCodePro-It-fc8b9304.ttf.woff2} (100%) rename static.files/{SourceCodePro-LICENSE-d180d465a756484a.txt => SourceCodePro-LICENSE-67f54ca7.txt} (100%) rename static.files/{SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2 => SourceCodePro-Regular-8badfe75.ttf.woff2} (100%) rename static.files/{SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2 => SourceCodePro-Semibold-aa29a496.ttf.woff2} (100%) rename static.files/{SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2 => SourceSerif4-Bold-6d4fd4c0.ttf.woff2} (100%) rename static.files/{SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2 => SourceSerif4-It-ca3b17ed.ttf.woff2} (100%) rename static.files/{SourceSerif4-LICENSE-3bb119e13b1258b7.md => SourceSerif4-LICENSE-a2cfd9d5.md} (100%) rename static.files/{SourceSerif4-Regular-46f98efaafac5295.ttf.woff2 => SourceSerif4-Regular-6b053e98.ttf.woff2} (100%) rename static.files/{favicon-2c020d218678b618.svg => favicon-044be391.svg} (100%) rename static.files/{favicon-32x32-422f7d1d52889060.png => favicon-32x32-6580c154.png} (100%) rename static.files/{main-f070b9041d14864c.js => main-5f194d8c.js} (100%) rename static.files/{normalize-76eba96aa4d2e634.css => normalize-9960930a.css} (100%) rename static.files/{noscript-0111fcff984fae8f.css => noscript-893ab5e7.css} (100%) rename static.files/{rust-logo-151179464ae7ed46.svg => rust-logo-9a9549ea.svg} (100%) rename static.files/{rustdoc-b0742ba02757f159.css => rustdoc-a5dc3bae.css} (72%) rename static.files/{scrape-examples-46fc985aa763a438.js => scrape-examples-d508a8a9.js} (100%) rename static.files/{search-e056c65ede92db13.js => search-c5a66128.js} (100%) rename static.files/{settings-805db61a62df4bd2.js => settings-0f613d39.js} (100%) rename static.files/{src-script-e66d777a5a92e9b2.js => src-script-56102188.js} (100%) rename static.files/{storage-1d39b6787ed640ff.js => storage-59e33391.js} (100%) diff --git a/help.html b/help.html index ec2f314c..7597b590 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/index.html b/index.html index 6366ab3b..ec200235 100644 --- a/index.html +++ b/index.html @@ -1,2 +1,2 @@ -Index of crates
- \ No newline at end of file +Index of crates
+ \ No newline at end of file diff --git a/numcodecs/all.html b/numcodecs/all.html index 5416a893..8455926b 100644 --- a/numcodecs/all.html +++ b/numcodecs/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/numcodecs/enum.AnyArrayAssignError.html b/numcodecs/enum.AnyArrayAssignError.html index 67cf2ef7..97dcc65c 100644 --- a/numcodecs/enum.AnyArrayAssignError.html +++ b/numcodecs/enum.AnyArrayAssignError.html @@ -1,4 +1,4 @@ -AnyArrayAssignError in numcodecs - Rust
numcodecs

Enum AnyArrayAssignError

source
pub enum AnyArrayAssignError {
+AnyArrayAssignError in numcodecs - Rust
numcodecs

Enum AnyArrayAssignError

source
pub enum AnyArrayAssignError {
     DTypeMismatch {
         src: AnyArrayDType,
         dst: AnyArrayDType,
@@ -22,7 +22,7 @@
     U: From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numcodecs/enum.AnyArrayBase.html b/numcodecs/enum.AnyArrayBase.html index 53c06512..65176642 100644 --- a/numcodecs/enum.AnyArrayBase.html +++ b/numcodecs/enum.AnyArrayBase.html @@ -1,4 +1,4 @@ -AnyArrayBase in numcodecs - Rust
numcodecs

Enum AnyArrayBase

source
#[non_exhaustive]
pub enum AnyArrayBase<T: AnyRawData> { +AnyArrayBase in numcodecs - Rust
numcodecs

Enum AnyArrayBase

source
#[non_exhaustive]
pub enum AnyArrayBase<T: AnyRawData> { U8(ArrayBase<T::U8, IxDyn>), U16(ArrayBase<T::U16, IxDyn>), U32(ArrayBase<T::U32, IxDyn>), @@ -72,7 +72,7 @@ U::I32: Data, U::I64: Data, U::F32: Data, - U::F64: Data,

Perform an elementwise assigment to self from src.

+ U::F64: Data,

Perform an elementwise assignment to self from src.

§Errors

Errors with

\ No newline at end of file diff --git a/numcodecs/fn.codec_from_config_with_id.html b/numcodecs/fn.codec_from_config_with_id.html index f6dbed7b..068223d8 100644 --- a/numcodecs/fn.codec_from_config_with_id.html +++ b/numcodecs/fn.codec_from_config_with_id.html @@ -1,4 +1,4 @@ -codec_from_config_with_id in numcodecs - Rust
numcodecs

Function codec_from_config_with_id

source
pub fn codec_from_config_with_id<'de, T: DynCodecType, D: Deserializer<'de>>(
+codec_from_config_with_id in numcodecs - Rust
numcodecs

Function codec_from_config_with_id

source
pub fn codec_from_config_with_id<'de, T: DynCodecType, D: Deserializer<'de>>(
     ty: &T,
     config: D,
 ) -> Result<T::Codec, D::Error>
Expand description

Utility function to instantiate a codec of the given ty, where the diff --git a/numcodecs/fn.serialize_codec_config_with_id.html b/numcodecs/fn.serialize_codec_config_with_id.html index fd5ec85b..13909061 100644 --- a/numcodecs/fn.serialize_codec_config_with_id.html +++ b/numcodecs/fn.serialize_codec_config_with_id.html @@ -1,4 +1,4 @@ -serialize_codec_config_with_id in numcodecs - Rust

numcodecs

Function serialize_codec_config_with_id

source
pub fn serialize_codec_config_with_id<T: Serialize, C: DynCodec, S: Serializer>(
+serialize_codec_config_with_id in numcodecs - Rust
numcodecs

Function serialize_codec_config_with_id

source
pub fn serialize_codec_config_with_id<T: Serialize, C: DynCodec, S: Serializer>(
     config: &T,
     codec: &C,
     serializer: S,
diff --git a/numcodecs/index.html b/numcodecs/index.html
index 6571a46d..1314fad2 100644
--- a/numcodecs/index.html
+++ b/numcodecs/index.html
@@ -1,4 +1,4 @@
-numcodecs - Rust

Crate numcodecs

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

+numcodecs - Rust

Crate numcodecs

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Compression codec API inspired by the numcodecs Python API.

Structs§

Enums§

Traits§

Fields§

§config: T::Config<'a>

The configuration parameters

Implementations§

source§

impl<'a, T: StaticCodec> StaticCodecConfig<'a, T>

source

pub const fn new(config: T::Config<'a>) -> Self

Wraps the config so that it can be serialized together with its StaticCodec::CODEC_ID

Trait Implementations§

source§

impl<'de: 'a, 'a, T: StaticCodec> Deserialize<'de> for StaticCodecConfig<'a, T>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where diff --git a/numcodecs/struct.StaticCodecType.html b/numcodecs/struct.StaticCodecType.html index 218f3ba0..a87db850 100644 --- a/numcodecs/struct.StaticCodecType.html +++ b/numcodecs/struct.StaticCodecType.html @@ -1,4 +1,4 @@ -StaticCodecType in numcodecs - Rust
numcodecs

Struct StaticCodecType

source
pub struct StaticCodecType<T: StaticCodec> { /* private fields */ }
Expand description

Type object for statically typed compression codecs.

+StaticCodecType in numcodecs - Rust
numcodecs

Struct StaticCodecType

source
pub struct StaticCodecType<T: StaticCodec> { /* private fields */ }
Expand description

Type object for statically typed compression codecs.

Implementations§

source§

impl<T: StaticCodec> StaticCodecType<T>

source

pub const fn of() -> Self

Statically obtain the type for a statically typed codec.

Trait Implementations§

source§

impl<T: StaticCodec> DynCodecType for StaticCodecType<T>

source§

type Codec = T

Type of the instances of this codec type object.
source§

fn codec_id(&self) -> &str

Codec identifier.
source§

fn codec_config_schema(&self) -> Schema

JSON schema for the codec’s configuration.
source§

fn codec_from_config<'de, D: Deserializer<'de>>( &self, diff --git a/numcodecs/trait.AnyRawData.html b/numcodecs/trait.AnyRawData.html index 694ff2df..24dc7e6c 100644 --- a/numcodecs/trait.AnyRawData.html +++ b/numcodecs/trait.AnyRawData.html @@ -1,4 +1,4 @@ -AnyRawData in numcodecs - Rust
numcodecs

Trait AnyRawData

source
pub trait AnyRawData {
+AnyRawData in numcodecs - Rust
numcodecs

Trait AnyRawData

source
pub trait AnyRawData {
     type U8: RawData<Elem = u8>;
     type U16: RawData<Elem = u16>;
     type U32: RawData<Elem = u32>;
diff --git a/numcodecs/trait.ArrayDType.html b/numcodecs/trait.ArrayDType.html
index 3311cea2..b67177a1 100644
--- a/numcodecs/trait.ArrayDType.html
+++ b/numcodecs/trait.ArrayDType.html
@@ -1,8 +1,8 @@
-ArrayDType in numcodecs - Rust
numcodecs

Trait ArrayDType

source
pub trait ArrayDType: Sealed {
+ArrayDType in numcodecs - Rust
numcodecs

Trait ArrayDType

source
pub trait ArrayDType: Sealed {
     type RawData<T: AnyRawData>: RawData<Elem = Self>;
 
     const DTYPE: AnyArrayDType;
 }
Expand description

Types which are included in AnyArrayDType

Required Associated Constants§

source

const DTYPE: AnyArrayDType

AnyArrayDType representation of this type

Required Associated Types§

source

type RawData<T: AnyRawData>: RawData<Elem = Self>

Representation for an ArrayBase containing this type

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ArrayDType for f32

source§

const DTYPE: AnyArrayDType = AnyArrayDType::F32

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::F32

source§

impl ArrayDType for f64

source§

const DTYPE: AnyArrayDType = AnyArrayDType::F64

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::F64

source§

impl ArrayDType for i8

source§

const DTYPE: AnyArrayDType = AnyArrayDType::I8

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I8

source§

impl ArrayDType for i16

source§

const DTYPE: AnyArrayDType = AnyArrayDType::I16

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I16

source§

impl ArrayDType for i32

source§

const DTYPE: AnyArrayDType = AnyArrayDType::I32

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I32

source§

impl ArrayDType for i64

source§

const DTYPE: AnyArrayDType = AnyArrayDType::I64

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I64

source§

impl ArrayDType for u8

source§

const DTYPE: AnyArrayDType = AnyArrayDType::U8

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U8

source§

impl ArrayDType for u16

source§

const DTYPE: AnyArrayDType = AnyArrayDType::U16

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U16

source§

impl ArrayDType for u32

source§

const DTYPE: AnyArrayDType = AnyArrayDType::U32

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U32

source§

impl ArrayDType for u64

source§

const DTYPE: AnyArrayDType = AnyArrayDType::U64

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U64

Implementors§

\ No newline at end of file +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl ArrayDType for f32

source§

const DTYPE: AnyArrayDType = AnyArrayDType::F32

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::F32

source§

impl ArrayDType for f64

source§

const DTYPE: AnyArrayDType = AnyArrayDType::F64

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::F64

source§

impl ArrayDType for i8

source§

const DTYPE: AnyArrayDType = AnyArrayDType::I8

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I8

source§

impl ArrayDType for i16

source§

const DTYPE: AnyArrayDType = AnyArrayDType::I16

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I16

source§

impl ArrayDType for i32

source§

const DTYPE: AnyArrayDType = AnyArrayDType::I32

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I32

source§

impl ArrayDType for i64

source§

const DTYPE: AnyArrayDType = AnyArrayDType::I64

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::I64

source§

impl ArrayDType for u8

source§

const DTYPE: AnyArrayDType = AnyArrayDType::U8

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U8

source§

impl ArrayDType for u16

source§

const DTYPE: AnyArrayDType = AnyArrayDType::U16

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U16

source§

impl ArrayDType for u32

source§

const DTYPE: AnyArrayDType = AnyArrayDType::U32

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U32

source§

impl ArrayDType for u64

source§

const DTYPE: AnyArrayDType = AnyArrayDType::U64

source§

type RawData<T: AnyRawData> = <T as AnyRawData>::U64

Implementors§

\ No newline at end of file diff --git a/numcodecs/trait.Codec.html b/numcodecs/trait.Codec.html index 5766f1e1..743d2e3b 100644 --- a/numcodecs/trait.Codec.html +++ b/numcodecs/trait.Codec.html @@ -1,4 +1,4 @@ -Codec in numcodecs - Rust
numcodecs

Trait Codec

source
pub trait Codec:
+Codec in numcodecs - Rust
numcodecs

Trait Codec

source
pub trait Codec:
     'static
     + Send
     + Sync
@@ -32,4 +32,4 @@ 
§Errors

The output must have the correct type and shape.

§Errors

Errors if decoding the buffer fails.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/numcodecs/trait.DynCodec.html b/numcodecs/trait.DynCodec.html index 70879cf9..280fb7ec 100644 --- a/numcodecs/trait.DynCodec.html +++ b/numcodecs/trait.DynCodec.html @@ -1,4 +1,4 @@ -DynCodec in numcodecs - Rust
numcodecs

Trait DynCodec

source
pub trait DynCodec: Codec {
+DynCodec in numcodecs - Rust
numcodecs

Trait DynCodec

source
pub trait DynCodec: Codec {
     type Type: DynCodecType;
 
     // Required methods
@@ -18,4 +18,4 @@
 

The config must be compatible with JSON encoding.

§Errors

Errors if serializing the codec configuration fails.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/numcodecs/trait.DynCodecType.html b/numcodecs/trait.DynCodecType.html index 020edd8a..e1669d22 100644 --- a/numcodecs/trait.DynCodecType.html +++ b/numcodecs/trait.DynCodecType.html @@ -1,4 +1,4 @@ -DynCodecType in numcodecs - Rust
numcodecs

Trait DynCodecType

source
pub trait DynCodecType:
+DynCodecType in numcodecs - Rust
numcodecs

Trait DynCodecType

source
pub trait DynCodecType:
     'static
     + Send
     + Sync {
@@ -24,4 +24,4 @@
 

The config must be compatible with JSON encoding.

§Errors

Errors if constructing the codec fails.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/numcodecs/trait.StaticCodec.html b/numcodecs/trait.StaticCodec.html index a38a91d3..dd7ad05a 100644 --- a/numcodecs/trait.StaticCodec.html +++ b/numcodecs/trait.StaticCodec.html @@ -1,4 +1,4 @@ -StaticCodec in numcodecs - Rust
numcodecs

Trait StaticCodec

source
pub trait StaticCodec: Codec {
+StaticCodec in numcodecs - Rust
numcodecs

Trait StaticCodec

source
pub trait StaticCodec: Codec {
     type Config<'de>: Serialize + Deserialize<'de> + JsonSchema;
 
     const CODEC_ID: &'static str;
@@ -15,4 +15,4 @@
 
source

fn get_config(&self) -> StaticCodecConfig<'_, Self>

Get the configuration for this codec.

The StaticCodecConfig ensures that the returned config includes an id field with the codec’s StaticCodec::CODEC_ID.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/numcodecs/type.AnyArcArray.html b/numcodecs/type.AnyArcArray.html index 06d2ab0d..bfb0a8f1 100644 --- a/numcodecs/type.AnyArcArray.html +++ b/numcodecs/type.AnyArcArray.html @@ -1,4 +1,4 @@ -AnyArcArray in numcodecs - Rust
numcodecs

Type Alias AnyArcArray

source
pub type AnyArcArray = AnyArrayBase<OwnedArcRepr<()>>;
Expand description

An array where the data has shared ownership and is copy-on-write.

+AnyArcArray in numcodecs - Rust
numcodecs

Type Alias AnyArcArray

source
pub type AnyArcArray = AnyArrayBase<OwnedArcRepr<()>>;
Expand description

An array where the data has shared ownership and is copy-on-write.

Aliased Type§

enum AnyArcArray {
     U8(ArrayBase<OwnedArcRepr<u8>, Dim<IxDynImpl>>),
     U16(ArrayBase<OwnedArcRepr<u16>, Dim<IxDynImpl>>),
diff --git a/numcodecs/type.AnyArray.html b/numcodecs/type.AnyArray.html
index e201738b..0dcb7872 100644
--- a/numcodecs/type.AnyArray.html
+++ b/numcodecs/type.AnyArray.html
@@ -1,4 +1,4 @@
-AnyArray in numcodecs - Rust
numcodecs

Type Alias AnyArray

source
pub type AnyArray = AnyArrayBase<OwnedRepr<()>>;
Expand description

An array that owns its data uniquely.

+AnyArray in numcodecs - Rust
numcodecs

Type Alias AnyArray

source
pub type AnyArray = AnyArrayBase<OwnedRepr<()>>;
Expand description

An array that owns its data uniquely.

Aliased Type§

enum AnyArray {
     U8(ArrayBase<OwnedRepr<u8>, Dim<IxDynImpl>>),
     U16(ArrayBase<OwnedRepr<u16>, Dim<IxDynImpl>>),
diff --git a/numcodecs/type.AnyArrayView.html b/numcodecs/type.AnyArrayView.html
index 746a7e35..b0872bfe 100644
--- a/numcodecs/type.AnyArrayView.html
+++ b/numcodecs/type.AnyArrayView.html
@@ -1,4 +1,4 @@
-AnyArrayView in numcodecs - Rust
numcodecs

Type Alias AnyArrayView

source
pub type AnyArrayView<'a> = AnyArrayBase<ViewRepr<&'a ()>>;
Expand description

A read-only array view.

+AnyArrayView in numcodecs - Rust
numcodecs

Type Alias AnyArrayView

source
pub type AnyArrayView<'a> = AnyArrayBase<ViewRepr<&'a ()>>;
Expand description

A read-only array view.

Aliased Type§

enum AnyArrayView<'a> {
     U8(ArrayBase<ViewRepr<&'a u8>, Dim<IxDynImpl>>),
     U16(ArrayBase<ViewRepr<&'a u16>, Dim<IxDynImpl>>),
diff --git a/numcodecs/type.AnyArrayViewMut.html b/numcodecs/type.AnyArrayViewMut.html
index 9cac6ae8..2959587b 100644
--- a/numcodecs/type.AnyArrayViewMut.html
+++ b/numcodecs/type.AnyArrayViewMut.html
@@ -1,4 +1,4 @@
-AnyArrayViewMut in numcodecs - Rust
numcodecs

Type Alias AnyArrayViewMut

source
pub type AnyArrayViewMut<'a> = AnyArrayBase<ViewRepr<&'a mut ()>>;
Expand description

A read-write array view.

+AnyArrayViewMut in numcodecs - Rust
numcodecs

Type Alias AnyArrayViewMut

source
pub type AnyArrayViewMut<'a> = AnyArrayBase<ViewRepr<&'a mut ()>>;
Expand description

A read-write array view.

Aliased Type§

enum AnyArrayViewMut<'a> {
     U8(ArrayBase<ViewRepr<&'a mut u8>, Dim<IxDynImpl>>),
     U16(ArrayBase<ViewRepr<&'a mut u16>, Dim<IxDynImpl>>),
diff --git a/numcodecs/type.AnyCowArray.html b/numcodecs/type.AnyCowArray.html
index 3f91ad82..ee81c2f6 100644
--- a/numcodecs/type.AnyCowArray.html
+++ b/numcodecs/type.AnyCowArray.html
@@ -1,4 +1,4 @@
-AnyCowArray in numcodecs - Rust
numcodecs

Type Alias AnyCowArray

source
pub type AnyCowArray<'a> = AnyArrayBase<CowRepr<'a, ()>>;
Expand description

An array with copy-on-write behavior.

+AnyCowArray in numcodecs - Rust
numcodecs

Type Alias AnyCowArray

source
pub type AnyCowArray<'a> = AnyArrayBase<CowRepr<'a, ()>>;
Expand description

An array with copy-on-write behavior.

Aliased Type§

enum AnyCowArray<'a> {
     U8(ArrayBase<CowRepr<'a, u8>, Dim<IxDynImpl>>),
     U16(ArrayBase<CowRepr<'a, u16>, Dim<IxDynImpl>>),
diff --git a/numcodecs_asinh/all.html b/numcodecs_asinh/all.html
index 0dc26fdd..78fff5ce 100644
--- a/numcodecs_asinh/all.html
+++ b/numcodecs_asinh/all.html
@@ -1 +1 @@
-List of all items in this crate

List of all items

Structs

Enums

Functions

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Functions

\ No newline at end of file diff --git a/numcodecs_asinh/enum.AsinhCodecError.html b/numcodecs_asinh/enum.AsinhCodecError.html index 4a2bf8ea..0b07b8ab 100644 --- a/numcodecs_asinh/enum.AsinhCodecError.html +++ b/numcodecs_asinh/enum.AsinhCodecError.html @@ -1,4 +1,4 @@ -AsinhCodecError in numcodecs_asinh - Rust
numcodecs_asinh

Enum AsinhCodecError

source
pub enum AsinhCodecError {
+AsinhCodecError in numcodecs_asinh - Rust
numcodecs_asinh

Enum AsinhCodecError

source
pub enum AsinhCodecError {
     UnsupportedDtype(AnyArrayDType),
     NonFiniteData,
     MismatchedDecodeIntoArray {
@@ -18,7 +18,7 @@
     U: From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numcodecs_asinh/fn.asinh.html b/numcodecs_asinh/fn.asinh.html index 5b1da778..26ecbcc4 100644 --- a/numcodecs_asinh/fn.asinh.html +++ b/numcodecs_asinh/fn.asinh.html @@ -1,4 +1,4 @@ -asinh in numcodecs_asinh - Rust
numcodecs_asinh

Function asinh

source
pub fn asinh<T: Float + Signed, S: Data<Elem = T>, D: Dimension>(
+asinh in numcodecs_asinh - Rust
numcodecs_asinh

Function asinh

source
pub fn asinh<T: Float + Signed, S: Data<Elem = T>, D: Dimension>(
     data: ArrayBase<S, D>,
     linear_width: T,
 ) -> Result<Array<T, D>, AsinhCodecError>
Expand description

Compute asinh(x/w) * w over the elements of the input data array.

diff --git a/numcodecs_asinh/fn.sinh.html b/numcodecs_asinh/fn.sinh.html index 92ef3d71..b0f156f0 100644 --- a/numcodecs_asinh/fn.sinh.html +++ b/numcodecs_asinh/fn.sinh.html @@ -1,4 +1,4 @@ -sinh in numcodecs_asinh - Rust
numcodecs_asinh

Function sinh

source
pub fn sinh<T: Float, S: Data<Elem = T>, D: Dimension>(
+sinh in numcodecs_asinh - Rust
numcodecs_asinh

Function sinh

source
pub fn sinh<T: Float, S: Data<Elem = T>, D: Dimension>(
     data: ArrayBase<S, D>,
     linear_width: T,
 ) -> Result<Array<T, D>, AsinhCodecError>
Expand description

Compute sinh(x/w) * w over the elements of the input data array.

diff --git a/numcodecs_asinh/fn.sinh_into.html b/numcodecs_asinh/fn.sinh_into.html index b58835f4..6effa8ad 100644 --- a/numcodecs_asinh/fn.sinh_into.html +++ b/numcodecs_asinh/fn.sinh_into.html @@ -1,4 +1,4 @@ -sinh_into in numcodecs_asinh - Rust
numcodecs_asinh

Function sinh_into

source
pub fn sinh_into<T: Float, D: Dimension>(
+sinh_into in numcodecs_asinh - Rust
numcodecs_asinh

Function sinh_into

source
pub fn sinh_into<T: Float, D: Dimension>(
     data: ArrayView<'_, T, D>,
     out: ArrayViewMut<'_, T, D>,
     linear_width: T,
diff --git a/numcodecs_asinh/index.html b/numcodecs_asinh/index.html
index a819154f..e03c7588 100644
--- a/numcodecs_asinh/index.html
+++ b/numcodecs_asinh/index.html
@@ -1,4 +1,4 @@
-numcodecs_asinh - Rust

Crate numcodecs_asinh

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

+numcodecs_asinh - Rust

Crate numcodecs_asinh

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

asinh(x) codec implementation for the numcodecs API.

Structs§

  • Asinh codec, which applies a quasi-logarithmic transformation on encoding.

Enums§

Functions§

  • Compute asinh(x/w) * w over the elements of the input data array.
  • Compute sinh(x/w) * w over the elements of the input data array.
  • Compute sinh(x/w) * w over the elements of the input data array and write them into the output array.
\ No newline at end of file diff --git a/numcodecs_asinh/struct.AsinhCodec.html b/numcodecs_asinh/struct.AsinhCodec.html index cf404c01..286dd835 100644 --- a/numcodecs_asinh/struct.AsinhCodec.html +++ b/numcodecs_asinh/struct.AsinhCodec.html @@ -1,4 +1,4 @@ -AsinhCodec in numcodecs_asinh - Rust
numcodecs_asinh

Struct AsinhCodec

source
pub struct AsinhCodec { /* private fields */ }
Expand description

Asinh codec, which applies a quasi-logarithmic transformation on encoding.

+AsinhCodec in numcodecs_asinh - Rust
numcodecs_asinh

Struct AsinhCodec

source
pub struct AsinhCodec { /* private fields */ }
Expand description

Asinh codec, which applies a quasi-logarithmic transformation on encoding.

For values close to zero that are within the codec’s linear_width, the transform is close to linear. For values of larger magnitudes, the transform is asymptotically logarithmic. Unlike a logarithmic transform, diff --git a/numcodecs_bit_round/all.html b/numcodecs_bit_round/all.html index e390aa22..27195dec 100644 --- a/numcodecs_bit_round/all.html +++ b/numcodecs_bit_round/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Functions

\ No newline at end of file diff --git a/numcodecs_bit_round/enum.BitRoundCodecError.html b/numcodecs_bit_round/enum.BitRoundCodecError.html index 6c0bdfd3..0ee0a7f7 100644 --- a/numcodecs_bit_round/enum.BitRoundCodecError.html +++ b/numcodecs_bit_round/enum.BitRoundCodecError.html @@ -1,4 +1,4 @@ -BitRoundCodecError in numcodecs_bit_round - Rust
numcodecs_bit_round

Enum BitRoundCodecError

source
pub enum BitRoundCodecError {
+BitRoundCodecError in numcodecs_bit_round - Rust
numcodecs_bit_round

Enum BitRoundCodecError

source
pub enum BitRoundCodecError {
     UnsupportedDtype(AnyArrayDType),
     ExcessiveKeepBits {
         keepbits: u8,
@@ -22,7 +22,7 @@
     U: From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numcodecs_bit_round/fn.bit_round.html b/numcodecs_bit_round/fn.bit_round.html index 12925f9c..b684cc39 100644 --- a/numcodecs_bit_round/fn.bit_round.html +++ b/numcodecs_bit_round/fn.bit_round.html @@ -1,4 +1,4 @@ -bit_round in numcodecs_bit_round - Rust
numcodecs_bit_round

Function bit_round

source
pub fn bit_round<T: Float, S: Data<Elem = T>, D: Dimension>(
+bit_round in numcodecs_bit_round - Rust
numcodecs_bit_round

Function bit_round

source
pub fn bit_round<T: Float, S: Data<Elem = T>, D: Dimension>(
     data: ArrayBase<S, D>,
     keepbits: u8,
 ) -> Result<Array<T, D>, BitRoundCodecError>
Expand description

Floating-point bit rounding, which drops the specified number of bits from diff --git a/numcodecs_bit_round/index.html b/numcodecs_bit_round/index.html index 95ed2b33..c0ea76ed 100644 --- a/numcodecs_bit_round/index.html +++ b/numcodecs_bit_round/index.html @@ -1,4 +1,4 @@ -numcodecs_bit_round - Rust

Crate numcodecs_bit_round

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

+numcodecs_bit_round - Rust

Crate numcodecs_bit_round

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Bit rounding codec implementation for the numcodecs API.

Structs§

Enums§

Traits§

  • Floating point types.

Functions§

  • Floating-point bit rounding, which drops the specified number of bits from the floating point mantissa.
\ No newline at end of file diff --git a/numcodecs_bit_round/struct.BitRoundCodec.html b/numcodecs_bit_round/struct.BitRoundCodec.html index a2364df8..5b5b49ed 100644 --- a/numcodecs_bit_round/struct.BitRoundCodec.html +++ b/numcodecs_bit_round/struct.BitRoundCodec.html @@ -1,4 +1,4 @@ -BitRoundCodec in numcodecs_bit_round - Rust
numcodecs_bit_round

Struct BitRoundCodec

source
pub struct BitRoundCodec {
+BitRoundCodec in numcodecs_bit_round - Rust
numcodecs_bit_round

Struct BitRoundCodec

source
pub struct BitRoundCodec {
     pub keepbits: u8,
 }
Expand description

Codec providing floating-point bit rounding.

Drops the specified number of bits from the floating point mantissa, diff --git a/numcodecs_bit_round/trait.Float.html b/numcodecs_bit_round/trait.Float.html index abddafe5..5229944f 100644 --- a/numcodecs_bit_round/trait.Float.html +++ b/numcodecs_bit_round/trait.Float.html @@ -1,4 +1,4 @@ -Float in numcodecs_bit_round - Rust

numcodecs_bit_round

Trait Float

source
pub trait Float: Sized + Copy {
+Float in numcodecs_bit_round - Rust
numcodecs_bit_round

Trait Float

source
pub trait Float: Sized + Copy {
     type Binary: Copy + Not<Output = Self::Binary> + Shr<u32, Output = Self::Binary> + Add<Self::Binary, Output = Self::Binary> + AddAssign<Self::Binary> + BitAnd<Self::Binary, Output = Self::Binary> + BitAndAssign<Self::Binary>;
 
     const MANITSSA_BITS: u32;
@@ -17,4 +17,4 @@
 

Required Associated Types§

source

type Binary: Copy + Not<Output = Self::Binary> + Shr<u32, Output = Self::Binary> + Add<Self::Binary, Output = Self::Binary> + AddAssign<Self::Binary> + BitAnd<Self::Binary, Output = Self::Binary> + BitAndAssign<Self::Binary>

Binary representation of this type

Required Methods§

source

fn to_binary(self) -> Self::Binary

Bit-cast the floating point value to its binary representation

source

fn from_binary(u: Self::Binary) -> Self

Bit-cast the binary representation into a floating point value

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Float for f32

source§

const BINARY_ONE: Self::Binary = {transmute(0x00000001): <f32 as Float>::Binary}

source§

const MANITSSA_BITS: u32 = 23u32

source§

const MANTISSA_MASK: Self::Binary = {transmute(0x007fffff): <f32 as Float>::Binary}

source§

const TY: AnyArrayDType = AnyArrayDType::F32

source§

type Binary = u32

source§

fn to_binary(self) -> Self::Binary

source§

fn from_binary(u: Self::Binary) -> Self

source§

impl Float for f64

source§

const BINARY_ONE: Self::Binary = {transmute(0x0000000000000001): <f64 as Float>::Binary}

source§

const MANITSSA_BITS: u32 = 52u32

source§

const MANTISSA_MASK: Self::Binary = {transmute(0x000fffffffffffff): <f64 as Float>::Binary}

source§

const TY: AnyArrayDType = AnyArrayDType::F64

source§

type Binary = u64

source§

fn to_binary(self) -> Self::Binary

source§

fn from_binary(u: Self::Binary) -> Self

Implementors§

\ No newline at end of file +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl Float for f32

source§

const BINARY_ONE: Self::Binary = {transmute(0x00000001): <f32 as Float>::Binary}

source§

const MANITSSA_BITS: u32 = 23u32

source§

const MANTISSA_MASK: Self::Binary = {transmute(0x007fffff): <f32 as Float>::Binary}

source§

const TY: AnyArrayDType = AnyArrayDType::F32

source§

type Binary = u32

source§

fn to_binary(self) -> Self::Binary

source§

fn from_binary(u: Self::Binary) -> Self

source§

impl Float for f64

source§

const BINARY_ONE: Self::Binary = {transmute(0x0000000000000001): <f64 as Float>::Binary}

source§

const MANITSSA_BITS: u32 = 52u32

source§

const MANTISSA_MASK: Self::Binary = {transmute(0x000fffffffffffff): <f64 as Float>::Binary}

source§

const TY: AnyArrayDType = AnyArrayDType::F64

source§

type Binary = u64

source§

fn to_binary(self) -> Self::Binary

source§

fn from_binary(u: Self::Binary) -> Self

Implementors§

\ No newline at end of file diff --git a/numcodecs_fixed_offset_scale/all.html b/numcodecs_fixed_offset_scale/all.html index 55e50a93..428f9744 100644 --- a/numcodecs_fixed_offset_scale/all.html +++ b/numcodecs_fixed_offset_scale/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/numcodecs_fixed_offset_scale/enum.FixedOffsetScaleCodecError.html b/numcodecs_fixed_offset_scale/enum.FixedOffsetScaleCodecError.html index 60234fb7..628f7033 100644 --- a/numcodecs_fixed_offset_scale/enum.FixedOffsetScaleCodecError.html +++ b/numcodecs_fixed_offset_scale/enum.FixedOffsetScaleCodecError.html @@ -1,4 +1,4 @@ -FixedOffsetScaleCodecError in numcodecs_fixed_offset_scale - Rust
numcodecs_fixed_offset_scale

Enum FixedOffsetScaleCodecError

source
pub enum FixedOffsetScaleCodecError {
+FixedOffsetScaleCodecError in numcodecs_fixed_offset_scale - Rust
numcodecs_fixed_offset_scale

Enum FixedOffsetScaleCodecError

source
pub enum FixedOffsetScaleCodecError {
     UnsupportedDtype(AnyArrayDType),
     MismatchedDecodeIntoArray {
         source: AnyArrayAssignError,
@@ -15,7 +15,7 @@
     U: From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numcodecs_fixed_offset_scale/fn.scale.html b/numcodecs_fixed_offset_scale/fn.scale.html index 1fb9a624..7992deb0 100644 --- a/numcodecs_fixed_offset_scale/fn.scale.html +++ b/numcodecs_fixed_offset_scale/fn.scale.html @@ -1,4 +1,4 @@ -scale in numcodecs_fixed_offset_scale - Rust
numcodecs_fixed_offset_scale

Function scale

source
pub fn scale<T: Float, S: Data<Elem = T>, D: Dimension>(
+scale in numcodecs_fixed_offset_scale - Rust
numcodecs_fixed_offset_scale

Function scale

source
pub fn scale<T: Float, S: Data<Elem = T>, D: Dimension>(
     data: ArrayBase<S, D>,
     offset: T,
     scale: T,
diff --git a/numcodecs_fixed_offset_scale/fn.unscale.html b/numcodecs_fixed_offset_scale/fn.unscale.html
index d1950896..f5c55750 100644
--- a/numcodecs_fixed_offset_scale/fn.unscale.html
+++ b/numcodecs_fixed_offset_scale/fn.unscale.html
@@ -1,4 +1,4 @@
-unscale in numcodecs_fixed_offset_scale - Rust
numcodecs_fixed_offset_scale

Function unscale

source
pub fn unscale<T: Float, S: Data<Elem = T>, D: Dimension>(
+unscale in numcodecs_fixed_offset_scale - Rust
numcodecs_fixed_offset_scale

Function unscale

source
pub fn unscale<T: Float, S: Data<Elem = T>, D: Dimension>(
     data: ArrayBase<S, D>,
     offset: T,
     scale: T,
diff --git a/numcodecs_fixed_offset_scale/fn.unscale_into.html b/numcodecs_fixed_offset_scale/fn.unscale_into.html
index 7bbb1731..02491379 100644
--- a/numcodecs_fixed_offset_scale/fn.unscale_into.html
+++ b/numcodecs_fixed_offset_scale/fn.unscale_into.html
@@ -1,4 +1,4 @@
-unscale_into in numcodecs_fixed_offset_scale - Rust
numcodecs_fixed_offset_scale

Function unscale_into

source
pub fn unscale_into<T: Float, D: Dimension>(
+unscale_into in numcodecs_fixed_offset_scale - Rust
numcodecs_fixed_offset_scale

Function unscale_into

source
pub fn unscale_into<T: Float, D: Dimension>(
     data: ArrayView<'_, T, D>,
     out: ArrayViewMut<'_, T, D>,
     offset: T,
diff --git a/numcodecs_fixed_offset_scale/index.html b/numcodecs_fixed_offset_scale/index.html
index a75b95d0..eaa6c0d9 100644
--- a/numcodecs_fixed_offset_scale/index.html
+++ b/numcodecs_fixed_offset_scale/index.html
@@ -1,4 +1,4 @@
-numcodecs_fixed_offset_scale - Rust

Crate numcodecs_fixed_offset_scale

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

+numcodecs_fixed_offset_scale - Rust

Crate numcodecs_fixed_offset_scale

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

(x-o) * s codec implementation for the numcodecs API.

Structs§

  • Fixed offset-scale codec which calculates c = (x-o) / s on encoding and d = (c*s) + o on decoding.

Enums§

Functions§

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numcodecs_identity/index.html b/numcodecs_identity/index.html index 8cf6bb75..15e6bf24 100644 --- a/numcodecs_identity/index.html +++ b/numcodecs_identity/index.html @@ -1,4 +1,4 @@ -numcodecs_identity - Rust

Crate numcodecs_identity

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

+numcodecs_identity - Rust

Crate numcodecs_identity

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Identity codec implementation for the numcodecs API.

Structs§

  • Identity codec which applies the identity function, i.e. passes through the input unchanged during encoding and decoding.

Enums§

\ No newline at end of file diff --git a/numcodecs_identity/struct.IdentityCodec.html b/numcodecs_identity/struct.IdentityCodec.html index 4ebdd8c3..f7cac352 100644 --- a/numcodecs_identity/struct.IdentityCodec.html +++ b/numcodecs_identity/struct.IdentityCodec.html @@ -1,4 +1,4 @@ -IdentityCodec in numcodecs_identity - Rust
numcodecs_identity

Struct IdentityCodec

source
pub struct IdentityCodec {}
Expand description

Identity codec which applies the identity function, i.e. passes through the +IdentityCodec in numcodecs_identity - Rust

numcodecs_identity

Struct IdentityCodec

source
pub struct IdentityCodec {}
Expand description

Identity codec which applies the identity function, i.e. passes through the input unchanged during encoding and decoding.

Trait Implementations§

source§

impl Clone for IdentityCodec

source§

fn clone(&self) -> IdentityCodec

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Codec for IdentityCodec

source§

type Error = IdentityCodecError

Error type that may be returned during encodeing and decodeing.
source§

fn encode(&self, data: AnyCowArray<'_>) -> Result<AnyArray, Self::Error>

Encodes the data and returns the result. Read more
source§

fn decode(&self, encoded: AnyCowArray<'_>) -> Result<AnyArray, Self::Error>

Decodes the encoded data and returns the result. Read more
source§

fn decode_into( diff --git a/numcodecs_linear_quantize/all.html b/numcodecs_linear_quantize/all.html index da015ac9..dbd4f565 100644 --- a/numcodecs_linear_quantize/all.html +++ b/numcodecs_linear_quantize/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/numcodecs_linear_quantize/enum.LinearQuantizeBins.html b/numcodecs_linear_quantize/enum.LinearQuantizeBins.html index 5e82043a..ed17b366 100644 --- a/numcodecs_linear_quantize/enum.LinearQuantizeBins.html +++ b/numcodecs_linear_quantize/enum.LinearQuantizeBins.html @@ -1,4 +1,4 @@ -LinearQuantizeBins in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Enum LinearQuantizeBins

source
#[repr(u8)]
pub enum LinearQuantizeBins { +LinearQuantizeBins in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Enum LinearQuantizeBins

source
#[repr(u8)]
pub enum LinearQuantizeBins {
Show 64 variants _1B1 = 1, _1B2 = 2, _1B3 = 3, diff --git a/numcodecs_linear_quantize/enum.LinearQuantizeCodecError.html b/numcodecs_linear_quantize/enum.LinearQuantizeCodecError.html index 9ffd9138..919acdd1 100644 --- a/numcodecs_linear_quantize/enum.LinearQuantizeCodecError.html +++ b/numcodecs_linear_quantize/enum.LinearQuantizeCodecError.html @@ -1,4 +1,4 @@ -LinearQuantizeCodecError in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Enum LinearQuantizeCodecError

source
pub enum LinearQuantizeCodecError {
+LinearQuantizeCodecError in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Enum LinearQuantizeCodecError

source
pub enum LinearQuantizeCodecError {
     MismatchedEncodeDType {
         configured: LinearQuantizeDType,
         provided: AnyArrayDType,
@@ -62,7 +62,7 @@
     U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numcodecs_linear_quantize/enum.LinearQuantizeDType.html b/numcodecs_linear_quantize/enum.LinearQuantizeDType.html index 9c745158..435e261f 100644 --- a/numcodecs_linear_quantize/enum.LinearQuantizeDType.html +++ b/numcodecs_linear_quantize/enum.LinearQuantizeDType.html @@ -1,4 +1,4 @@ -LinearQuantizeDType in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Enum LinearQuantizeDType

source
pub enum LinearQuantizeDType {
+LinearQuantizeDType in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Enum LinearQuantizeDType

source
pub enum LinearQuantizeDType {
     F32,
     F64,
 }
Expand description

Data types which the LinearQuantizeCodec can quantize

@@ -16,8 +16,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/numcodecs_linear_quantize/fn.quantize.html b/numcodecs_linear_quantize/fn.quantize.html index 4a095c2f..5f1203f5 100644 --- a/numcodecs_linear_quantize/fn.quantize.html +++ b/numcodecs_linear_quantize/fn.quantize.html @@ -1,4 +1,4 @@ -quantize in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Function quantize

source
pub fn quantize<T: Float + ConstZero + ConstOne + Serialize, Q: Unsigned, S: Data<Elem = T>, D: Dimension>(
+quantize in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Function quantize

source
pub fn quantize<T: Float + ConstZero + ConstOne + Serialize, Q: Unsigned, S: Data<Elem = T>, D: Dimension>(
     data: &ArrayBase<S, D>,
     quantize: impl Fn(T) -> Q,
 ) -> Result<Vec<Q>, LinearQuantizeCodecError>
Expand description

Linear-quantize the elements in the data array using the quantize diff --git a/numcodecs_linear_quantize/fn.reconstruct.html b/numcodecs_linear_quantize/fn.reconstruct.html index 73536fe8..f9196517 100644 --- a/numcodecs_linear_quantize/fn.reconstruct.html +++ b/numcodecs_linear_quantize/fn.reconstruct.html @@ -1,4 +1,4 @@ -reconstruct in numcodecs_linear_quantize - Rust

numcodecs_linear_quantize

Function reconstruct

source
pub fn reconstruct<T: Float + DeserializeOwned, Q: Unsigned>(
+reconstruct in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Function reconstruct

source
pub fn reconstruct<T: Float + DeserializeOwned, Q: Unsigned>(
     encoded: &[Q],
     floatify: impl Fn(Q) -> T,
 ) -> Result<ArrayD<T>, LinearQuantizeCodecError>
Expand description

Reconstruct the linear-quantized encoded array using the floatify diff --git a/numcodecs_linear_quantize/fn.reconstruct_into.html b/numcodecs_linear_quantize/fn.reconstruct_into.html index 62621c64..10393f49 100644 --- a/numcodecs_linear_quantize/fn.reconstruct_into.html +++ b/numcodecs_linear_quantize/fn.reconstruct_into.html @@ -1,4 +1,4 @@ -reconstruct_into in numcodecs_linear_quantize - Rust

numcodecs_linear_quantize

Function reconstruct_into

source
pub fn reconstruct_into<T: Float + DeserializeOwned, Q: Unsigned>(
+reconstruct_into in numcodecs_linear_quantize - Rust
numcodecs_linear_quantize

Function reconstruct_into

source
pub fn reconstruct_into<T: Float + DeserializeOwned, Q: Unsigned>(
     encoded: &[Q],
     decoded: ArrayViewMutD<'_, T>,
     floatify: impl Fn(Q) -> T,
diff --git a/numcodecs_linear_quantize/index.html b/numcodecs_linear_quantize/index.html
index 3d9e8546..92c2068c 100644
--- a/numcodecs_linear_quantize/index.html
+++ b/numcodecs_linear_quantize/index.html
@@ -1,4 +1,4 @@
-numcodecs_linear_quantize - Rust

Crate numcodecs_linear_quantize

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

+numcodecs_linear_quantize - Rust

Crate numcodecs_linear_quantize

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Linear Quantization codec implementation for the numcodecs API.

Structs§

Enums§

Traits§

Functions§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl Unsigned for u8

source§

const ZERO: Self = 0u8

source§

impl Unsigned for u16

source§

const ZERO: Self = 0u16

source§

impl Unsigned for u32

source§

const ZERO: Self = 0u32

source§

impl Unsigned for u64

source§

const ZERO: Self = 0u64

Implementors§

\ No newline at end of file diff --git a/numcodecs_log/all.html b/numcodecs_log/all.html index d6672eca..7cbcbb84 100644 --- a/numcodecs_log/all.html +++ b/numcodecs_log/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Functions

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Functions

\ No newline at end of file diff --git a/numcodecs_log/enum.LogCodecError.html b/numcodecs_log/enum.LogCodecError.html index 2f238216..24541985 100644 --- a/numcodecs_log/enum.LogCodecError.html +++ b/numcodecs_log/enum.LogCodecError.html @@ -1,4 +1,4 @@ -LogCodecError in numcodecs_log - Rust
numcodecs_log

Enum LogCodecError

source
pub enum LogCodecError {
+LogCodecError in numcodecs_log - Rust
numcodecs_log

Enum LogCodecError

source
pub enum LogCodecError {
     UnsupportedDtype(AnyArrayDType),
     NonPositiveData,
     NonFiniteData,
@@ -21,7 +21,7 @@
     U: From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file diff --git a/numcodecs_log/fn.exp.html b/numcodecs_log/fn.exp.html index 9475002f..cc93d625 100644 --- a/numcodecs_log/fn.exp.html +++ b/numcodecs_log/fn.exp.html @@ -1,4 +1,4 @@ -exp in numcodecs_log - Rust
numcodecs_log

Function exp

source
pub fn exp<T: Float, S: Data<Elem = T>, D: Dimension>(
+exp in numcodecs_log - Rust
numcodecs_log

Function exp

source
pub fn exp<T: Float, S: Data<Elem = T>, D: Dimension>(
     data: ArrayBase<S, D>,
 ) -> Result<Array<T, D>, LogCodecError>
Expand description

Compute exp(x) over the elements of the input data array.

§Errors

diff --git a/numcodecs_log/fn.exp_into.html b/numcodecs_log/fn.exp_into.html index c325bae0..774e621f 100644 --- a/numcodecs_log/fn.exp_into.html +++ b/numcodecs_log/fn.exp_into.html @@ -1,4 +1,4 @@ -exp_into in numcodecs_log - Rust
numcodecs_log

Function exp_into

source
pub fn exp_into<T: Float, D: Dimension>(
+exp_into in numcodecs_log - Rust
numcodecs_log

Function exp_into

source
pub fn exp_into<T: Float, D: Dimension>(
     data: ArrayView<'_, T, D>,
     out: ArrayViewMut<'_, T, D>,
 ) -> Result<(), LogCodecError>
Expand description

Compute exp(x) over the elements of the input data array and write them diff --git a/numcodecs_log/fn.ln.html b/numcodecs_log/fn.ln.html index 23bab231..7dbbe507 100644 --- a/numcodecs_log/fn.ln.html +++ b/numcodecs_log/fn.ln.html @@ -1,4 +1,4 @@ -ln in numcodecs_log - Rust

numcodecs_log

Function ln

source
pub fn ln<T: Float + Signed, S: Data<Elem = T>, D: Dimension>(
+ln in numcodecs_log - Rust
numcodecs_log

Function ln

source
pub fn ln<T: Float + Signed, S: Data<Elem = T>, D: Dimension>(
     data: ArrayBase<S, D>,
 ) -> Result<Array<T, D>, LogCodecError>
Expand description

Compute ln(x) over the elements of the input data array.

§Errors

diff --git a/numcodecs_log/index.html b/numcodecs_log/index.html index f03c3d97..6b0f8efe 100644 --- a/numcodecs_log/index.html +++ b/numcodecs_log/index.html @@ -1,4 +1,4 @@ -numcodecs_log - Rust

Crate numcodecs_log

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

+numcodecs_log - Rust

Crate numcodecs_log

source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

ln(x) codec implementation for the numcodecs API.

Structs§

  • Log codec which calculates c = ln(x) on encoding and d = exp(c) on decoding.

Enums§

Functions§