Handbook
Glossary
e^m4 ( m: matrix4 iterations: fixnum -- e^m: matrix4 )
Vocabulary
benchmark
.
matrix-exponential-simd
Inputs
m
a
matrix4
iterations
a
fixnum
Outputs
e^m
a
matrix4
Definition
USING:
math
math.combinatorics
math.matrices.simd
sequences
typed
;
IN:
benchmark.matrix-exponential-simd
TYPED::
e^m4
( m: matrix4 iterations: fixnum -- e^m: matrix4 )
zero-matrix4
iterations
<iota>
[|
i | m i
m4^n
i
factorial
>float
m4/n
m4+
]
each
;