summaryrefslogtreecommitdiff
path: root/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci')
-rw-r--r--tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci b/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci
new file mode 100644
index 0000000..3ef0d28
--- /dev/null
+++ b/tests/unit_tests/testLinearAlgebra/testgivens/testgivens.sci
@@ -0,0 +1,7 @@
+function testgivens()
+ a = [1]
+ b = [2]
+ [u,c] = givens(a,b)
+ disp(u)
+ disp(c)
+endfunction