Sha256: 6898f9be1e1de292ac8846979d98cdcb73e3139b12edb1f05dc881875647dbd4

Contents?: true

Size: 237 Bytes

Versions: 130

Compression:

Stored size: 237 Bytes

Contents

#!/usr/bin/env apl --script

∇z←square_of_sum integer
  z←(+/⍳integer)*2
∇

∇z←sum_of_squares integer
  z←+/(⍳integer)*2
∇

∇z←difference_of_squares integer
  z←(square_of_sum integer)-sum_of_squares integer
∇

Version data entries

130 entries across 130 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.179 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.178 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.177 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.176 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.175 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.174 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.173 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.172 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.171 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.170 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.169 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.167 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.166 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.165 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.164 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.163 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.162 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.161 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl
trackler-2.2.1.160 tracks/gnu-apl/exercises/difference-of-squares/difference-of-squares-example.apl