pub fn index_domains<T: MatrixValue>(matrix: &AbstractLiteral<T>) -> Vec<T::Dom>Expand description
Gets the index domains for a matrix literal.
ยงPanics
-
If
matrixis not a matrix. -
If the number or type of elements in each dimension is inconsistent.