static public FloatParallelArray Append(FloatParallelArray f1, FloatParallelArray f2, int Dimension) { FloatParallelArray a = ParallelArrays.Replicate(f1, f2.Shape[0] + f1.Shape[0]); a = ParallelArrays.ShiftDefault(a, 0.0f, new int[] { -f2.Shape[0] }); a = ParallelArrays.ShiftDefault(a, 0.0f, new int[] { f2.Shape[0] }); FloatParallelArray b = ParallelArrays.Replicate(f2, f2.Shape[0] + f1.Shape[0]); b = ParallelArrays.ShiftDefault(b, 0.0f, new int[] { f1.Shape[0] }); b = ParallelArrays.ShiftDefault(b, 0.0f, new int[] { -f1.Shape[0] }); return(a + b); }