pi method

void pi(
  1. Register64List A
)
inherited

Implementation

void pi(Register64List A) {
  final tempA = Register64List(25);

  tempA.setRange(0, tempA.length, A);

  for (var x = 0; x < 5; x++) {
    for (var y = 0; y < 5; y++) {
      A[y + 5 * ((2 * x + 3 * y) % 5)].set(tempA[x + 5 * y]);
    }
  }
}