RosettaCodeData/Task/Vector/PowerShell/vector.ps1

9 lines
145 B
PowerShell
Raw Permalink Normal View History

2026-04-30 12:34:36 -04:00
$V1 = New-Object System.Windows.Vector ( 2.5, 3.4 )
$V2 = New-Object System.Windows.Vector ( -6, 2 )
$V1
$V2
$V1 + $V2
$V1 - $V2
$V1 * 3
$V1 / 8