diff options
Diffstat (limited to '2.3-1/tests')
-rw-r--r-- | 2.3-1/tests/unit_tests/testLinearAlgebra/testnorm/testnorm.sci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testLinearAlgebra/testnorm/testnorm.sci b/2.3-1/tests/unit_tests/testLinearAlgebra/testnorm/testnorm.sci new file mode 100644 index 00000000..727a895f --- /dev/null +++ b/2.3-1/tests/unit_tests/testLinearAlgebra/testnorm/testnorm.sci @@ -0,0 +1,6 @@ +//* Function to find, norm(a,2) +function testnorm() + a = [1,2,3;4,5,6;7,8,9] // Matrix + d = norm(a,2); // Calling NORM function. + disp(d) // display output +endfunction |