Module container_broadcast::broadcast[][src]

Structs

BCloned

Return type of bcloned.

BMap

Return type of bmap.

Broadcast2

Return type of broadcast2.

BroadcastClosure

Return type of broadcast_closure.

BroadcastIterMut

Return type of bc_iter_mut.

BroadcastIterator

Return type of bc_iter.

BroadcastK

Return type of broadcastK.

LazyUpdim

Return type of lazy_updim.

MapIndex

Return type of mapindex.

OffsetBroadcast

Return type of offset_mod.

ReShaped

Return type of reshaped.

Traits

BroadcastReceiver

Trait that emulates write access to reshaped arrays.

Broadcastable

The main trait of this crate. Somehat like iterator, is effectively a lazy multidimensional array-like object instead of a lazy sequence. You can map over functions, zip them, take cartesian products, etc etc in a way that does not erase structure, and produces another object with random access indexing unlike iterators.

TensorDimension

Implement by specifying the const DIM to give your implementation a dimension.

TensorSize

Expresses tensor-like objects with a size. Due to current compiler constraints, takes the dimension as an argument in addition to it being an associated type, to avoid internal compiler errors in use.

Functions

broadcast_closure

Creates a lazy Broadcastable from an arbitrary function or closure.

broadcast_k

Jointly broadcasts an arbitrary number of Broadcastables of the same type together.