pub trait CompiledBlockMap {
// Required methods
fn raw_from_compiled(&self) -> &Array2<f64>;
fn raw_block_ranges(&self) -> &[Range<usize>];
fn compiled_block_ranges(&self) -> &[Range<usize>];
}Expand description
Neutral view of a compiled identifiability reparametrisation that
Gauge::from_compiled_map consumes. The concrete CompiledMap
emitted by the identifiability compiler lives ABOVE this crate, so
Gauge names only this trait (inverted dependency #1521); the
compiler crate provides the impl.
raw_from_compiled IS the global triangular lift T; the two block
range slices give the raw-width and compiled-width column partitions.
Required Methods§
Sourcefn raw_from_compiled(&self) -> &Array2<f64>
fn raw_from_compiled(&self) -> &Array2<f64>
The (p_raw × p_compiled) raw-from-compiled reparam matrix T.
Sourcefn raw_block_ranges(&self) -> &[Range<usize>]
fn raw_block_ranges(&self) -> &[Range<usize>]
Per-block raw-width column ranges.
Sourcefn compiled_block_ranges(&self) -> &[Range<usize>]
fn compiled_block_ranges(&self) -> &[Range<usize>]
Per-block compiled-width column ranges, parallel to
Self::raw_block_ranges.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".