Files
pplus-library/mojo/corpus/quest/starters/MQ_214.mojo
T
2026-10-06 09:57:04 -04:00

11 lines
289 B
Mojo
Generated

def combine_counts(
a: SIMD[DType.int32, 4], b: SIMD[DType.int32, 4]
) -> SIMD[DType.int32, 4]:
return a
def main():
var imu_a = SIMD[DType.int32, 4](1, 2, 3, 4)
var imu_b = SIMD[DType.int32, 4](10, 20, 30, 40)
print("Combined counts:", combine_counts(imu_a, imu_b))