Handbook
Glossary
inner-loop ( u n quot -- seq )
Vocabulary
benchmark
.
spectral-norm
Inputs
u
an
object
n
an
object
quot
an
object
Outputs
seq
an
object
Definition
USING:
kernel
math
sequences
specialized-arrays.instances.alien.c-types.double
;
IN:
benchmark.spectral-norm
::
inner-loop
( u n quot -- seq )
n
<iota>
[|
i | n
<iota>
0.0
[|
j | u i j quot
call
+
]
reduce
]
double-array{
}
map-as
;
inline