public List<mat> this[params mat[] a] { set { int i = 0; foreach (var m in value) { a[i++].matrix = m.matrix; } } } }