Skip to main content

index_domains

Function index_domains 

Source
pub fn index_domains<T>(
    matrix: &AbstractLiteral<T>,
) -> Vec<<T as AbstractLiteralValue>::Dom>
where T: MatrixValue,
Expand description

Gets the index domains for a matrix literal.

ยงPanics

  • If matrix is not a matrix.

  • If the number or type of elements in each dimension is inconsistent.