diff options
author | jofret | 2010-09-02 07:40:12 +0000 |
---|---|---|
committer | jofret | 2010-09-02 07:40:12 +0000 |
commit | 4b768b7206e985627228350ce233ba096aad6eb6 (patch) | |
tree | 853b772f350e5b414127fc0dd6c86c45d97977ee | |
parent | f231c480ebab9564c17e2b50c8f80619646f465f (diff) | |
download | scilab2c-4b768b7206e985627228350ce233ba096aad6eb6.tar.gz scilab2c-4b768b7206e985627228350ce233ba096aad6eb6.tar.bz2 scilab2c-4b768b7206e985627228350ce233ba096aad6eb6.zip |
Clean Moebius test
-rw-r--r-- | tests/unit_tests/test305_Moebius/Moebius.sci | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit_tests/test305_Moebius/Moebius.sci b/tests/unit_tests/test305_Moebius/Moebius.sci index 4e79667b..cb598c0a 100644 --- a/tests/unit_tests/test305_Moebius/Moebius.sci +++ b/tests/unit_tests/test305_Moebius/Moebius.sci @@ -1,8 +1,8 @@ //SCI2C: DEFAULT_PRECISION= DOUBLE
-function mainfunction()
+function Moebius()
-//the program construct moebius
+//the program construct moebius
// and klein bottle surface from
//http://www.metlin.org/mathematics/
// topological-constructs/non-orientable-surfaces/
@@ -43,7 +43,7 @@ num_points = 50; //u = linspace (0, 2*(%pi), num_points);
//v = linspace (0, 2*(%pi), num_points);
-step_u = (2*%pi)./num_points
+step_u = (2*%pi)./num_points
u = 0:step_u:2*%pi;
v = u;
@@ -61,6 +61,6 @@ disp('z1(1:10)') disp(z1(1:10))
// ENABLE/DISABLE PLOT
// scf(1) ;surf(x1, y1, z1)
-
+
endfunction
|