microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
alex/pythontelem

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

katas/content/linear_algebra/inverse/Verification.qs

11lines · modecode

1namespace Kata.Verification {
2 function Inverse_Reference() : Double[][] {
3 return [[-2., 1.],
4 [1.5, -0.5]];
5 }
6
7 @EntryPoint()
8 operation CheckSolution() : Bool {
9 ArraysEqualD(Kata.Inverse(), Inverse_Reference())
10 }
11}
12