public static <M extends MatrixSchema<M>> Pipe<RowSchema<M>> buildProductGraphRR(GraphManager gm,
int targetThreadCount, Pipe<RowSchema<M>> left, Pipe<RowSchema<M>> right) {
Pipe<ColumnSchema<M>>[] colResults = buildProductGraphRC(gm,
left, right,
targetThreadCount);
MatrixSchema resultSchema2 = colResults[0].config().schema().rootSchema();
PipeConfig<RowSchema<M>> config = new PipeConfig<RowSchema<M>>(new RowSchema<M>(resultSchema2), resultSchema2.getRows());
config.hideLabels();
Pipe<RowSchema<M>> rowResults = new Pipe<RowSchema<M>>(config);
ColumnsToRowsStage<M> ctr = new ColumnsToRowsStage( gm,
colResults,
rowResults);
return rowResults;
}