mirror of
https://github.com/Steffo99/unisteffo.git
synced 2024-11-26 09:54:19 +00:00
1 line
No EOL
8 KiB
Text
Generated
1 line
No EOL
8 KiB
Text
Generated
{"version":3,"sources":["webpack:///./components/latex.css","webpack:///./routes/ottimizzazioneLineare.js","webpack:///./components/panel.css","webpack:///./components/example.css","webpack:///./components/todo.js","webpack:///./components/panel.js","webpack:///./components/example.js","webpack:///./components/latex.js","webpack:///./components/split.js","webpack:///./components/todo.css","webpack:///./components/split.css"],"names":["module","exports","r","String","raw","OttimizzazioneLineare","render","title","href","Component","Todo","class","style","todo","this","props","children","Panel","getStyle","panel","undefined","id","Example","example","Latex","src","alt","latex","Split","Array","isArray","map","element","splitchild","split","splitparent"],"mappings":"4EACAA,EAAOC,QAAU,CAAC,MAAQ,iB,qmCCMpBC,EAAIC,OAAOC,IAEIC,E,gLACjBC,OAAA,WACI,OACI,aACI,sCACA,EAAC,IAAD,CAAOC,MAAO,aACV,EAAC,IAAD,CAAOA,MAAO,2BACV,WACI,OAAGC,KAAM,4EAAT,wBAGR,EAAC,IAAD,CAAOD,MAAO,UACV,WACI,EAAC,IAAD,gEAIZ,EAAC,IAAD,CAAOA,MAAO,WACV,EAAC,IAAD,CAAOA,MAAO,sBACV,+EAGA,WACI,EAAC,IAAD,KAAQL,EAAR,QAGR,EAAC,IAAD,CAAOK,MAAO,aACV,oGAGA,WACI,EAAC,IAAD,KAAQL,EAAR,OAEJ,WACI,EAAC,IAAD,KAAQA,EAAR,MADJ,6CAGA,EAAC,IAAD,WACO,EAAC,IAAD,KAAQA,EAAR,MADP,YAEI,YACI,YAAI,EAAC,IAAD,KAAQA,EAAR,OACJ,YAAI,EAAC,IAAD,KAAQA,EAAR,OACJ,YAAI,EAAC,IAAD,KAAQA,EAAR,SAGZ,EAAC,IAAD,mCAC+B,EAAC,IAAD,yBAD/B,wBACmF,EAAC,IAAD,KAAQA,EAAR,MADnF,S,GA5C2BO,c,2CCRnDT,EAAOC,QAAU,CAAC,MAAQ,iB,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ex__3Esv7\"};","import {Component} from 'preact'\r\nimport Split from \"../components/split\";\r\nimport Latex from \"../components/latex\";\r\nimport Panel from \"../components/panel\";\r\nimport Example from \"../components/example\";\r\nimport Todo from \"../components/todo\";\r\n\r\nconst r = String.raw;\r\n\r\nexport default class OttimizzazioneLineare extends Component {\r\n render() {\r\n return (\r\n <div>\r\n <h1>Ottimizzazione lineare</h1>\r\n <Split title={\"Materiale\"}>\r\n <Panel title={\"Videolezioni su YouTube\"}>\r\n <p>\r\n <a href={\"https://www.youtube.com/playlist?list=PLh0s0u9-Vwuor8YXTflVvIIU82PO1oDXS\"}>Link alla playlist</a>\r\n </p>\r\n </Panel>\r\n <Panel title={\"Slides\"}>\r\n <p>\r\n <Todo>TODO: Ripulire e caricare le slides da qualche parte</Todo>\r\n </p>\r\n </Panel>\r\n </Split>\r\n <Split title={\"Le basi\"}>\r\n <Panel title={\"Funzione obiettivo\"}>\r\n <p>\r\n La funzione obiettivo è la funzione con valore noto sconosciuto:\r\n </p>\r\n <p>\r\n <Latex>{r`z = C_1 \\cdot x_1 + C_2 \\cdot x_2 + C_n \\cdot x_n`}</Latex>\r\n </p>\r\n </Panel>\r\n <Panel title={\"Gradiente\"}>\r\n <p>\r\n Funzione della funzione obiettivo che indica la direzione del suo aumento più veloce.\r\n </p>\r\n <p>\r\n <Latex>{r`\\nabla f = \\frac{\\delta f}{\\delta x_1} e_1 + \\frac{\\delta f}{\\delta x_2} e_2 + \\frac{\\delta f}{\\delta x_n} e_n`}</Latex>\r\n </p>\r\n <p>\r\n <Latex>{r`e_i`}</Latex> è la direzione della coordinata i-esima.\r\n </p>\r\n <Example>\r\n Se <Latex>{r`n = 3`}</Latex>, allora:\r\n <ul>\r\n <li><Latex>{r`e_1 = (1, 0, 0)`}</Latex></li>\r\n <li><Latex>{r`e_2 = (0, 1, 0)`}</Latex></li>\r\n <li><Latex>{r`e_3 = (0, 0, 1)`}</Latex></li>\r\n </ul>\r\n </Example>\r\n <Example>\r\n Se la funzione obiettivo è <Latex>z = 2w + 3x + 4y</Latex>, il suo gradiente è <Latex>{r`\\nabla z = (2, 3, 4)`}</Latex>.\r\n </Example>\r\n </Panel>\r\n </Split>\r\n </div>\r\n )\r\n }\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"panel\":\"panel__1ubJw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"example\":\"example__P0_NL\"};","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn <span class={style.todo}>{this.props.children}</span>;\r\n\t}\r\n}\r\n","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\tgetStyle() {\n\t\treturn style.panel;\n\t};\n\n\trender() {\n\t\tlet title = null;\n\t\tif(this.props.title !== undefined) {\n\t\t\ttitle = (<h3>{this.props.title}</h3>);\n\t\t}\n\n\t\treturn (\n\t\t\t<div class={this.getStyle()} id={this.props.id}>\n\t\t\t\t{title}\n\t\t\t\t{this.props.children}\n\t\t\t</div>\n\t\t);\n\t}\n}\n","import style from \"./example.css\";\nimport {Component} from \"preact\";\n\nexport default class Example extends Component {\n render() {\n return (\n <blockquote class={style.example}>\n {this.props.children}\n </blockquote>\n )\n }\n}\n","import style from './latex.css';\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }`;\n\t\treturn (\n\t\t\t<img src={`https://latex.codecogs.com/svg.latex?${equation}`}\n\t\t\t\t alt={this.props.children}\n\t\t\t title={this.props.children}\n\t\t\t class={style.latex}\n\t\t\t/>);\n\t}\n}","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n\t let title = null;\n\t if(this.props.title !== undefined) {\n title = (<h2>{this.props.title}</h2>)\n }\n\n let children;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return (<div class={style.splitchild}>{element}</div>);\n });\n }\n else {\n children = <div class={style.splitchild}>{this.props.children}</div>;\n }\n\t\treturn (\n\t <div class={style.split}>\n {title}\n <div class={style.splitparent}>{children}</div>\n </div>\n );\n\t}\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"todo\":\"todo__1pOoN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"split\":\"split__3qCWp\",\"splitparent\":\"splitparent__2xagg\",\"splitchild\":\"splitchild__3cEoc\"};"],"sourceRoot":""} |