JAPLA /12/07 gl2 1 1 J Java C C++ J APL J J J J J J 5.01a for Windows 2 gl2 J gl2 isigraph isigraph isigraph gl2 gl2 J Help Mapping Mode gl2

Size: px
Start display at page:

Download "JAPLA /12/07 gl2 1 1 J Java C C++ J APL J J J J J J 5.01a for Windows 2 gl2 J gl2 isigraph isigraph isigraph gl2 gl2 J Help Mapping Mode gl2"

Transcription

1 gl2 1 1 J Java C C++ J APL J J J J J J 5.01a for Windows 2 gl2 J gl2 isigraph isigraph isigraph gl2 gl2 J Help Mapping Mode gl2 isigraph Event isigraph 2.1 Mapping Mode Mapping Mode J 5.01a for Windows 4 4 1

2 5 Mapping Mode 4 MM DEFAULT MM RIGHTDOWN MM RAW MM TWIPS , , 0 0, twip (win32 Mapping Mode gl2 glmap MM DEFAULT Mapping Mode (0, 0 (1000, 1000 x y glclear MM RIGHTDOWN MM RAW MM TWIPS y MM_DEFAULT x y MM_RIGHTDOWN x y MM_RIGHTDOWN twip twip 1/20pt 1pt 1/72 1twip 1/ isigraph Event isigraph Event isigraph mmove mbldbl mbldown mblup mbrdbl mbrdown mbrup 7 aaa bbb isigraph aaa_bbb_mbldown=: 3 :

3

4 vs mouse game tesuu KomaSente,KomaGote MochiSente,MochiGote Banmen moji w,h x1,y1,x2,y2 ko 1 1 isibanmen 1, HasamiShogi run Shokika IdoHantei IdoShori 1 0 KieruHantei Banmen KieruShori ShobuHantei DrawBanmen computer TorareruHantei Tonari Banmen Banmen isibanmen com computer computer 4

5 5 NB. 6*6 Hasami Shogi NB. Programed by Masanori Shioya NB. Last modified 2002/12/05 path=: e:\hasamishogi\ bmppath=: default\ coinsert jgl2 load gl2 NB. Files Fullpath NB. Bmp Directory NB. Load gl2 Command HASAMISHOGI=: 0 : 0 NB. Settings of Window pc HasamiShogi; xywh ;cc isisente isipicture ws_border; xywh ;cc isigote isipicture ws_border; xywh ;cc isibanmen isigraph ws_border; xywh ;cc mc radiobutton;cn "man vs com"; xywh ;cc cm radiobutton group;cn "com vs man"; xywh ;cc mm radiobutton group;cn "man vs man"; xywh ;cc btnstart button;cn "Start"; xywh ;cc btnreset button;cn "Reset"; xywh ;cc btnend button;cn "E N D"; xywh ;cc te editm ws_vscroll es_readonly; setfont te "Courier New" 11; xywh ;cc yoko1 static ss_center;cn "A"; xywh ;cc yoko2 static ss_center;cn "B"; xywh ;cc yoko3 static ss_center;cn "C"; xywh ;cc yoko4 static ss_center;cn "D"; xywh ;cc yoko5 static ss_center;cn "E"; xywh ;cc yoko6 static ss_center;cn "F"; xywh ;cc tate1 static ss_center;cn "1"; xywh ;cc tate2 static ss_center;cn "2"; xywh ;cc tate3 static ss_center;cn "3"; xywh ;cc tate4 static ss_center;cn "4"; xywh ;cc tate5 static ss_center;cn "5"; xywh ;cc tate6 static ss_center;cn "6"; xywh ;cc lblsente static;cn "Sente="; xywh ;cc lblgote static;cn "Gote ="; xywh ;cc lbltesuu static;cn "Tesuu="; xywh ;cc msg static;cn ""; pas 10 10;pcenter; HasamiShogi_run=: 3 : 0 wd HASAMISHOGI vs=:1 glclear glmap MM_RAW Shokika wd pshow;ptop 1 NB. Run Verb Shokika=: 3 : 0 NB. Initialize Verb mouse=: game=: tesuu=: 0 KomaSente =:KomaGote =: 6 MochiSente=:MochiGote=: 0 Banmen=:(-b,(4 6$0,b=.6#1 moji=: wd set lblsente ", Sente=,(":KomaSente, " wd set lblgote ", Gote =,(":KomaGote, " wd set te ",moji, " glsel isibanmen glmap MM_RAW w h =:glqwh DrawBanmen Banmen HasamiShogi_btnStart_button=: 3 : 0 if. game=1 do. return. HasamiShogi_btnReset_button game=:1 wd set msg "sente ban" if. _1=vs do. computer NB. Start Button HasamiShogi_btnReset_button=: 3 : 0 NB. Reset Button Shokika wd set lbltesuu ", Tesuu=,(":tesuu, " wd set msg "" HasamiShogi_btnEnd_button=: HasamiShogi_close NB. Shuryo Shori 5

6 HasamiShogi_close=: 3 : 0 glclear wd pclose HasamiShogi_mc_button=: 3 : 0 NB. Radio Button Shori if. game=1 do. radio else. vs=:1 HasamiShogi_cm_button=: 3 : 0 if. game=1 do. radio else. vs=:_1 HasamiShogi_mm_button=: 3 : 0 if. game=1 do. radio else. vs=:0 radio=: 3 : 0 select. vs case. 1 do. wd set mc 1 case. _1 do. wd set cm 1 case. 0 do. wd set mm 1 IdoHantei=: 4 : 0 NB.Ido Hantei t=.0 if. 0=game do. t=.0 tx1 ty1 tx2 ty2 k =.y. ban=..x. if. (tx1~:tx2*.(ty1=ty2 do. if. 1>+/k=tempx=.(>:tx1<.tx2}.(tx1>.tx2{.ty1{ban do. if. 2>+/(-k=tempx do. t=.1 elseif. (tx1=tx2*.(ty1~:ty2 do. if. 1>+/k=tempy=.(>:ty1<.ty2}.(ty1>.ty2{.tx1{ :ban do. if. 2>+/(-k=tempy do. t=.1 t IdoShori=: 3 : 0 NB. Ido Shori x1 y1 x2 y2 =:y. if. -.*/(x1,y1=(x2,y2 do. Banmen=:.0 (<y1,x1}.banmen Banmen=:.ko (<y2,x2}.banmen tesuu=:>:tesuu moji=:({.x1}. ABCDEF,(":>:y1, -->,({.x2}. ABCDEF,(":>:y2,CRLF,moji wd set lbltesuu ", Tesuu=,(":tesuu, " wd set te ",moji, " KieruHantei=: 4 : 0 NB. Kieru Hantei ban=..x. tx2 ty2 k =.y. m=. tempx=.tx2 if. 0<tempx=.<:tempx do. NB. Check left while. (-k=tempx{ty2{ban do. if. 1>tempx do. break. tempx=.<:tempx if. k=tempx{ty2{ban do. m=.m,<"1 ty2,"0 >:tempx+i.<:tx2-tempx tempx=.tx2 if. 5>tempx=.>:tempx do. NB. Check right while. (-k=tempx{ty2{ban do. if. 4<tempx do. break. tempx=.>:tempx if. k=tempx{ty2{ban do. m=.m,<"1 ty2,"0 >:tx2+i.<:tempx-tx2 tempx=.tx2 tempy=.ty2 if. 5>tempy=.>:tempy do. NB. Check up while. (-k=tx2{tempy{ban do. if. 4<tempy do. break. tempy=.>:tempy if. k=tx2{tempy{ban do. m=.m,<"1 (>:ty2+i.<:tempy-ty2,"0 tx2 tempy=.ty2 if. 0<tempy=.<:tempy do. NB. Check down while. (-k=tx2{tempy{ban do. if. 1>tempy do. break. tempy=.<:tempy if. k=tx2{tempy{ban do. m=.m,<"1 (>:tempy+i.<:ty2-tempy,"0 tx2 6

7 if. (*/4 5=tx2,ty2*.(k=5{4{ban*.((-k=5{5{ban do. m=.m,(<5 5 if. (*/5 4=tx2,ty2*.(k=4{5{ban*.((-k=5{5{ban do. m=.m,(<5 5 if. (*/0 4=tx2,ty2*.(k=1{5{ban*.((-k=0{5{ban do. m=.m,(<5 0 if. (*/1 5=tx2,ty2*.(k=0{4{ban*.((-k=0{5{ban do. m=.m,(<5 0 if. (*/4 0=tx2,ty2*.(k=5{1{ban*.((-k=5{0{ban do. m=.m,(<0 5 if. (*/5 1=tx2,ty2*.(k=4{0{ban*.((-k=5{0{ban do. m=.m,(<0 5 if. (*/0 1=tx2,ty2*.(k=1{0{ban*.((-k=0{0{ban do. m=.m,(<0 0 if. (*/1 0=tx2,ty2*.(k=0{1{ban*.((-k=0{0{ban do. m=.m,(<0 0 m KieruShori=: 3 : 0 NB. Kieru Shori Banmen=:.0 y.}.banmen KomaSente=:+/(,Banmene.1 KomaGote =:+/(,Banmene._1 select. ko case. 1 do. if. (0=MochiSente*.(KomaGote<6+( MochiGote do. MochiSente=:1 case. _1 do. if. (0=MochiGote*.(KomaSente<6+( MochiSente do. MochiGote=:1 if. 1=MochiSente do. temps=.(":komasente, + 1 else. temps=.":komasente if. 1=MochiGote do. tempg=.(":komagote, + 1 else. tempg=.":komagote wd set lblsente ", Sente=,temps, " wd set lblgote ", Gote =,tempg, " ShobuHantei=: 3 : 0 NB. Shobu Hantei if. (2>KomaGote+0<MochiGote+.temp=.(2>KomaSente+0<MochiSente do. game=:0 wd set msg ",(,>(<:+:temp{. gote win! ; sente win!, " wd beep 1 elseif. 70<:tesuu do. game=:0 if. (KomaGote+0<MochiGote>(KomaSente+0<MochiSente do. temp=. gote win! elseif. (KomaGote+0<MochiGote<(KomaSente+0<MochiSente do. temp=. sente win! elseif. 1 do. temp=. draw game wd set msg ",temp, " wd beep 1 HasamiShogi_isiBanmen_mbldown=: 3 : 0 NB. Mouse Button Left Down if. game=0 do. return. x y =.2{.".sysdata if. 0=2 tesuu do. ko=:1 else. ko=:_1 i=.<.6*x%w j=.<.6*y%h if. ko=i{j{.banmen do. mdx1=:i mdy1=:j mouse=:1 HasamiShogi_isiBanmen_mmove=: 3 : 0 NB. Mouse Move if. mouse=0 do. return. x y =.2{.".sysdata DrawBanmen. 0 (<mdy1,mdx1}.banmen glbmpxywh (x-10,(h-y+10,<.(w%9,h%9 glbmp path,bmppath,(,>ko{. sente.bmp ; gote.bmp glshow HasamiShogi_isiBanmen_mblup=: 3 : 0 NB. Mouse Button Left Up if. mouse=0 do. return. mouse=:0 x y =:2{.".sysdata mdx2=.<.6*x%w mdy2=.<.6*y%h temp=.0 if. (0=mdx2{mdy2{.Banmen*.(Banmen IdoHantei mdx1,mdy1,mdx2,mdy2,ko do. IdoShori mdx1,mdy1,mdx2,mdy2 temp=.1 if. 0<#m=.(Banmen KieruHantei x2,y2,ko do. KieruShori m else. wd beep 1 DrawBanmen Banmen ShobuHantei if. temp*. vs do. computer HasamiShogi_isiBanmen_mbldbl=: 3 : 0 NB. Mouse Button Left Double Click 7

8 if. 0=game do. return. if. 0>:ko{.MochiSente,MochiGote do. return. if. 0=2 tesuu do. ko=:1 else. ko=:_1 x y =.2{.".sysdata i=.<.6*x%w j=.<.6*y%h ban=..banmen temp=.0 if. 0=i{j{ban do. ".,>ko{. MochiSente=:_1 ; MochiGote=:_1 Banmen=:.ko (<j,i}.banmen tesuu=:>:tesuu moji=: mochi>,({.i}. ABCDEF,(":>:j,CRLF,moji wd set lbltesuu ", Tesuu=,(":tesuu, " wd set te ",moji, " KomaSente=:+/(,Banmene.1 KomaGote =:+/(,Banmene._1 wd set lblsente ", Sente=,(":KomaSente, " wd set lblgote ", Gote =,(":KomaGote, " x1=:x2=:i y2=:y2=:j if. 0<#m=.(Banmen KieruHantei x2,y2,ko do. KieruShori m temp=.1 else. wd beep 1 DrawBanmen Banmen ShobuHantei if. temp*. vs do. computer DrawBanmen=: 3 : 0 NB. Banmen wo byouga suru glsel isibanmen glrect 0 0,w,h gllines "1 (>. 0,. ((>:i.5*h%6,. w,. (>:i.5*h%6 gllines "1 (>. ((>:i.5*w%6,. 0,. ((>:i.5*w%6,. h i=.0 while. i<6 do. j=.0 while. j<6 do. select. (i{j{y. case. 1 do. glbmpxywh (<.7+i*w%6,(<.5+<:j*h%6,<.(w%9,h%9 glbmp path,bmppath, sente.bmp case. _1 do. glbmpxywh (<.7+i*w%6,(<.5+<:j*h%6,<.(w%9,h%9 glbmp path,bmppath, gote.bmp j=.>:j i=.>:i glshow wd set msg ",(,>(<:+:2 tesuu{. gote ban ; sente ban, " if. 1=MochiSente do. wd set isisente,path,bmppath, sentes.bmp else. wd set isisente, "" if. 1=MochiGote do. wd set isigote,path,bmppath, gotes.bmp else. wd set isigote, "" NB. Computer Algorithm NB. Sente Gote wo handannshite 1 te utsu NB. Com ha x1 y1 x2 y2 wo kimete NB. Ido sase egaku. Sonogo ShobuHantei shite kaesu. computer=: 3 : 0 if. game=0 do. return. if. 0=2 tesuu do. ko=:1 else. ko=:_1 if. 16>:tesuu do. toru idomae idogo utsu =: to1you to1me to2you to2me nayou name kado =:30 15 _5 20 _ else. if. 0<ko*(KomaSente+MochiSente-(KomaGote+MochiGote do. toru idomae idogo utsu =: to1you to1me to2you to2me nayou name kado =:15 15 _5 15 _ else. toru idomae idogo utsu =: to1you to1me to2you to2me nayou name kado =: if. 0>:ko{.MochiGote,MochiSente do. to1you =:_5 table1=:a: cx1=.cy1=.cx2=.cy2=.0 8

9 if. (ko=cx1{cy1{.banmen*.(0=cx2{cy2{.banmen do. if. Banmen IdoHantei cx1,cy1,cx2,cy2,ko do. table1=:table1,(<cx1,cy1,cx2,cy2,0 cy2=.>:cy2 cy2=.0 cx2=.>:cx2 cx2=.0 cy1=.>:cy1 cy1=.0 cx1=.>:cx1 table1=:}."1 table1 if. 0>:#table1 do. game=:0 goto_ i=.0 for. i.#table1 do. ten=.0 cx1 cy1 cx2 cy2 =.}:,>i{table1 Ban2=..0 (<cy1,cx1} ko (<cy2,cx2}.banmen m=.ban2 KieruHantei cx2,cy2,ko if. #m do. Ban2=..0 m}.ban2 ten=.toru*#m NB. kona ga toreru ka? ten=.ten +idomae* Banmen TorareruHantei cx1,cy1,-ko NB. koma ga torareru ka? ten=.ten - idogo* Ban2 TorareruHantei cx2,cy2,-ko NB. koma ga torareru ka? ten=.ten - Banmen Tonari cx1,cy1,ko NB. tonari no yousu ten=.ten + Ban2 Tonari cx2,cy2,ko NB. tonari no yousu table1=:(<cx1,cy1,cx2,cy2,ten i } table1 i=.>:i table1=:((# i.@$(>./{:"1>table1={:"1>table1{table1 cx1 cy1 cx2 cy2 =.}:,>(?#table1{table1 t=.0 if. 1=".>ko{. MochiSente ; MochiGote do. if. 2>ko*(KomaSente+MochiSente-(KomaGote+MochiGote do. table2=.a: mx=.my=.0 if. 0=mx{my{.Banmen do. if. 0<temp=.#Banmen KieruHantei mx,my,ko do. table2=.table2,(<mx,my,utsu*temp my=.>:my my=.0 mx=.>:mx if. 0<#}.table2 do. if. ({:,>{.table1\:{:"1>table1 < {:t2=.,>{.table2\:{:"1>table2 do. cx1 cy1 =. cx2 cy2 =.}:t2 ".>ko{. MochiSente=:_1 ; MochiGote=:_1 t=.1 IdoShori cx1,cy1,cx2,cy2 if. t do. wd set te ",(moji=: mochi,5}.moji, " if. 0<#m=.(Banmen KieruHantei x2,y2,ko do. KieruShori m label_ DrawBanmen Banmen ShobuHantei TorareruHantei=: 4 : 0 ban=..x. tx ty k =.y. line=.temp=.1 4$0 if. (0<:<:tx*.(5>:>:tx do. if. (k=(<:tx{ty{ban*.(0=(>:tx{ty{ban do. if. 0<+/k=(>:tx{"1 ban do. temp=.temp, ((>:tx,.(# i.@$k=(>:tx{"1 ban,"1(>:tx,ty if. 0<+/k=(tx-4{.ty{ban do. temp=.temp, (((# i.@$k=ty{ban,.ty,"1(>:tx,ty 9

10 if. (k=(>:tx{ty{ban*.(0=(<:tx{ty{ban do. if. 0<+/k=(<:tx{"1 ban do. temp=.temp, ((<:tx,.(# ban,"1(<:tx,ty if. 0<+/k=(tx-1{.ty{ban do. temp=.temp, (((# if. (0<:<:ty*.(5>:>:ty do. if. (k=tx{(<:ty{ban*.(0=tx{(>:ty{ban do. if. 0<+/k=(>:ty{ban do. temp=.temp, (((# tx,(>:ty if. 0<+/k=(ty-4{.tx{"1 ban do. temp=.temp, (tx,. (# ban,"1 tx,(>:ty if. (k=tx{(>:ty{ban*.(0=tx{(<:ty{ban do. if. 0<+/k=(<:ty{ban do. temp=.temp, (((# tx,(<:ty if. 0<+/k=(ty-1{.tx{"1 ban do. temp=.temp, (tx,. (# ban,"1 tx,(<:ty if. */0 0=tx,ty do. if. (k=0{1{ban*.(0=1{0{ban do. if. 0<+/k=1{"1 ban do. temp=.temp,(1,.(# ban,"1 (1 0 if. 0<+/k=_4{.0{"1 ban do. temp=.temp,(((# i.@$k=_4{.0{"1 ban,.0,"1 (1 0 if. (k=1{0{ban*.(0=0{1{ban do. if. 0<+/k=1{ ban do. temp=.temp,(((# i.@$k=1{ ban,.1,"1 (0 1 if. 0<+/k=_4{.0{ban do. temp=.temp,(((# i.@$k=_4{.0{ban,.0,"1 (0 1 if. */5 0=tx,ty do. if. (k=5{1{ban*.(0=4{0{ban do. if. 0<+/k=4{"1 ban do. temp=.temp,(4,.(# i.@$k=4{"1 ban,"1 (4 0 if. 0<+/k=4{.0{"1 ban do. temp=.temp,(((# i.@$k=4{.0{"1 ban,.0,"1 (4 0 if. (k=4{0{ban*.(0=5{1{ban do. if. 0<+/k=1{ ban do. temp=.temp,(((# i.@$k=1{ ban,.1,"1 (5 1 if. 0<+/k=_4{.5{ban do. temp=.temp,(5,.((# i.@$k=_4{.5{"1 ban,"1 (5 1 if. */0 5=tx,ty do. if. (k=0{4{ban*.(0=1{5{ban do. if. 0<+/k=1{"1 ban do. temp=.temp,(1,.(# i.@$k=1{"1 ban,"1 (1 5 if. 0<+/k=_4{.5{"1 ban do. temp=.temp,(((# i.@$k=_4{.5{"1 ban,.5,"1 (1 5 if. (k=1{5{ban*.(0=0{4{ban do. if. 0<+/k=4{ ban do. temp=.temp,(((# i.@$k=4{ban,.4,"1 (0 4 if. 0<+/k=_4{.5{ban do. temp=.temp,(0,.((# i.@$k=4{.0{"1 ban,"1 (0 4 if. */5 5=tx,ty do. if. (k=5{4{ban*.(0=4{5{ban do. if. 0<+/k=1{"1 ban do. temp=.temp,(4,.(# i.@$k=4{"1 ban,"1 (4 5 10

11 if. 0<+/k=_4{.5{"1 ban do. temp=.temp,(((# ban,.5,"1 (4 5 if. (k=4{5{ban*.(0=5{4{ban do. if. 0<+/k=4{ ban do. temp=.temp,(((# i.@$k=4{ ban,.4,"1 (5 4 if. 0<+/k=_4{.5{ban do. temp=.temp,(5,.((# i.@$k=4{.5{"1 ban,"1 (5 4 if. 0<#temp=.}.temp do. i=.0 for. i.#temp do. if. x. IdoHantei (i{temp,k do. line=.line,i{temp i=.>:i 0<#}.line Tonari=: 4 : 0 t=.0 ban=..x. tx ty k =.y. if. 5>:>:tx do. if. (-k=(>:tx{ty{ban do. t=.t-to1you if. k=(>:tx{ty{ban do. t=.t-to1me if. 5>:>:>:tx do. if. (-k=(>:>:tx{ty{ban do. t=.t-to2you if. k=(>:>:tx{ty{ban do. t=.t-to2me if. 0<:<:ty do. if. (-k=(>:tx{(<:ty{ban do. t=.t-nayou if. k=(>:tx{(<:ty{ban do. t=.t-name if. 0<:<:tx do. if. (-k=(<:tx{ty{ban do. t=.t-to1you if. k=(<:tx{ty{ban do. t=t-to1me if. 0<:<:<:tx do. if. (-k=(<:<:tx{ty{ban do. t=.t-to2you if. k=(<:<:tx{ty{ban do. t=.t-to2me if. 5>:>:ty do. if. (-k=(<:tx{(>:ty{ban do. t=.t-nayou if. k=(<:tx{(>:ty{ban do. t=.t-name if. 5>:>:ty do. if. (-k=tx{(>:ty{ban do. t=.t-to1you if. k=tx{(>:ty{ban do. t=.t-to1me if. 5>:>:>:ty do. if. (-k=tx{(>:>:ty{ban do. t=.t-to2you if. k=tx{(>:>:ty{ban do. t=.t-to2me if. 5>:>:tx do. if. (-k=(>:tx{(>:ty{ban do. t=.t-nayou if. k=(>:tx{(>:ty{ban do. t=.t-name if. 0<:<:ty do. if. (-k=tx{(<:ty{ban do. t=.t-to1you if. k=tx{(<:ty{ban do. t=.t-to1me if. 0<:<:<:ty do. if. (-k=tx{(<:<:ty{ban do. t=.t-to2you if. k=tx{(<:<:ty{ban do. t=.t-to2me if. 0<:<:tx do. if. (-k=(<:tx{(<:ty{ban do. t=.t-nayou if. k=(<:tx{(<:ty{ban do. t=.t-name if. 0 0 = tx,ty do. t=.t-kado if. 0 5 = tx,ty do. t=.t-kado if. 5 0 = tx,ty do. t=.t-kado if. 5 5 = tx,ty do. t=.t-kado t HasamiShogi_run 11

JAPLA研究会資料 2017/6/17

JAPLA研究会資料 2017/6/17 JAPLA 研究会資料 2017/8/5 J のタイリング グラフィックスによりオリンピック エンブレムを描く - 続き ( 完成版 西川利男 JAPLA の 2017/6/7 の例会で 東京オリンピックのエンブレムを J のグラフィックスを描く試みを報告した [1] 作者である野老朝雄氏のデザインの原理の説明 [2] を元に J のタイリング グラフィックスとして作成したが まだまだ相当の時間がかかるようだ

More information

Sudoku2

Sudoku2 J 研究会資料 2006/3/25 J のオブジェクト指向プログラミング - その 4 -J-Grid による数独パズルをもっと使いやすく - 西川利男 J の Grid は Excel に相当するスプレッド シートだが J ユーザにとってはその内部が分かるだけに ずっと便利な環境である また最新技術のオブジェクト指向プログラミングとはどんなものかを身近に体験できるメリットもある 数独パズルが今 話題を呼んでいるが

More information

J研究会資料 2006/11/25

J研究会資料 2006/11/25 J 研究会資料 2006/11/25 J による微分方程式のグラフィック アプローチ - その 1 続き J のバージョンとウィンドウズ グラフィックス 西川利男 中野嘉弘 1. はじめに先月 微分方程式の数値解と方向場表示 [1] なる発表を行ったが そのプログラムの実行に際して 何人かの方から私 ( 西川 の元にクレームが寄せられた 私自身つい手慣れていることから J3 上でプログラム作成を行ったが

More information

JAPLAシンポジウム資料 2006/12/9

JAPLAシンポジウム資料 2006/12/9 JAPLA シンポジウム資料 2006/12/9 J のウィンドウズ プログラミングとそのグラフィックス入門 - 微分方程式グラフィックスに向けて - 0. はじめに 西川利男 現在 ユーザにとってパソコンはその使用する目的によってさまざまに使われる デー タ処理を目的とするときでも エンド ユーザ向きとプレゼンテーションのためとでは その内容 性格がかなり異なっている Jの場合では次のようになると考えられる

More information

JAPLA研究会資料 2012/8/2

JAPLA研究会資料 2012/8/2 JAPLA 研究会資料 2012/8/2 ローレンツなどカオスの 3D グラフィックス J-OpenGL により カオスの実行を段階的に観察する 西川利男 ローレンツ レスターなどカオスの図形は 志村氏により J の簡便かつ強力なグラフィックス機能を示す例としてたびたび紹介されている これらのカオス現象の物理は それ自身私にとってもおおいに興味をそそられるテーマである J の OpenGL グラフィックスを用いて

More information

JAPLA研究会資料 2017/6/17

JAPLA研究会資料 2017/6/17 JAPLA 研究会資料 2017/6/17 J のタイリング グラフィックスによりオリンピック エンブレムを描く 西川利男 J のタイリング グラフィックスは壁紙群 幾何学の視覚化の副産物として 例えば先月の ペンローズ タイリング [1] のように なかなか便利な J のツールである ところで 志村正人氏は 数多くの江戸小紋の傍ら 先の JAPLA の例会で オリンピックのエンブレムを J グラフィックスで描いて見せてくれた

More information

J-OOPによる数独ゲーム

J-OOPによる数独ゲーム JAPLA シンポジウム資料 2005/12/10 J のオブジェクト指向プログラミング (OOP- その 2 ( J Object Oriented Programming - II J のスプレッドシート (Grid と数独パズルへの適用 ( J Spreadsheet(Grid and its Application to 'Sudoku' Puzzle 西川利男 ( Toshio Nishikawa@kiu.ne.jp

More information

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 2 5 24 () () () () () 1 1 150 50 50 1 1 ( 15,000 ) 150 ( 15,000 ) 100 50 50 1 1 ( 6,000 ) 150 ( 6,000 ) 100 50 50 1 1 150 1 1 150 100 0.25

More information

JAPLA研究会資料

JAPLA研究会資料 JAPLA 研究会資料 2016/5/21 J グラフィックスを用いて微分幾何学をのぞいてみる伸開線 (Involute 縮閉線 (Evolute 包絡線 (Envelope など 西川利男 非ユークリッド幾何学なる恐ろしげな数学を耳にすることがあるだろう 単にユークリッドのやり方に従わないだけのもので 円や三角形 四角形だけでなく そのあたりにあるごくありふれた形までを扱おうという もっとゆるい一般的な幾何学なのである

More information

JAPLA研究会資料 2013/5/25

JAPLA研究会資料  2013/5/25 JAPLA 研究会資料 2013/5/25 J-OpenGL による 4 進フラクタル立体木のグラフィックス 西川利男 今年の大学センター試験の出題をきっかけとして 3 進法およびそれを活用した 3 進フラクタル木の J プログラムについて先に報告した [1][2] 図形表示の値を 3 進法で表すことで フラクタル木のグラフィックスが ごく自然に行われた それでは 4 進法ではどうだろうか? 同じ発想を展開すると

More information

コンピュータ概論

コンピュータ概論 4.1 For Check Point 1. For 2. 4.1.1 For (For) For = To Step (Next) 4.1.1 Next 4.1.1 4.1.2 1 i 10 For Next Cells(i,1) Cells(1, 1) Cells(2, 1) Cells(10, 1) 4.1.2 50 1. 2 1 10 3. 0 360 10 sin() 4.1.2 For

More information

K227 Java 2

K227 Java 2 1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html

More information

1 bmp gif,png,jpg bmp gif,png jpg BPG 2014 jpg *3 RAW TIFF RAW CCD CMOS R,G,B TIFF net *4 1.1 JPEG HP JPEG 3 1 4, 1 8, 1 16 JPEG SD jpeg JPEG RGB YCrC

1 bmp gif,png,jpg bmp gif,png jpg BPG 2014 jpg *3 RAW TIFF RAW CCD CMOS R,G,B TIFF net *4 1.1 JPEG HP JPEG 3 1 4, 1 8, 1 16 JPEG SD jpeg JPEG RGB YCrC Viewmat SHIMURA Masato 2015 6 12 viewnmat viewmat QT J8x 400 RGB CMYK *1 *2 RGB CMYK *1 CMYK,, *2 1 1 bmp gif,png,jpg bmp gif,png jpg BPG 2014 jpg *3 RAW TIFF RAW CCD CMOS R,G,B TIFF net *4 1.1 JPEG HP

More information

) km 200 m ) ) ) ) ) ) ) kg kg ) 017 x y x 2 y 5x 5 y )

) km 200 m ) ) ) ) ) ) ) kg kg ) 017 x y x 2 y 5x 5 y ) 001 ) g 20 g 5 300 g 7 002 720 g 2 ) g 003 0.8 m 2 ) cm 2 004 12 15 1 3 1 ) 005 5 0.8 0.4 ) 6 006 5 2 3 66 ) 007 1 700 12 ) 008 0.315 ) 009 500 g ) kg 0.2 t 189 kg 17.1 kg 010 5 1 2 cm 3 cm )km 2-1 - 011

More information

P (32LX10)

P (32LX10) D D D D D D C Matsushita Electric Industrial Co., Ltd. D D D 2 04 D 08 D 10 D A A A A 16 D 17 D 18 D A 19 D A A A A 26 417 1825 2641 D A A A A 35 D 36 D A A 38 D 41 D 42 D 51 D 52 D 54 D 56 D A A 64 D

More information

JAPLA蓼科夏の合宿資料 2006/8/5

JAPLA蓼科夏の合宿資料 2006/8/5 JAPLA 蓼 科 夏 の 合 宿 資 料 2006/8/5 J-OOP Gridのプログラミング その6 J-GridSheet Excelライクだが Excelより 強 力! 西 川 利 男 J-Gridプログラミングによる 数 独 パズルをこれまで 何 回 か 紹 介 してきた しかし J-Gridの 本 来 の 目 的 はもちろんExcelと 同 様 の 表 計 算 にある J-Grid Sheet(Jによる

More information

JAPLA研究会資料 2017/8/5

JAPLA研究会資料 2017/8/5 JAPLA 研究会資料 2017/9/9 J で将棋の対局を実感して楽しむ - その 2 修正版 - 指し手と持ち駒の表示 西川利男 先月 JAPLA 例会で報告した J の上での将棋はいかがでしたか 発表の後 鳥邊錬太郎氏より 指したときに駒がどう動くのかわからない その経過がわかるように また志村正人氏よりは 相手の駒を取って それぞれ持ち駒がどうなっていうのか示してほしい というご指摘があった

More information

JAPLAシンポジウム資料 2009/12/5

JAPLAシンポジウム資料 2009/12/5 JAPLA シンポジウム資料 2009/12/5 J の OpenGL グラフィックス - その 5 - 正 12 面体と正 20 面体を動かす - 西川利男 正 12 面体と正 20 面体との頂点座標が別報 [1] のように計算されたので それを用いて J の OpenGL により 3 D グラフィックス図形を描き いろいろ動かしてみる 1. 正 12 面体と正 20 面体の J プログラム (J402

More information

1 I EViews View Proc Freeze

1 I EViews View Proc Freeze EViews 2017 9 6 1 I EViews 4 1 5 2 10 3 13 4 16 4.1 View.......................................... 17 4.2 Proc.......................................... 22 4.3 Freeze & Name....................................

More information

2008 DS T050049

2008 DS T050049 DS T050049. PSP DS DS DS RPG DS OS Windows XP DevkiPro OS DS CPU ARM devkitarm MSYS MinGW MSYS MinGW Unix OS C++ C++ make nds nds DS DS micro SD Card nds DS DS DS nds C Java C++ nds nds DS 2008 DS T050049

More information

CRA3689A

CRA3689A AVIC-DRZ90 AVIC-DRZ80 2 3 4 5 66 7 88 9 10 10 10 11 12 13 14 15 1 1 0 OPEN ANGLE REMOTE WIDE SET UP AVIC-DRZ90 SOURCE OFF AV CONTROL MIC 2 16 17 1 2 0 0 1 AVIC-DRZ90 2 3 4 OPEN ANGLE REMOTE SOURCE OFF

More information

030801調査結果速報版.PDF

030801調査結果速報版.PDF 15 8 1 15 7 26 1. 2. 15 7 27 15 7 28 1 2 7:13 16:56 0:13 3km 45 346 108 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3. 3.1 26 7 10 1 20cm 2 1 2 45 1/15 3 4 5,6 3 4 3 5 6 ( ) 7,8 8 7 8 2 55 9 10 9 10

More information

広報さがみはら第1242号

広報さがみはら第1242号 LINE UP 3 1 5 6 1 NO.1242 S A G A M I H A R A 1 1 1 16 16 1 6 1 6 1 6 1 1 1 1 1 11 1 1 1 1 1 1 6 1 6 1 1 1 1 1 1 1 1 11 1 1 16 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 16 1 16 1 6 1 1 1 1 1 1

More information

10 117 5 1 121841 4 15 12 7 27 12 6 31856 8 21 1983-2 - 321899 12 21656 2 45 9 2 131816 4 91812 11 20 1887 461971 11 3 2 161703 11 13 98 3 16201700-3 - 2 35 6 7 8 9 12 13 12 481973 12 2 571982 161703 11

More information

0.45m1.00m 1.00m 1.00m 0.33m 0.33m 0.33m 0.45m 1.00m 2

0.45m1.00m 1.00m 1.00m 0.33m 0.33m 0.33m 0.45m 1.00m 2 24 11 10 24 12 10 30 1 0.45m1.00m 1.00m 1.00m 0.33m 0.33m 0.33m 0.45m 1.00m 2 23% 29% 71% 67% 6% 4% n=1525 n=1137 6% +6% -4% -2% 21% 30% 5% 35% 6% 6% 11% 40% 37% 36 172 166 371 213 226 177 54 382 704 216

More information

untitled

untitled FutureNet Microsoft Corporation Microsoft Windows Windows 95 Windows 98 Windows NT4.0 Windows 2000, Windows XP, Microsoft Internet Exproler (1) (2) (3) COM. (4) (5) ii ... 1 1.1... 1 1.2... 3 1.3... 6...

More information

MIFES Ver.7.0 マクロマニュアル

MIFES Ver.7.0 マクロマニュアル iv v vi 2 3 4 5 6 * * * 7 8 @6=@str3[@7++]+A insstr(mifes) :sub1 move(@@str3) :if then / goto : / gosub : if then if input(@str3,) == 0 then exit() goto if @ code == 0x0d0a @code == 0x000a goto :ret gosub

More information

やさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF

やさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) 3 5 14 18 21 23 23 24 28 29 29 31 32 34 35 35 36 38 40 44 44 45 46 49 49 50 pref : 2004/6/5 (11:8) 50 51 52 54 55 56 57 58 59 60 61

More information

2009 T

2009 T T060061 Wii Visual C++ 2008 Express Edition Visual C++ 2008 Express Edition ++ ++ Paint.net ++ 1 2009 T060061 2 1 4 2 4 2.1 Visual C++ 2008 Express Edition.......................... 4 2.2.....................................

More information

TOEIC

TOEIC TOEIC 1 1 3 1.1.............................................. 3 1.2 C#........................................... 3 2 Visual Studio.NET Windows 5 2.1....................................... 5 2.2..........................................

More information

1 VisBAR edu H 2 O.....

1 VisBAR edu H 2 O..... VisBAR edu v1.03 ( ) 25 4 22 1 VisBAR edu 1 1.1....................................................... 1 1.2.................................................. 2 2 3 2.1 H 2 O.........................................

More information

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 September 2016 1 Windows Cygwin Mac *1 Emacs Ruby 1 1.1 ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 ~/16:00:20> ls 2 2 ls ls -a ~/16:00:20> ls -a

More information

‚æ4›ñ

‚æ4›ñ ( ) ( ) ( ) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 (OUS) 9 26 1 / 28 ( ) ( ) ( ) A B C D Z a b c d z 0 1 2 9 (OUS) 9

More information

Java updated

Java updated Java 2003.07.14 updated 3 1 Java 5 1.1 Java................................. 5 1.2 Java..................................... 5 1.3 Java................................ 6 1.3.1 Java.......................

More information

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for embedded systems that use microcontrollers (MCUs)

More information

ブロック パニック

ブロック パニック ブロックパニック VB 2005 9 プログラムの概要 壁が迫り来る不思議な空間のオリジナルゲーム ブロックパニック を作成する スタートボタンをクリックし上下左右の矢印キーで白猿を移動させる スペースキーを押すと 向いて居る方向の壁が後退する 左右の壁が合わさると ゲームは終了する 一般的に 実用プログラムに比較するとゲームプログラムは 高度なテクニックを要求される事が多い 此処では ゲームプログラムを作成する事に依り

More information

2

2 L C -24K 9 L C -22K 9 2 3 4 5 6 7 8 9 10 11 12 11 03 AM 04 05 0 PM 1 06 1 PM 07 00 00 08 2 PM 00 4 PM 011 011 021 041 061 081 051 071 1 2 4 6 8 5 7 00 00 00 00 00 00 00 00 30 00 09 00 15 10 3 PM 45 00

More information

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 1. 1.1. 1.2. 1 PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 2. 2.1. 2 1 2 C a b N: PC BC c 3C ac b 3 4 a F7 b Y c 6 5 a ctrl+f5) 4 2.2. main 2.3. main 2.4. 3 4 5 6 7 printf printf

More information

untitled

untitled II yacc 005 : 1, 1 1 1 %{ int lineno=0; 3 int wordno=0; 4 int charno=0; 5 6 %} 7 8 %% 9 [ \t]+ { charno+=strlen(yytext); } 10 "\n" { lineno++; charno++; } 11 [^ \t\n]+ { wordno++; charno+=strlen(yytext);}

More information

C 04 D 10 D 11 D 12 D A 14 D 16 D 17 D 18 D 19 D 419 29 D A A A 33 D 2933 2028 3445 20 D A 21 D 22 D 23 D 23 D 24 D 27 D 34 D 35 D 36 D 38 D A A 40 D

C 04 D 10 D 11 D 12 D A 14 D 16 D 17 D 18 D 19 D 419 29 D A A A 33 D 2933 2028 3445 20 D A 21 D 22 D 23 D 23 D 24 D 27 D 34 D 35 D 36 D 38 D A A 40 D C C D D D D D D C Matsushita Electric Industrial Co., Ltd.All Rights Reserved. C 04 D 10 D 11 D 12 D A 14 D 16 D 17 D 18 D 19 D 419 29 D A A A 33 D 2933 2028 3445 20 D A 21 D 22 D 23 D 23 D 24 D 27 D 34

More information

1 1 2 2 2.1................................................ 2 2.2......................................... 2 3 Battle Ship 3 3.1......................

1 1 2 2 2.1................................................ 2 2.2......................................... 2 3 Battle Ship 3 3.1...................... 2013 10H071 1 1 2 2 2.1................................................ 2 2.2......................................... 2 3 Battle Ship 3 3.1............................................ 3 3.2............................................

More information

HG M-PRO 110pt 38mm HG M-PRO 110pt 38mm HG M-PRO 2

HG M-PRO 110pt 38mm HG M-PRO 110pt 38mm HG M-PRO 2 Graphtec Studio Graphtec Studio Graphtec Studio PC Windows Graphtec Studio A4 10.00mm 2 1 HG M-PRO 110pt 38mm HG M-PRO 110pt 38mm HG M-PRO 2 3 0 LCD 4 5 6 Graphtec Studio (F) (T) All Files(. ) OK 7 8 8

More information

Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1) (2) ( ) BASIC BAS

Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1) (2) ( ) BASIC BAS Appendix A BASIC BASIC Beginner s All-purpose Symbolic Instruction Code FORTRAN COBOL C JAVA PASCAL (NEC N88-BASIC Windows BASIC (1 (2 ( BASIC BASIC download TUTORIAL.PDF http://hp.vector.co.jp/authors/va008683/

More information

Java演習(4) -- 変数と型 --

Java演習(4)   -- 変数と型 -- 50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends

More information

コーディング基準.PDF

コーディング基準.PDF Java Java Java Java.java.class 1 private public package import / //////////////////////////////////////////////////////////////////////////////// // // // // ////////////////////////////////////////////////////////////////////////////////

More information

SET 5V RESET 1 1-1 SET SET SET SET SET SET 1-2 SET 1-3 SET SET 5V RESE SET AP MODE RT 5V 1-4 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 10 11 1 2 3 4 5 1 2 3 4 5 6 1 2 3 4 5

More information

Microsoft Word - C.....u.K...doc

Microsoft Word - C.....u.K...doc C uwêííôöðöõ Ð C ÔÖÐÖÕ ÐÊÉÌÊ C ÔÖÐÖÕÊ C ÔÖÐÖÕÊ Ç Ê Æ ~ if eíè ~ for ÒÑÒ ÌÆÊÉÉÊ ~ switch ÉeÍÈ ~ while ÒÑÒ ÊÍÍÔÖÐÖÕÊ ~ 1 C ÔÖÐÖÕ ÐÊÉÌÊ uê~ ÏÒÏÑ Ð ÓÏÖ CUI Ô ÑÊ ÏÒÏÑ ÔÖÐÖÕÎ d ÈÍÉÇÊ ÆÒ Ö ÒÐÑÒ ÊÔÎÏÖÎ d ÉÇÍÊ

More information

untitled

untitled Visual Basic.NET 1 ... P.3 Visual Studio.NET... P.4 2-1 Visual Studio.NET... P.4 2-2... P.5 2-3... P.6 2-4 VS.NET(VB.NET)... P.9 2-5.NET... P.9 2-6 MSDN... P.11 Visual Basic.NET... P.12 3-1 Visual Basic.NET...

More information

JAPLA研究会資料 2017/5/20

JAPLA研究会資料 2017/5/20 JAPLA 研究会資料 2017/5/20 J-OpenGL による 3D- グラフィックス - その 13-3 次元空間での錯視 - 西川利男 はじめに私がボランティアとして出ている日本科学未来館で 現在 (5/20 まで 錯視 というテーマをやっている その中で 杉原厚吉先生による3 次元空間での錯視のデモが好評で 来館者を楽しませてくれている それに触発されて 3 次元空間の幾何学の問題を J-OpenGL

More information

NB

NB JAPLA 研究会資料 2010/2/27 J の OpenGL グラフィックス - その 7 - フラー ドームと照光表示 - 西川利男 0. はじめに OpenGL 正多面体グラフィックスとして 今回はフラー ドームに挑戦してみた バックミンスター フラー (Richard Buckminster Fuller, 1895-1983 は多才な建築家 科学者 思想家として知られ その名前を冠した

More information

5V 2.4 DSOF 4 1 1-1 1-2 5V 1-3 SET RESET 5V 5V 1-4 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 1 2 3 4 5 2 2-1 SET RESET 5V 5V 2-2 1 2 3 5V 5V 1 2 3 4 2-3 2-4

More information

JAPLA研究会資料 /6/15

JAPLA研究会資料 /6/15 JAPLA 研究会資料 20013/6/15 J-OpenGL による 3D グラフィックス - その 10 * メビウスの帯へ向けて -J-OpenGL をどう理解するか - 西川 利男 J で OpenGL を利用することで高度の三次元グラフィックスの処理が可能となった 前回の例会で志村正人氏よりメビウスの帯やクラインの壷など アートとして眺めるだけでも楽しいグラフィックスがいろいろ紹介された

More information

10K

10K 1 2 3 4 Object Oriented Object Oriented Programming(OOP) 5 6 OOP#1 OOP#2 Java 7 Java 8 手続き型 v.s. OOP #1 OOPのメリット#3 追加 変更がラク 出典 立山秀利 Javaのオブジェクト指向がゼッタイにわかる本 秀和システム 出典 立山秀利 Javaのオブジェクト指向がゼッタイにわかる本 秀和システム

More information

C C C - J TH-D TH-D TH-D C C C C C - J TH-D TH-D TH-D C - J TH-D TH-D TH-D C C C C

C C C - J TH-D TH-D TH-D C C C C C - J TH-D TH-D TH-D C - J TH-D TH-D TH-D C C C C C Matsushita Electric Industrial Co., Ltd. - J TH-D TH-D TH-D C C C C - J TH-D TH-D TH-D C C C C C - J TH-D TH-D TH-D C - J TH-D TH-D TH-D C C C C - J FGIH FGIH FG IH FGIH F G FGIH - J c c c c c c C C

More information

cm H.11.3 P.13 2 3-106-

cm H.11.3 P.13 2 3-106- H11.3 H.11.3 P.4-105- cm H.11.3 P.13 2 3-106- 2 H.11.3 P.47 H.11.3 P.27 i vl1 vl2-107- 3 h vl l1 l2 1 2 0 ii H.11.3 P.49 2 iii i 2 vl1 vl2-108- H.11.3 P.50 ii 2 H.11.3 P.52 cm -109- H.11.3 P.44 S S H.11.3

More information

Microsoft Word - Meta70_Preferences.doc

Microsoft Word - Meta70_Preferences.doc Image Windows Preferences Edit, Preferences MetaMorph, MetaVue Image Windows Preferences Edit, Preferences Image Windows Preferences 1. Windows Image Placement: Acquire Overlay at Top Left Corner: 1 Acquire

More information

JAPLA研究会資料 2010/4/24

JAPLA研究会資料 2010/4/24 JAPLA 研究会資料 2010/4/24 J の OpenGL グラフィックス - その 8 Texture によるパターンの貼り付け - サイコロを作って動かす - 西川利男 0. はじめにこれまで OpenGL グラフィックスもいろいろやってきた [1]~[7] OpenGL の Texture 機能を利用したパターンの貼り付け処理はさまざまな用途に使われる 今回はこれを利用してサイコロを作ってみた

More information

For_Beginners_CAPL.indd

For_Beginners_CAPL.indd CAPL Vector Japan Co., Ltd. 目次 1 CAPL 03 2 CAPL 03 3 CAPL 03 4 CAPL 04 4.1 CAPL 4.2 CAPL 4.3 07 5 CAPL 08 5.1 CANoe 5.2 CANalyzer 6 CAPL 10 7 CAPL 11 7.1 CAPL 7.2 CAPL 7.3 CAPL 7.4 CAPL 16 7.5 18 8 CAPL

More information

untitled

untitled 1-1 20 1.29 DID 1 (1)..() /ha 2 (2) 3 (3) 4 (2005 ) (4) (5) 5 1-2 10 1.18 6 (1) T.E. /h a 7 8 9 T. E. 0 10,000 20,000 30,000 40,000 50,000 () T. E. T.E. 10 T.E. 11 (2) 12 13 14 (3) 15 1-3 DID 16 (1) 17

More information

8 if switch for while do while 2

8 if switch for while do while 2 (Basic Theory of Information Processing) ( ) if for while break continue 1 8 if switch for while do while 2 8.1 if (p.52) 8.1.1 if 1 if ( ) 2; 3 1 true 2 3 false 2 3 3 8.1.2 if-else (p.54) if ( ) 1; else

More information

HARK Designer Documentation 0.5.0 HARK support team 2013 08 13 Contents 1 3 2 5 2.1.......................................... 5 2.2.............................................. 5 2.3 1: HARK Designer.................................

More information

ニチベイ 高遮蔽ブラインド セレーノグランツ 25・35

ニチベイ 高遮蔽ブラインド セレーノグランツ 25・35 Glanz 2015 61 3 6.5 3 35mm 3 300cm400cm 6.5 1cm 35mm 35mm 25mm 25 35 C059S C011S C472S C471S C474S C473S C476S C475S C410S C411S C211S C210S C012S C061S C209S C413S C063S C407S C051S C013S C054S C408S

More information

untitled

untitled Caché Agenda InterSystems Caché 2009.1.NET Gateway (2009.1) Truncate Caché Databases ( ( Studio Caché ObjectScript SQL Object Security InterSystems (200x.1, 200x.2) 5.2 : 2006/6 2007.1 : 2007/6 2008.1

More information

2

2 REVISION 2.85(6).I 2 3 4 5 8 24 32 37 83 87 88 88 89 90 1 91 1 6 7 8 KDC200 ユーザーマニュアル 1.1 同梱物 本機のパッケージには 以下の物が同梱されています 1 2 3 4 本体 バーコード Data Collector 1 台 USB ケーブル 1本 ネックストラップ 1 本 ソフトウェアとユーザーマニュアルを含む CD-ROM

More information

13 Student Software TI-Nspire CX CAS TI Web TI-Nspire CX CAS Student Software ( ) 1 Student Software 37 Student Software Nspire Nspire Nspir

13 Student Software TI-Nspire CX CAS TI Web TI-Nspire CX CAS Student Software ( ) 1 Student Software 37 Student Software Nspire Nspire Nspir 13 Student Software TI-Nspire CX CAS TI Web TI-Nspire CX CAS Student Software ( ) 1 Student Software 37 Student Software 37.1 37.1 Nspire Nspire Nspire 37.1: Student Software 13 2 13 Student Software esc

More information

untitled

untitled Worldspan go! 4.x (UCI) Administrator Guide go! 4.x (UCI) Version 2.1.4 : 31 August 2007 1. WORLDSPAN GO! VERSION 4.X (UCI)... 3 2. WORLDSPAN GO! VERSION 4.X (UCI)... 4 3.... 6 4. WORLDSPAN GO! VERSION

More information

解きながら学ぶJava入門編

解きながら学ぶJava入門編 44 // class Negative { System.out.print(""); int n = stdin.nextint(); if (n < 0) System.out.println(""); -10 Ÿ 35 Ÿ 0 n if statement if ( ) if i f ( ) if n < 0 < true false true false boolean literalboolean

More information

1 1 2 2 2.1 Java......... 2 2.2................................. 3 2.3.................................. 3 3 4 3.1....................................

1 1 2 2 2.1 Java......... 2 2.2................................. 3 2.3.................................. 3 3 4 3.1.................................... 06H082 1 1 2 2 2.1 Java......... 2 2.2................................. 3 2.3.................................. 3 3 4 3.1..................................... 4 3.2 GP.....................................

More information

『赤すぐ』『妊すぐ』<出産・育児トレンド調査2003>

『赤すぐ』『妊すぐ』<出産・育児トレンド調査2003> 79.9 1.6 UP 86.6% 7.0 UP 61.3% 12.7UP 18-24 3 66.6 3.0 UP 38.7 0.7 UP 14.8 1.9 UP 13.3 0.3UP 4 1 024 1.23 0.01down Topics 5 79.9 1.6UP 7.0 UP 12.7U 3.5 0.4 UP 3.4 0.4 UP 6 73.1% 5.7 UP 75.0% 71.2% 7 53.9%

More information

:30 12:00 I. I VI II. III. IV. a d V. VI

:30 12:00 I. I VI II. III. IV. a d V. VI 2018 2018 08 02 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF N N y N x N xy yx : yxxyxy N N x, y N (parse tree) (1) yxyyx (2) xyxyxy (3) yxxyxyy (4) yxxxyxxy N y N x N yx

More information

A(6, 13) B(1, 1) 65 y C 2 A(2, 1) B( 3, 2) C 66 x + 2y 1 = 0 2 A(1, 1) B(3, 0) P 67 3 A(3, 3) B(1, 2) C(4, 0) (1) ABC G (2) 3 A B C P 6

A(6, 13) B(1, 1) 65 y C 2 A(2, 1) B( 3, 2) C 66 x + 2y 1 = 0 2 A(1, 1) B(3, 0) P 67 3 A(3, 3) B(1, 2) C(4, 0) (1) ABC G (2) 3 A B C P 6 1 1 1.1 64 A6, 1) B1, 1) 65 C A, 1) B, ) C 66 + 1 = 0 A1, 1) B, 0) P 67 A, ) B1, ) C4, 0) 1) ABC G ) A B C P 64 A 1, 1) B, ) AB AB = 1) + 1) A 1, 1) 1 B, ) 1 65 66 65 C0, k) 66 1 p, p) 1 1 A B AB A 67

More information

BASICとVisual Basic

BASICとVisual Basic Visual Basic BASIC Visual Basic BASICBeginner's All purpose Symbolic Instruction Code Visual Basic Windows BASIC BASIC Visual Basic Visual Basic End Sub .Visual Basic Visual Basic VB 1-1.Visual Basic

More information

05 agon Inaba 149

05 agon Inaba 149 05 Inaba Office System Unit Line Unit 148 Inaba 05 agon Inaba 149 05 agon 150 Inaba 05 agon Inaba 151 152 Inaba 05 agon agon CO2 CO2 CO2 CO2 1/3 CO2 Inaba 153 05 agon agon 05 agon Check P.164 720 1770

More information

...J......1803.QX

...J......1803.QX 5 7 9 11 13 15 17 19 21 23 45-1111 48-2314 1 I II 100,000 80,000 60,000 40,000 20,000 0 272,437 80,348 82,207 81,393 82,293 83,696 84,028 82,232 248,983 80,411 4,615 4,757 248,434 248,688 76,708 6,299

More information

test_cylpyd

test_cylpyd JAPLA 研究会資料 2013/9/14 実験と 3D グラフィックスによる幾何学 ピラミッド ( 三角錐 の体積はプリズム ( 三角柱 の 1/3 になる きみにはすぐ分かるだろうか 西川 利男 はじめに 錐体 ( 三角錐 四角錐 円錐 の体積は 柱体 ( 三角柱 四角柱 円柱 の体積の 1/3 である だれでも知っているこの有名な公式は中学校の教科書にのっているだろうが その理由をわかるように説明してはいない

More information

V-SFTのインストール及び画面データの転送手順 V-SFT Installation and Screen Data Transfer Procedure

V-SFTのインストール及び画面データの転送手順 V-SFT Installation and Screen Data Transfer Procedure V-SFT V-SFT INSTALLATION AND SCREEN DATA TRANSFER PROCEDURE 2 Version : A Page 1 / 67 Revision History Version Date (MM/DD/YYYY) Prepared Approved Description Ver. NEW 4/21/2011 Original Issue Ver. A 11/17/2011

More information

(Java/FX ) Java CD Java version Java VC++ Python Ruby Java Java Eclipse Java Java 3 Java for Everyone 2 10 Java Midi Java JavaFX Shape Canvas C

(Java/FX ) Java CD Java version Java VC++ Python Ruby Java Java Eclipse Java Java 3 Java for Everyone 2 10 Java Midi Java JavaFX Shape Canvas C (Java/FX ) Java CD Java version 10.0.1 Java VC++ Python Ruby Java Java Eclipse Java Java 3 Java for Everyone 2 10 Java Midi Java JavaFX Shape Canvas Canvas Eclipse Eclipse M... 1 javafx e(fx)clipse 3.0.0

More information

1 Java Java GUI , 2 2 jlabel1 jlabel2 jlabel3 jtextfield1 jtextfield2 jtextfield3 jbutton1 jtextfield1 jtextfield2 jtextfield3

1 Java Java GUI , 2 2 jlabel1 jlabel2 jlabel3 jtextfield1 jtextfield2 jtextfield3 jbutton1 jtextfield1 jtextfield2 jtextfield3 1 2 2 1 2 2.1.................................................... 2 2.2.................................................... 2 2.3........................................ 2 2.4....................................................

More information

TEX American Mathematical Society PostScript Adobe Systems Incorporated

TEX American Mathematical Society PostScript Adobe Systems Incorporated P A D manual ( pad2ps 3.1j ) (seiichi@muraoka.info.waseda.ac.jp) 1996 11 2 TEX American Mathematical Society PostScript Adobe Systems Incorporated pad2ps PAD PAD (Problem Analysis Diagram) C 1 2 PAD PAD

More information

WinPSKユーザーズガイド

WinPSKユーザーズガイド 8 ae4jy@mindspring.com - 1 - - 2 - 5 5.. 5 5 5.. 6 6 1 1 1 1 1 1 1 1-3 - Status Bar 36-4 - Peter Martinez, WinPSK MHz Pentium Windows95,98 NT4.0 DX VGA640x480 Help MB RAM CPU WinPSK CPU CPU Too Slow CPU

More information

第3章 OpenGL の基礎

第3章 OpenGL の基礎 3 OpenGL April 11, 2017 1 / 28 3.1 ( ) OpenGL OpenGL 2 / 28 3.2 OpenGL OpenGL OpenGL (Open Graphics Library) Silicon Graphics, Inc. 2 3 API (Application Program Interface) [4] UNIX OS Windows Macintosh

More information

CASE1 CASE /7 07/9 07/11 08/1 08/3 08/5 08/7

CASE1 CASE /7 07/9 07/11 08/1 08/3 08/5 08/7 CASE1 CASE1 300 250 200 150 100 50 0 07/7 07/9 07/11 08/1 08/3 08/5 08/7 1 2 3 4 5 Check Check PICK UP 5 profile info@digitalone.jp TEL.03-5206-5501 FAX.03-5206-5502 CASE2 CASE2 http://www.digitalone.jp/

More information

REVISION 2.85(6).I 1

REVISION 2.85(6).I 1 REVISION 2.85(6).I 1 2 3 4 5 6 7 8 KDC300 ユーザーマニュアル 1.1 同梱物 本機のパッケージには 以下の物が同梱されています 1 2 3 4 本体 バーコード Data Collector 1 台 USB ケーブル 1本 ネックストラップ 1 本 ソフトウェアとユーザーマニュアルを含む CD-ROM 1枚 KTSync - XP, Vista,Windows7,

More information

( ) 1 1: 1 #include <s t d i o. h> 2 #include <GL/ g l u t. h> 3 #include <math. h> 4 #include <s t d l i b. h> 5 #include <time. h>

( ) 1 1: 1 #include <s t d i o. h> 2 #include <GL/ g l u t. h> 3 #include <math. h> 4 #include <s t d l i b. h> 5 #include <time. h> 2007 12 5 1 2 2.1 ( ) 1 1: 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 #define H WIN 400 // 8 #define W WIN 300 // 9

More information

Quick Sort 計算機アルゴリズム特論 :2017 年度 只木進一

Quick Sort 計算機アルゴリズム特論 :2017 年度 只木進一 Quick Sort 計算機アルゴリズム特論 :2017 年度 只木進一 2 基本的考え方 リスト ( あるいは配列 )SS の中の ある要素 xx(pivot) を選択 xx より小さい要素からなる部分リスト SS 1 xx より大きい要素からなる部分リスト SS 2 xx は SS 1 または SS 2 に含まれる 長さが 1 になるまで繰り返す pivot xx の選び方として 中央の要素を選択すると効率が良い

More information

r3.dvi

r3.dvi 00 3 2000.6.10 0 Java ( 7 1 7 1 GSSM 1? 1 1.1 4 4a 4b / / 0 255 HTML X 0 255 16 (0,32,255 #0020FF Java xclock -bg #0020FF xclock ^C (Control C xclock 4c 1 import java.applet.applet; import java.awt.*;

More information

フリーセルプロの使い方

フリーセルプロの使い方 FreeCell Pro 011 2 FreeCell Pro 2002 FCPRO.HLP FreeCell Pro6.4 6.5 FreeCell Pro 1000 http://solitairelaboratory.com/fcpro.html FreeCell Pro 2009 2 3 FreeCell Pro Microsoft FC 0 Windows 3.1 FreeCell Pr

More information

明解Javaによるアルゴリズムとデータ構造

明解Javaによるアルゴリズムとデータ構造 74 searching 3 key Fig.3-1 75 2を探索 53を探索 3-1 5 2 1 4 3 7 4 を探索 Fig.3-1 76 3 linear searchsequential search 2 Fig.3-2 0 ❶ ❷ ❸ 配列の要素を先頭から順に走査していく 探索すべき値と等しい要素を発見 Fig.3-2 6 4 3 2 3-2Fig.3-3 77 5 Fig.3-3 0

More information

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value =

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value = Part2-1-3 Java (*) (*).class Java public static final 1 class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value

More information

TeraTerm Pro V.2.32の利用法

TeraTerm Pro V.2.32の利用法 Tera Term Pro ver.2.23 Windows Ver.2.1 2 Tterm23Zip Ttermp23 cedar ttermpro Ttermpro 3 Setup Terminal 3 Setup Window 4 Setup Font 5 Setup keyboard 6 Setup Serial port 7 Setup General 8 9 Tera Term Pro

More information