Jellyfish, 1212 10 bytes
Thanks to Zgarb for saving 2 bytes.
P#;#'*P$'*
E 10&;10
Explanation
Using more conventional notation, this program represents the following expression:
P( #$(10, ;(#&;(10), '*)) ) )
#&;
is repetition, so the innermost call justtakes a single value and creates a string of 10 asterisks.pair with two times that value, so ;&;(10)
wraps the result in a singleton arraygives us [10 10]
. Then we have another repetition to create 10 copies$
is reshape which forms a 10x10 grid of the stringasterisks. Finally, P
prints the array in "matrix format" which prints each string on its own line.