Function index_domains

Source
pub fn index_domains(matrix: AbstractLiteral<Literal>) -> Vec<Domain>
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.