Structured multi-way arrays and their applications