if (yElements == null || zElements == null) {
throw new IllegalStateException();
}
this.elements.forEachPair(
new IntDoubleProcedure() {
@Override
public boolean apply(int key, double value) {
int i = key / columns;
int j = key % columns;
if (transposeA) {