Handbook
Glossary
gml-determinant ( registers gml -- registers gml )
Vocabulary
gml
.
coremath
Inputs
registers
an
object
gml
an
object
Outputs
registers
an
object
gml
an
object
Definition
USING:
combinators
gml.runtime
gml.types
kernel
kernel.private
;
IN:
gml.coremath
:
gml-determinant
( registers gml -- registers gml )
{
gml
}
declare
1 1
[
{
{
[
dup
vec2d?
]
[
[
dup
pop-operand
]
dip
det2
]
}
{
[
dup
vec3d?
]
[
[
dup
~quotation~ ~quotation~
bi
swap
]
dip
det3
]
}
}
cond
]
gml-primitive
;