Kronecker product based fractals: Difference between revisions
m
→{{header|Factor}}: update for new matrix vocabulary
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
m (→{{header|Factor}}: update for new matrix vocabulary) |
||
Line 296:
=={{header|Factor}}==
{{works with|Factor|0.99 2020-01-23}}
<lang factor>USING: io kernel math math.matrices.extras sequences ;
: mat-kron-pow ( m n -- m' )
1 - [ dup kronecker-product ] times ;
: print-fractal ( m -- )
|