summaryrefslogtreecommitdiff
path: root/demos/Brijesh_Demos/test_lu.sci
diff options
context:
space:
mode:
Diffstat (limited to 'demos/Brijesh_Demos/test_lu.sci')
-rw-r--r--demos/Brijesh_Demos/test_lu.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/demos/Brijesh_Demos/test_lu.sci b/demos/Brijesh_Demos/test_lu.sci
new file mode 100644
index 0000000..aa7c201
--- /dev/null
+++ b/demos/Brijesh_Demos/test_lu.sci
@@ -0,0 +1,11 @@
+function test_lu
+ disp('Datatype: Double');
+ i1 = [1 2 ;3 4 ;5 6;3 4 ;5 6; 7 8];
+ [o1, o2] = lu(i1);
+ disp(o1);
+ disp(o2);
+ //disp('Datatype: float');
+ //i2 = float([1 2 3; 4 5 6]);
+ //o2 = gamma(i2);
+ //disp(o2);
+endfunction