From 138f77fe71e43adc24ecb030d73df81cc5c4eb7e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 4 Sep 2017 09:45:51 +0900 Subject: add ketpic --- .../ketpic/ketlib/ketpic2escifiles6/Partframe.sci | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Partframe.sci (limited to 'texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Partframe.sci') diff --git a/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Partframe.sci b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Partframe.sci new file mode 100644 index 00000000..a8581b1b --- /dev/null +++ b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/Partframe.sci @@ -0,0 +1,27 @@ +// 13.05.03 + +function Out=Partframe(Tb,St,Ed) + G=Dividetable(Tb); + Gw=G(1); + Gt=G(2); + Gy=G(3); + Gwt=Tb(4); + Gwy=Tb(5); + Gat=lstcat(list(Gwt(1)),Gt,list(Gwt(2))); + Gay=lstcat(list(Gwy(1)),Gy,list(Gwy(2))); + Tmp1=Ptstart(Gat(St(1))); + Tmp2=Ptstart(Gay(St(2))); + Ps=[Tmp1(1),Tmp2(2)]; + Tmp1=Ptstart(Gat(Ed(1))); + Tmp2=Ptstart(Gay(Ed(2))); + Pe=[Tmp1(1),Tmp2(2)]; + Pars=Paramoncrv(Ps,Gw); + Pare=Paramoncrv(Pe,Gw); + if Pars