diff options
author | pmarecha | 2008-06-05 08:49:05 +0000 |
---|---|---|
committer | pmarecha | 2008-06-05 08:49:05 +0000 |
commit | 42659d6cdbe63972aea27baf0289db8fcc1310fa (patch) | |
tree | 05cc1eb42b985cf657be112ae5a2e842a13c2126 /src/Scilab2C/SCI2CTests/test999_WorkingDir/scilabcode | |
parent | c4ca26eb9d2bbe224e41fc40658279cb865c48fc (diff) | |
download | scilab2c-42659d6cdbe63972aea27baf0289db8fcc1310fa.tar.gz scilab2c-42659d6cdbe63972aea27baf0289db8fcc1310fa.tar.bz2 scilab2c-42659d6cdbe63972aea27baf0289db8fcc1310fa.zip |
SVN is not FTP !
Diffstat (limited to 'src/Scilab2C/SCI2CTests/test999_WorkingDir/scilabcode')
-rw-r--r-- | src/Scilab2C/SCI2CTests/test999_WorkingDir/scilabcode/mainfunction.sci | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/Scilab2C/SCI2CTests/test999_WorkingDir/scilabcode/mainfunction.sci b/src/Scilab2C/SCI2CTests/test999_WorkingDir/scilabcode/mainfunction.sci deleted file mode 100644 index e39f7648..00000000 --- a/src/Scilab2C/SCI2CTests/test999_WorkingDir/scilabcode/mainfunction.sci +++ /dev/null @@ -1,30 +0,0 @@ -//SCI2C: DEFAULT_PRECISION= DOUBLE
- -function mainfunction()
- -// ------------------------------ -// --- Simple Scalar Addition --- -// ------------------------------ -a = 1; -b = 2; -c = 0; -c = a + b; -disp(c); - -// ------------------------------ -// --- Trigonometric Identity --- -// ------------------------------ -x = (1:3)' * (4:9); -y = (sin(x).^2) + (cos(x).^2); -disp(x); -disp(y-ones(3,6)); - -// ------------------------------- -// --- Computation of Distance --- -// ------------------------------- -// generate a vector w -w = cos(sin(cos(x*3)*2).* x+ones(3,6).*cos(x-sin(y*2))); -distxw = sqrt(x.^2 + w.^2); -disp(distxw); -endfunction -
\ No newline at end of file |