summaryrefslogtreecommitdiff
path: root/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Powersum.sci
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2017-10-14 11:43:11 +0900
committerNorbert Preining <norbert@preining.info>2017-10-14 11:43:11 +0900
commitdc71274f16f7ff65145e034900f582b62453a033 (patch)
treea71452364cbe1a03feb6a84cdfd09eedae861590 /texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Powersum.sci
parentaecda53b09be64698e9e5dcbf40f0fe289b37e2e (diff)
rename and update ketpic -> ketcindy
Diffstat (limited to 'texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Powersum.sci')
-rwxr-xr-xtexmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Powersum.sci17
1 files changed, 0 insertions, 17 deletions
diff --git a/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Powersum.sci b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Powersum.sci
deleted file mode 100755
index b23dfdc8..00000000
--- a/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Powersum.sci
+++ /dev/null
@@ -1,17 +0,0 @@
-// 09.03.12
-
-function Out=Powersum(varargin)
- Nargs=length(varargin);
- COEFF=varargin(1);
- x=varargin(2);
- if Nargs>2
- x=x-varargin(3);
- end;
- NL=Mixop(1,COEFF);
- A=Mixop(2,COEFF);
- Upto=min(size(NL,2),size(A,2));
- NL=NL(1:Upto);
- A=A(1:Upto);
- Out=sum(A.*x^NL);
-endfunction;
-