Kronecker product based fractals: Difference between revisions

imported>Maxima enthusiast
imported>Maxima enthusiast
Line 2,793:
=={{header|Maxima}}==
Using function defined in Kronecker product task page
 
[[File:Vicsek.png|thumb]]
 
[[File:SierpinskiCarpet.png|thumb]]
<syntaxhighlight lang="maxima">
pow_kron(matr,n):=block(MATR:copymatrix(matr),
Line 2,808 ⟶ 2,812:
at(%,[0="",1="x"]);
</syntaxhighlight>
[[File:Vicsek.png|thumb]]
 
[[File:SierpinskiCarpet.png|thumb]]
 
=={{header|Nim}}==