Element-wise operations: Difference between revisions

Content deleted Content added
Thundergnat (talk | contribs)
m syntax highlighting fixup automation
Blanvill (talk | contribs)
→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)"
Line 3,724: Line 3,724:
alias .** elementwiseMatSca {{a b} {expr {$a**$b}}}</syntaxhighlight>
alias .** elementwiseMatSca {{a b} {expr {$a**$b}}}</syntaxhighlight>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
{{trans|Go}}
{{trans|Go}}
<syntaxhighlight lang="vlang">import math
<syntaxhighlight lang="v (vlang)">import math


struct Matrix {
struct Matrix {