Crate consprob_trained

source ·

Modules

Inspection and manipulation of the process’s environment.

Macros

Derive macro generating an impl of the trait Hash.
Derive macro generating an impl of the trait Ord.
Create an Array with one, two or three dimensions.
Array zip macro: lock step function application across several arrays and producers.
Inspects an environment variable at compile time.
Slice argument constructor.

Structs

An n-dimensional array.
An axis index.
The BufReader<R> struct adds buffering to any reader.
Wraps a writer and buffers its output.
Dimension description.
Entries returned by the ReadDir iterator.
An object providing access to an open file on the filesystem.
A hash map implemented with quadratic probing and SIMD lookup.
A hash set implemented as a HashMap where the value is ().
A FASTA index as created by SAMtools (.fai).
A FASTA reader with an index as created by SAMtools (.fai).
An Interval wraps the std::ops::Range from the stdlib and is defined by a start and end field where end should be >= start.
The normal distribution N(mean, std_dev**2).
A description of the options that a program can handle.
A slice of a path (akin to str).
A threadpool that acts as a handle to a number of threads spawned at construction.
A FASTA reader.
A FASTA record.
An iterator over the records of a Fasta file.
A sequence record returned by the FASTA index.
A Fasta writer.

Enums

Constants

INFINITYDeprecation planned
Infinity (∞). Use f32::INFINITY instead.
NEG_INFINITYDeprecation planned
Negative infinity (−∞). Use f32::NEG_INFINITY instead.

Traits

Argument conversion into an array view
Numbers which have upper and lower bounds
A BufRead is a type of Reader which has an internal buffer, allowing it to perform extra ways of reading.
Array shape and index trait.
Format trait for an empty format, {}.
Types (distributions) that can be used to create a random instance of T.
A generic trait for converting a number to a value.
A hashable type.
Type alias for a type that can be coerced into a TextIterator. This includes &Vec<u8>, &[u8], Iterator<Item=&u8>.
Floating-point element types f32 and f64.
Defines a multiplicative identity element for Self.
Trait for types that form a total order.
Generic trait for primitive integers.
Constructors for n-dimensional arrays with random elements.
The Read trait allows for reading bytes from a source.
The Seek trait provides a cursor which can be moved within a stream of bytes.
Types that can be transferred across thread boundaries.
A trait for Shape and D where D: Dimension that allows customizing the memory layout (strides) of an array shape.
Types for which it is safe to share references between threads.
Type alias for an iterator over a sequence, i.e. Iterator<Item=&u8>.
A generic trait for converting a value to a number.
A trait for values which cannot be negative
A trait for objects which are byte-oriented sinks.
Defines an additive identity element for Self.

Functions

Create a new dimension value.
Create a zero-dimensional index
Create a one-dimensional index
Create a two-dimensional index
Create a three-dimensional index
Create a four-dimensional index
Create a five-dimensional index
Create a six-dimensional index
Create a dynamic-dimensional index
Create a zero-dimensional array with the element x.
Create a one-dimensional array with elements from xs.
Create a two-dimensional array with elements from xs.
Create a zero-dimensional array view borrowing x.
Create a one-dimensional array view with elements borrowing xs.
Create a two-dimensional array view with elements borrowing xs.
Create a one-dimensional read-write array view with elements borrowing xs.
Returns a value of x that should minimize f. f must be convex and twice-differentiable.
Creates a new, empty directory at the provided path
Converts a slice of bytes to a string slice without checking that the string contains valid UTF-8.
Compares and returns the maximum of two values.
Compares and returns the minimum of two values.
An iterator that generalizes .zip() and allows running multiple iterators in lockstep.
Returns an iterator over the given range [start, stop) (that is, starting at start (inclusive), and ending at stop (exclusive)).
Return an iterator over the range [start, stop]
Returns an iterator over the entries within a directory.
In place implementation of scan over a slice.
Constructs a new handle to the standard output of the current process.
Retrieve the lazily-initialized thread-local random number generator, seeded by the system. Intended to be used in method chaining style, e.g. thread_rng().gen::<i32>(), or cached locally, e.g. let mut rng = thread_rng();. Invoked by the Default trait, making ThreadRng::default() equivalent.
Remove a trailing newline from the given string in place.

Type Definitions

An array where the data has shared ownership and is copy on write.
An array that owns its data uniquely.
zero-dimensional array
one-dimensional array
two-dimensional array
three-dimensional array
four-dimensional array
five-dimensional array
six-dimensional array
dynamic-dimensional array
A read-only array view.
zero-dimensional array view
one-dimensional array view
two-dimensional array view
three-dimensional array view
four-dimensional array view
five-dimensional array view
six-dimensional array view
dynamic-dimensional array view
A read-write array view.
zero-dimensional read-write array view
one-dimensional read-write array view
two-dimensional read-write array view
three-dimensional read-write array view
four-dimensional read-write array view
five-dimensional read-write array view
six-dimensional read-write array view
dynamic-dimensional read-write array view
An array with copy-on-write behavior.
zero-dimensionial
one-dimensional
two-dimensional
three-dimensional
four-dimensional
five-dimensional
six-dimensional
dynamic-dimensional
A read-only array view without a lifetime.
A mutable array view without a lifetime.
Type alias for an owned text, i.e. Vec<u8>.
Type alias for a text slice, i.e. &[u8].