mirror of
https://github.com/Steffo99/unisteffo.git
synced 2024-11-23 00:14:21 +00:00
1 line
No EOL
45 KiB
Text
Generated
1 line
No EOL
45 KiB
Text
Generated
{"version":3,"sources":["webpack:///./components/Elements/Example.less","webpack:///./components/Elements/Box.less","webpack:///./components/Rendering/Latex.less","webpack:///./components/Elements/Todo.less","webpack:///./components/Elements/Section.js","webpack:///./components/Elements/Panel.less","webpack:///./components/Rendering/Latex.js","webpack:///./components/Elements/Timer.js","webpack:///../src/index.js","webpack:///./components/Elements/Todo.js","webpack:///./components/Layout/Split.js","webpack:///./components/Elements/Example.js","webpack:///./components/Elements/Box.js","webpack:///./components/Elements/Timer.less","webpack:///./components/Layout/Split.less","webpack:///./components/Elements/Panel.js","webpack:///./contexts/LatexDefaultInline.js","webpack:///./routes/CalcoloNumerico.js"],"names":["module","exports","props","title","children","renderColor","useContext","LatexRenderColor","defaultInline","LatexDefaultInline","undefined","inline","src","alt","class","style","latex","block","Timer","state","Date","now","timer","componentDidMount","this","setInterval","setState","componentWillUnmount","clearInterval","render","dateTo","className","parts","milliseconds","seconds","minutes","hours","days","to","timeLeft","Math","floor","expired","unknown","count","text","Component","getHookState","index","type","options","_hook","currentComponent","currentHook","hooks","__hooks","_list","_pendingEffects","length","push","useState","initialState","useReducer","invokeOrReturn","reducer","init","hookState","currentIndex","_reducer","_component","_value","nextValue","action","useEffect","callback","args","_skipEffects","argsChanged","_args","useLayoutEffect","_renderCallbacks","useRef","initialValue","useMemo","current","useImperativeHandle","ref","createHandle","concat","factory","_factory","useCallback","context","provider","_id","_context","sub","value","_defaultValue","useDebugValue","formatter","flushAfterPaintEffects","afterPaintEffects","some","component","_parentDom","forEach","invokeCleanup","invokeEffect","e","_catchError","_vnode","hook","_cleanup","oldArgs","newArgs","arg","f","prevRaf","oldBeforeRender","_render","oldAfterDiff","diffed","oldCommit","_commit","oldBeforeUnmount","unmount","vnode","c","requestAnimationFrame","raf","done","clearTimeout","timeout","cancelAnimationFrame","setTimeout","window","commitQueue","filter","cb","Array","isArray","map","element","splitchild","split","splitparent","example","BoxColors","Object","freeze","RED","red","ORANGE","orange","YELLOW","yellow","LIME","lime","CYAN","cyan","BLUE","blue","MAGENTA","magenta","DEFAULT","default","color","box","contents","createContext","r","String","raw","Provider","href"],"mappings":"4EACAA,EAAOC,QAAU,CAAC,QAAU,mB,mBCA5BD,EAAOC,QAAU,CAAC,IAAM,aAAa,QAAU,iBAAiB,IAAM,aAAa,OAAS,gBAAgB,OAAS,gBAAgB,KAAO,cAAc,KAAO,cAAc,KAAO,cAAc,QAAU,mB,iBCA9MD,EAAOC,QAAU,CAAC,OAAS,gBAAgB,MAAQ,iB,iBCAnDD,EAAOC,QAAU,CAAC,KAAO,gB,mCCDzB,wCAGe,aAAUC,GACrB,OACI,EAAC,WAAD,KACI,YACKA,EAAMC,OAEX,EAAC,IAAD,KACKD,EAAME,c,yCCTvBJ,EAAOC,QAAU,CAAC,MAAQ,eAAe,SAAW,oB,mCCDpD,yEAKe,aAASC,GAEvB,IAAIG,EAAcC,YAAWC,KACzBC,EAAgBF,YAAWG,KAU/B,OAGE,cAVkBC,IAAjBR,EAAMS,OACIH,EAGAN,EAAMS,QAMjB,CAAKC,IAAG,yCAFM,qBAAqBP,EAAxB,KAAwCH,EAAME,SAA9C,MAGTS,IAAKX,EAAME,SACXD,MAAOD,EAAME,SACbU,MAAOC,IAAMC,MAAQ,IAAMD,IAAMJ,QAOnC,CAAKC,IAAG,yCAFM,YAAYP,EAAf,KAA+BH,EAAME,SAArC,MAGTS,IAAKX,EAAME,SACXD,MAAOD,EAAME,SACbU,MAAOC,IAAMC,MAAQ,IAAMD,IAAME,W,8IC9BjBC,E,YACjB,aAAc,aACV,sBACKC,MAAQ,CACT,IAAOC,KAAKC,OAEhB,EAAKC,MAAQ,KALH,E,0HAQdC,kBAAA,WAAoB,WAChBC,KAAKF,MAAQG,aAAY,WACrB,EAAKC,SAAS,CAAC,IAAON,KAAKC,UAC5B,M,EAGPM,qBAAA,WACsB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AAO5K,MAAO,oBACV,6EAGA,WACI,EAAC,IAAD,KAAQwK,EAAR,QAGR,EAAC,IAAD,CAAOxK,MAAO,aACV,2EAGA,WACI,EAAC,IAAD,KAAQwK,EAAR,QAGR,EAAC,IAAD,CAAOxK,MAAO,aACV,0FAGA,WACI,EAAC,IAAD,KAAQwK,EAAR,SAIZ,EAAC,IAAD,KACI,EAAC,IAAD,CAAOxK,MAAO,4BACV,0GAGA,kDAGA,WACI,EAAC,IAAD,KAAQwK,EAAR,OAEJ,EAAC,IAAD,KACI,EAAC,IAAD,YADJ,2GAIJ,EAAC,IAAD,CAAOxK,MAAO,oBACV,yGAGA,WACI,EAAC,IAAD,KAAQwK,EAAR,QAGR,EAAC,IAAD,CAAOxK,MAAO,aACV,4GAGA,WACI,EAAC,IAAD,KAAQwK,EAAR,QAGR,EAAC,IAAD,CAAOxK,MAAO,aACV,yFAGA,WACI,EAAC,IAAD,KAAQwK,EAAR,SAIZ,EAAC,IAAD,KACI,EAAC,IAAD,CAAOxK,MAAO,yCACV,6FAGA,WACI,EAAC,IAAD,KAAQwK,EAAR,SAIZ,EAAC,IAAD,CAASxK,MAAO,mBACZ,EAAC,IAAD,CAAOA,MAAO,UACV,yIAGA,+HACqH,uBADrH,MACuI,iCADvI,aAGA,4EACkE,uCADlE,SACuG,mCADvG,MAIJ,EAAC,IAAD,CAAOA,MAAO,6BACV,kB","file":"route-CalcoloNumerico.chunk.52fc3.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"example\":\"example__9acWs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"box\":\"box__3cKyY\",\"default\":\"default__v-emJ\",\"red\":\"red__339Cz\",\"orange\":\"orange__24_8v\",\"yellow\":\"yellow__1Jo9W\",\"lime\":\"lime__34yV5\",\"cyan\":\"cyan__3RqLr\",\"blue\":\"blue__13Wnj\",\"magenta\":\"magenta__2tkzq\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"inline\":\"inline__1yl8V\",\"block\":\"block__fPiiB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"todo\":\"todo__2IWIS\"};","import Split from \"../Layout/Split\";\r\nimport {Fragment} from \"preact\";\r\n\r\nexport default function (props) {\r\n return (\r\n <Fragment>\r\n <h2>\r\n {props.title}\r\n </h2>\r\n <Split>\r\n {props.children}\r\n </Split>\r\n </Fragment>\r\n );\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"title\":\"title__3ZVpg\",\"contents\":\"contents__20_NI\"};","import style from './Latex.less';\nimport {useContext} from \"preact/hooks\";\nimport LatexRenderColor from \"../../contexts/LatexRenderColor\";\nimport LatexDefaultInline from \"../../contexts/LatexDefaultInline\";\n\nexport default function(props) {\n\t// black, blue, brown, cyan, darkgray, gray, green, lightgray, lime, magenta, olive, orange, pink, purple, red, teal, violet, white, yellow\n\tlet renderColor = useContext(LatexRenderColor);\n\tlet defaultInline = useContext(LatexDefaultInline);\n\n\tlet is_inline;\n\tif(props.inline === undefined) {\n\t\tis_inline = defaultInline;\n\t}\n\telse {\n\t\tis_inline = props.inline;\n\t}\n\n\tif(is_inline) {\n\t\tlet equation = `\\\\inline {\\\\color{${renderColor}} ${props.children} }`;\n\t\treturn (\n\t\t\t<img src={`https://latex.codecogs.com/svg.latex?${equation}`}\n\t\t\t\t alt={props.children}\n\t\t\t\t title={props.children}\n\t\t\t\t class={style.latex + \" \" + style.inline}\n\t\t\t/>\n\t\t);\n\t}\n\telse {\n\t\tlet equation = `{\\\\color{${renderColor}} ${props.children} }`;\n\t\treturn (\n\t\t\t<img src={`https://latex.codecogs.com/svg.latex?${equation}`}\n\t\t\t\t alt={props.children}\n\t\t\t\t title={props.children}\n\t\t\t\t class={style.latex + \" \" + style.block}\n\t\t\t/>\n\t\t);\n\t}\n}\n","import {Component} from 'preact'\nimport style from \"./Timer.less\"\n\n\nexport default class Timer extends Component {\n constructor() {\n super();\n this.state = {\n \"now\": Date.now()\n };\n this.timer = null;\n }\n\n componentDidMount() {\n this.timer = setInterval(() => {\n this.setState({\"now\": Date.now()})\n }, 1000)\n }\n\n componentWillUnmount() {\n if(this.timer !== null) {\n clearInterval(this.timer)\n }\n }\n\n render() {\n let dateTo = \"Unknown date\";\n let className = style.timer;\n\n let parts = {\n milliseconds: \"?\",\n seconds: \"?\",\n minutes: \"?\",\n hours: \"?\",\n days: \"?\",\n };\n\n if(this.props.to) {\n dateTo = new Date(this.props.to);\n let timeLeft = dateTo - this.state.now;\n\n if(timeLeft > 0) {\n parts = {\n milliseconds: timeLeft % 1000,\n seconds: Math.floor(timeLeft / 1000) % 60,\n minutes: Math.floor(timeLeft / 60000) % 60,\n hours: Math.floor(timeLeft / 3600000) % 24,\n days: Math.floor(timeLeft / 86400000),\n };\n }\n\n else {\n parts = {\n milliseconds: 0,\n seconds: 0,\n minutes: 0,\n hours: 0,\n days: 0,\n };\n\n className += \" \" + style.expired;\n }\n }\n else {\n className += \" \" + style.unknown;\n }\n\n return (\n <div class={className} title={dateTo}>\n <div class={style.days + \" \" + style.count}>\n {parts.days}\n </div>\n <div className={style.days + \" \" + style.text}>\n giorni\n </div>\n <div class={style.hours + \" \" + style.count}>\n {parts.hours}\n </div>\n <div className={style.hours + \" \" + style.text}>\n ore\n </div>\n <div class={style.minutes + \" \" + style.count}>\n {parts.minutes}\n </div>\n <div className={style.minutes + \" \" + style.text}>\n minuti\n </div>\n <div class={style.seconds + \" \" + style.count}>\n {parts.seconds}\n </div>\n <div class={style.seconds + \" \" + style.text}>\n secondi\n </div>\n </div>\n )\n }\n}\n","import { options } from 'preact';\n\n/** @type {number} */\nlet currentIndex;\n\n/** @type {import('./internal').Component} */\nlet currentComponent;\n\n/** @type {number} */\nlet currentHook = 0;\n\n/** @type {Array<import('./internal').Component>} */\nlet afterPaintEffects = [];\n\nlet oldBeforeRender = options._render;\nlet oldAfterDiff = options.diffed;\nlet oldCommit = options._commit;\nlet oldBeforeUnmount = options.unmount;\n\nconst RAF_TIMEOUT = 100;\nlet prevRaf;\n\noptions._render = vnode => {\n\tif (oldBeforeRender) oldBeforeRender(vnode);\n\n\tcurrentComponent = vnode._component;\n\tcurrentIndex = 0;\n\n\tconst hooks = currentComponent.__hooks;\n\tif (hooks) {\n\t\thooks._pendingEffects.forEach(invokeCleanup);\n\t\thooks._pendingEffects.forEach(invokeEffect);\n\t\thooks._pendingEffects = [];\n\t}\n};\n\noptions.diffed = vnode => {\n\tif (oldAfterDiff) oldAfterDiff(vnode);\n\n\tconst c = vnode._component;\n\tif (c && c.__hooks && c.__hooks._pendingEffects.length) {\n\t\tafterPaint(afterPaintEffects.push(c));\n\t}\n};\n\noptions._commit = (vnode, commitQueue) => {\n\tcommitQueue.some(component => {\n\t\ttry {\n\t\t\tcomponent._renderCallbacks.forEach(invokeCleanup);\n\t\t\tcomponent._renderCallbacks = component._renderCallbacks.filter(cb =>\n\t\t\t\tcb._value ? invokeEffect(cb) : true\n\t\t\t);\n\t\t} catch (e) {\n\t\t\tcommitQueue.some(c => {\n\t\t\t\tif (c._renderCallbacks) c._renderCallbacks = [];\n\t\t\t});\n\t\t\tcommitQueue = [];\n\t\t\toptions._catchError(e, component._vnode);\n\t\t}\n\t});\n\n\tif (oldCommit) oldCommit(vnode, commitQueue);\n};\n\noptions.unmount = vnode => {\n\tif (oldBeforeUnmount) oldBeforeUnmount(vnode);\n\n\tconst c = vnode._component;\n\tif (c && c.__hooks) {\n\t\ttry {\n\t\t\tc.__hooks._list.forEach(invokeCleanup);\n\t\t} catch (e) {\n\t\t\toptions._catchError(e, c._vnode);\n\t\t}\n\t}\n};\n\n/**\n * Get a hook's state from the currentComponent\n * @param {number} index The index of the hook to get\n * @param {number} type The index of the hook to get\n * @returns {import('./internal').HookState}\n */\nfunction getHookState(index, type) {\n\tif (options._hook) {\n\t\toptions._hook(currentComponent, index, currentHook || type);\n\t}\n\tcurrentHook = 0;\n\n\t// Largely inspired by:\n\t// * https://github.com/michael-klein/funcy.js/blob/f6be73468e6ec46b0ff5aa3cc4c9baf72a29025a/src/hooks/core_hooks.mjs\n\t// * https://github.com/michael-klein/funcy.js/blob/650beaa58c43c33a74820a3c98b3c7079cf2e333/src/renderer.mjs\n\t// Other implementations to look at:\n\t// * https://codesandbox.io/s/mnox05qp8\n\tconst hooks =\n\t\tcurrentComponent.__hooks ||\n\t\t(currentComponent.__hooks = {\n\t\t\t_list: [],\n\t\t\t_pendingEffects: []\n\t\t});\n\n\tif (index >= hooks._list.length) {\n\t\thooks._list.push({});\n\t}\n\treturn hooks._list[index];\n}\n\n/**\n * @param {import('./index').StateUpdater<any>} initialState\n */\nexport function useState(initialState) {\n\tcurrentHook = 1;\n\treturn useReducer(invokeOrReturn, initialState);\n}\n\n/**\n * @param {import('./index').Reducer<any, any>} reducer\n * @param {import('./index').StateUpdater<any>} initialState\n * @param {(initialState: any) => void} [init]\n * @returns {[ any, (state: any) => void ]}\n */\nexport function useReducer(reducer, initialState, init) {\n\t/** @type {import('./internal').ReducerHookState} */\n\tconst hookState = getHookState(currentIndex++, 2);\n\thookState._reducer = reducer;\n\tif (!hookState._component) {\n\t\thookState._component = currentComponent;\n\n\t\thookState._value = [\n\t\t\t!init ? invokeOrReturn(undefined, initialState) : init(initialState),\n\n\t\t\taction => {\n\t\t\t\tconst nextValue = hookState._reducer(hookState._value[0], action);\n\t\t\t\tif (hookState._value[0] !== nextValue) {\n\t\t\t\t\thookState._value[0] = nextValue;\n\t\t\t\t\thookState._component.setState({});\n\t\t\t\t}\n\t\t\t}\n\t\t];\n\t}\n\n\treturn hookState._value;\n}\n\n/**\n * @param {import('./internal').Effect} callback\n * @param {any[]} args\n */\nexport function useEffect(callback, args) {\n\t/** @type {import('./internal').EffectHookState} */\n\tconst state = getHookState(currentIndex++, 3);\n\tif (!options._skipEffects && argsChanged(state._args, args)) {\n\t\tstate._value = callback;\n\t\tstate._args = args;\n\n\t\tcurrentComponent.__hooks._pendingEffects.push(state);\n\t}\n}\n\n/**\n * @param {import('./internal').Effect} callback\n * @param {any[]} args\n */\nexport function useLayoutEffect(callback, args) {\n\t/** @type {import('./internal').EffectHookState} */\n\tconst state = getHookState(currentIndex++, 4);\n\tif (!options._skipEffects && argsChanged(state._args, args)) {\n\t\tstate._value = callback;\n\t\tstate._args = args;\n\n\t\tcurrentComponent._renderCallbacks.push(state);\n\t}\n}\n\nexport function useRef(initialValue) {\n\tcurrentHook = 5;\n\treturn useMemo(() => ({ current: initialValue }), []);\n}\n\n/**\n * @param {object} ref\n * @param {() => object} createHandle\n * @param {any[]} args\n */\nexport function useImperativeHandle(ref, createHandle, args) {\n\tcurrentHook = 6;\n\tuseLayoutEffect(\n\t\t() => {\n\t\t\tif (typeof ref == 'function') ref(createHandle());\n\t\t\telse if (ref) ref.current = createHandle();\n\t\t},\n\t\targs == null ? args : args.concat(ref)\n\t);\n}\n\n/**\n * @param {() => any} factory\n * @param {any[]} args\n */\nexport function useMemo(factory, args) {\n\t/** @type {import('./internal').MemoHookState} */\n\tconst state = getHookState(currentIndex++, 7);\n\tif (argsChanged(state._args, args)) {\n\t\tstate._args = args;\n\t\tstate._factory = factory;\n\t\treturn (state._value = factory());\n\t}\n\n\treturn state._value;\n}\n\n/**\n * @param {() => void} callback\n * @param {any[]} args\n */\nexport function useCallback(callback, args) {\n\tcurrentHook = 8;\n\treturn useMemo(() => callback, args);\n}\n\n/**\n * @param {import('./internal').PreactContext} context\n */\nexport function useContext(context) {\n\tconst provider = currentComponent.context[context._id];\n\t// We could skip this call here, but than we'd not call\n\t// `options._hook`. We need to do that in order to make\n\t// the devtools aware of this hook.\n\tconst state = getHookState(currentIndex++, 9);\n\t// The devtools needs access to the context object to\n\t// be able to pull of the default value when no provider\n\t// is present in the tree.\n\tstate._context = context;\n\tif (!provider) return context._defaultValue;\n\t// This is probably not safe to convert to \"!\"\n\tif (state._value == null) {\n\t\tstate._value = true;\n\t\tprovider.sub(currentComponent);\n\t}\n\treturn provider.props.value;\n}\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, cb?: (value: T) => string | number) => void}\n */\nexport function useDebugValue(value, formatter) {\n\tif (options.useDebugValue) {\n\t\toptions.useDebugValue(formatter ? formatter(value) : value);\n\t}\n}\n\nexport function useErrorBoundary(cb) {\n\tconst state = getHookState(currentIndex++, 10);\n\tconst errState = useState();\n\tstate._value = cb;\n\tif (!currentComponent.componentDidCatch) {\n\t\tcurrentComponent.componentDidCatch = err => {\n\t\t\tif (state._value) state._value(err);\n\t\t\terrState[1](err);\n\t\t};\n\t}\n\treturn [\n\t\terrState[0],\n\t\t() => {\n\t\t\terrState[1](undefined);\n\t\t}\n\t];\n}\n\n/**\n * After paint effects consumer.\n */\nfunction flushAfterPaintEffects() {\n\tafterPaintEffects.some(component => {\n\t\tif (component._parentDom) {\n\t\t\ttry {\n\t\t\t\tcomponent.__hooks._pendingEffects.forEach(invokeCleanup);\n\t\t\t\tcomponent.__hooks._pendingEffects.forEach(invokeEffect);\n\t\t\t\tcomponent.__hooks._pendingEffects = [];\n\t\t\t} catch (e) {\n\t\t\t\tcomponent.__hooks._pendingEffects = [];\n\t\t\t\toptions._catchError(e, component._vnode);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t});\n\tafterPaintEffects = [];\n}\n\n/**\n * Schedule a callback to be invoked after the browser has a chance to paint a new frame.\n * Do this by combining requestAnimationFrame (rAF) + setTimeout to invoke a callback after\n * the next browser frame.\n *\n * Also, schedule a timeout in parallel to the the rAF to ensure the callback is invoked\n * even if RAF doesn't fire (for example if the browser tab is not visible)\n *\n * @param {() => void} callback\n */\nfunction afterNextFrame(callback) {\n\tconst done = () => {\n\t\tclearTimeout(timeout);\n\t\tcancelAnimationFrame(raf);\n\t\tsetTimeout(callback);\n\t};\n\tconst timeout = setTimeout(done, RAF_TIMEOUT);\n\n\tlet raf;\n\tif (typeof window != 'undefined') {\n\t\traf = requestAnimationFrame(done);\n\t}\n}\n\n// Note: if someone used options.debounceRendering = requestAnimationFrame,\n// then effects will ALWAYS run on the NEXT frame instead of the current one, incurring a ~16ms delay.\n// Perhaps this is not such a big deal.\n/**\n * Schedule afterPaintEffects flush after the browser paints\n * @param {number} newQueueLength\n */\nfunction afterPaint(newQueueLength) {\n\tif (newQueueLength === 1 || prevRaf !== options.requestAnimationFrame) {\n\t\tprevRaf = options.requestAnimationFrame;\n\t\t(prevRaf || afterNextFrame)(flushAfterPaintEffects);\n\t}\n}\n\n/**\n * @param {import('./internal').EffectHookState} hook\n */\nfunction invokeCleanup(hook) {\n\tif (typeof hook._cleanup == 'function') hook._cleanup();\n}\n\n/**\n * Invoke a Hook's effect\n * @param {import('./internal').EffectHookState} hook\n */\nfunction invokeEffect(hook) {\n\thook._cleanup = hook._value();\n}\n\n/**\n * @param {any[]} oldArgs\n * @param {any[]} newArgs\n */\nfunction argsChanged(oldArgs, newArgs) {\n\treturn !oldArgs || newArgs.some((arg, index) => arg !== oldArgs[index]);\n}\n\nfunction invokeOrReturn(arg, f) {\n\treturn typeof f == 'function' ? f(arg) : f;\n}\n","import style from \"./Todo.less\";\n\nexport default function (props) {\n\tif(process.env.NODE_ENV === \"development\") {\n\t\treturn <span class={style.todo}>{props.children}</span>;\n\t}\n\telse {\n\t\treturn null;\n\t}\n}\n","import style from \"./Split.less\";\r\n\r\nexport default function (props) {\r\n let children;\r\n\r\n if(Array.isArray(props.children)) {\r\n children = props.children.map(element => {\r\n return (\r\n <div class={style.splitchild}>\r\n {element}\r\n </div>\r\n );\r\n });\r\n }\r\n\r\n else {\r\n children = (\r\n <div class={style.splitchild}>\r\n {props.children}\r\n </div>\r\n );\r\n }\r\n return (\r\n <div class={style.split}>\r\n <div class={style.splitparent}>{children}</div>\r\n </div>\r\n );\r\n}\r\n","import style from \"./Example.less\";\r\nimport {Component} from \"preact\";\r\n\r\nexport default function(props) {\r\n return (\r\n <div class={style.example}>\r\n {props.children}\r\n </div>\r\n );\r\n}\r\n","import style from \"./Box.less\";\r\n\r\nexport const BoxColors = Object.freeze({\r\n RED: style.red,\r\n ORANGE: style.orange,\r\n YELLOW: style.yellow,\r\n LIME: style.lime,\r\n CYAN: style.cyan,\r\n BLUE: style.blue,\r\n MAGENTA: style.magenta,\r\n DEFAULT: style.default\r\n})\r\n\r\nexport default function (props) {\r\n let color = BoxColors.DEFAULT;\r\n if(props.color) {\r\n color = props.color;\r\n }\r\n\r\n return (\r\n <div class={style.box + \" \" + color}>\r\n {props.children}\r\n </div>\r\n );\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"timer\":\"timer__3Z2pL\",\"days\":\"days__myhe2\",\"hours\":\"hours__3JUDn\",\"minutes\":\"minutes__24lD7\",\"seconds\":\"seconds__2vZ4f\",\"count\":\"count__chi9X\",\"text\":\"text__34ldC\",\"unknown\":\"unknown__3sT2P\",\"expired\":\"expired__zNiuP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"splitparent\":\"splitparent__3-wBs\",\"splitchild\":\"splitchild__begkX\"};","import style from \"./Panel.less\";\nimport Box from \"./Box\";\n\nexport default function(props) {\n\treturn (\n\t\t<Box color={props.color}>\n\t\t\t<h3 class={style.title}>\n\t\t\t\t{props.title}\n\t\t\t</h3>\n\t\t\t<div class={style.contents}>\n\t\t\t\t{props.children}\n\t\t\t</div>\n\t\t</Box>\n\t);\n}\n","import {createContext} from \"preact\";\r\n\r\nexport default createContext(true);\r\n","import {Component} from 'preact'\nimport Section from \"../components/Elements/Section\";\nimport Latex from \"../components/Rendering/Latex\";\nimport Panel from \"../components/Elements/Panel\";\nimport Example from \"../components/Elements/Example\";\nimport Todo from \"../components/Elements/Todo\";\nimport Timer from \"../components/Elements/Timer\";\nimport LatexDefaultInline from \"../contexts/LatexDefaultInline\";\n\nconst r = String.raw;\n\nexport default function (props) {\n return (\n <LatexDefaultInline.Provider value={true}>\n <div>\n <h1>Calcolo Numerico</h1>\n <Section title={\"Unimore\"}>\n <Panel title={\"Email della prof.ssa\"}>\n <p>\n <a href={\"mailto:silvia.bonettini@unimore.it\"}>silvia.bonettini@unimore.it</a>\n </p>\n </Panel>\n <Panel title={\"Orale\"}>\n <p>\n E' composto da:\n </p>\n <ul>\n <li>2 domande sugli argomenti teorici</li>\n <li>1 domanda di implementazione algoritmo in MATLAB <small>(facoltativa per i punteggi migliori del TBL)</small></li>\n </ul>\n </Panel>\n <Panel title={\"Prossimi appelli\"}>\n <ol>\n <li><Timer to={\"2020-06-15\"}/></li>\n <li><Timer to={\"2020-06-22\"}/></li>\n <li><Timer to={\"2020-07-06\"}/></li>\n <li><Timer to={\"2020-07-13\"}/></li>\n <li><Timer to={\"2020-07-20\"}/></li>\n <li><Timer to={\"2020-07-27\"}/></li>\n </ol>\n </Panel>\n </Section>\n <Section title={\"Algoritmi\"}>\n <Panel title={\"Algoritmi numerici\"}>\n <p>\n Algoritmi che hanno:\n </p>\n <ul>\n <li>numeri reali in input e output</li>\n <li>successioni delle quattro operazioni aritmetiche fondamentali come passi</li>\n </ul>\n </Panel>\n </Section>\n <Section title={\"Errore di rappresentazione\"}>\n <Panel title={\"Errore di rappresentazione\"}>\n <p>\n Con i numeri floating point può capitare che un certo numero <Latex>{r`\\alpha`}</Latex> non sia rappresentato correttamente.\n </p>\n <p>\n In tal caso, il numero si indica con <Latex>{r`\\alpha^*`}</Latex>.\n </p>\n </Panel>\n <Panel title={\"Errore assoluto\"}>\n <p>\n È la differenza tra il numero desiderato e il numero rappresentato:\n </p>\n <p>\n <Latex>{r`E_a = \\left | \\alpha - \\alpha^* \\right |`}</Latex>\n </p>\n <Example>\n Vale sempre 0, tranne in caso di underflow o overflow.\n </Example>\n </Panel>\n <Panel title={\"Errore relativo\"}>\n <p>\n Indica quanto il numero rappresentato differisce dal numero desiderato:\n </p>\n <p>\n <Latex>{r`\\forall \\alpha \\neq 0, E_r = \\frac{E_a}{\\left | \\alpha \\right |}`}</Latex>\n </p>\n </Panel>\n </Section>\n <Section title={\"Floating point\"}>\n <Panel title={\"Precisione di macchina\"}>\n <p>\n L'errore relativo di un numero reale rappresentato in virgola mobile è minore o uguale alla <i>precisione di macchina</i>:\n </p>\n <p>\n <Latex>{r`E_r \\leq k \\cdot \\beta^{1-t}`}</Latex>\n </p>\n <ul>\n <li>\n <Latex>\\beta</Latex> è uguale alla base utilizzata (solitamente 2).\n </li>\n <li>\n <Latex>t</Latex> è uguale al numero di cifre della mantissa.\n </li>\n <li>\n <Latex>k</Latex> è uguale a <Latex>1</Latex> se il numero viene rappresentato per troncamento oppure a <Latex>{r`\\frac{1}{2}`}</Latex> se viene rappresentato per arrotondamento.\n </li>\n </ul>\n </Panel>\n </Section>\n <Section title={\"Operazioni di macchina\"}>\n <Panel title={\"Un nuovo insieme\"}>\n <p>\n L'insieme <Latex>F</Latex> è il sottoinsieme dei numeri reali rappresentabili in floating point dalla macchina che stiamo usando.\n </p>\n <p>\n Operazioni tra elementi di <Latex>F</Latex> producono risultati in <Latex>{r`\\mathbb{R}`}</Latex>, che però decaderanno nuovamente a elementi di <Latex>F</Latex>, perdendo informazioni.\n </p>\n <p>\n Il teorema della precisione di macchina si applica quindi anche ai risultati delle operazioni.\n </p>\n </Panel>\n <Panel title={\"Caratteristiche delle operazioni di macchina\"}>\n <ul>\n <li>Hanno più di un elemento neutro.</li>\n <li>Un numero ha più opposti.</li>\n <li>Non sono associative.</li>\n <li>Non sono distributive.</li>\n <li>Non vale la legge di annullamento del prodotto.</li>\n </ul>\n </Panel>\n <Panel title={\"La funzione fl\"}>\n <p>\n Indica che un valore è soggetto alla precisione di macchina:\n </p>\n <p>\n <Latex>{r`fl(x) = (x)(1 + \\epsilon_x)`}</Latex>\n </p>\n </Panel>\n </Section>\n <Section title={\"Errori nelle operazioni di macchina\"}>\n <Panel title={\"Errore inerente\"}>\n <p>\n Errore dipendente <b>solo dai dati</b>.\n </p>\n <p>\n <Todo>TODO: qual è la formula?</Todo>\n </p>\n <p>\n È l'errore che si presenterebbe se <Latex>{r`\\epsilon_1 = \\epsilon_2 = \\dots = 0`}</Latex>.\n </p>\n </Panel>\n <Panel title={\"Errore algoritmico\"}>\n <p>\n Errore dipendente <b>solo dalle operazioni effettuate</b>.\n </p>\n <p>\n <Todo>TODO: qual è la formula?</Todo>\n </p>\n <p>\n È l'errore che si presenterebbe se <Latex>{r`\\epsilon_x = \\epsilon_y = \\dots = 0`}</Latex>.\n </p>\n </Panel>\n </Section>\n <Section>\n <Panel title={\"Problema ben condizionato\"}>\n <p>\n Un problema poco sensibile all'<b>errore inerente</b>.\n </p>\n <Example>\n <Latex>{r`y = \\frac{1}{x}`}</Latex> è mal condizionato intorno allo 0 e ben condizionato lontano dallo 0.\n </Example>\n </Panel>\n <Panel title={\"Algoritmo stabile\"}>\n <p>\n Un algoritmo poco sensibile all'<b>errore algoritmico</b>.\n </p>\n <Example>\n <p>\n Cerchiamo un algoritmo che risolva <Latex>{r`2x = 4`}</Latex>.\n </p>\n <p>\n Calcolare prima <Latex>{r`t = fl \\left( \\frac{1}{4} \\right)`}</Latex> e poi <Latex>{r`x^* = fl ( 2 \\cdot t )`}</Latex> porta a una perdita di precisione.\n </p>\n <p>\n Calcolare direttamente <Latex>{r`x^* = fl \\left( \\frac{2}{4} \\right)`}</Latex> non ha alcuna perdita di precisione e rende l'algoritmo <b>più stabile</b> del precedente.\n </p>\n </Example>\n </Panel>\n </Section>\n <Section>\n <Panel title={\"Indice di condizionamento\"}>\n <p>\n È il coefficiente di proporzionalità tra i dati e l'<b>errore inerente</b>.\n </p>\n <p>\n Essendo sempre maggiore di uno, si può dire che sia un coefficiente di amplificazione.\n </p>\n <p>\n Minore è l'indice di condizionamento, meglio condizionato è un problema.\n </p>\n </Panel>\n <Panel title={\"Indice algoritmico\"}>\n <p>\n È il coefficiente di proporzionalità tra i dati e l'<b>errore algoritmico</b>.\n </p>\n <p>\n Essendo sempre maggiore di uno, si può dire che sia un coefficiente di amplificazione.\n </p>\n </Panel>\n </Section>\n <Section title={\"Le cose più difficili di Algebra Lineare\"}>\n <Panel title={\"Matrice singolare\"}>\n <p>\n Matrice con determinante 0.\n </p>\n <p>\n Le matrici singolari <b>non sono invertibili</b>.\n </p>\n </Panel>\n </Section>\n <Section title={\"Norme\"}>\n <Panel title={\"Norma vettoriale\"}>\n <p>\n Funzione che associa un valore positivo a ogni vettore diverso da 0, e 0 al vettore zero.\n </p>\n <Example>\n <a href={\"https://it.wikipedia.org/wiki/Norma_(matematica)#/media/File:Vector_norms.svg\"}>Esempi su Wikipedia</a>\n </Example>\n </Panel>\n <Panel title={\"Norma a infinito\"}>\n <p>\n Massimo dei valori assoluti di tutti gli elementi del vettore.\n </p>\n <p>\n <Latex>{r`\\Vert x \\Vert_\\infty = max_{i = 1..n} | x_i |`}</Latex>\n </p>\n </Panel>\n <Panel title={\"Norma a 1\"}>\n <p>\n Somma dei valori assoluti di tutti gli elementi del vettore.\n </p>\n <p>\n <Latex>{r`\\Vert x \\Vert_1 = \\sum_{i = 1}^n | x_i |`}</Latex>\n </p>\n </Panel>\n <Panel title={\"Norma a 2\"}>\n <p>\n Radice quadrata della somma dei quadrati di tutti gli elementi del vettore.\n </p>\n <p>\n <Latex>{r`\\Vert x \\Vert_2 = \\sqrt{\\sum_{i = 1}^n x_i^2}`}</Latex>\n </p>\n </Panel>\n </Section>\n <Section>\n <Panel title={\"Norma matriciale indotta\"}>\n <p>\n Funzione che associa un valore positivo a ogni matrice diversa da 0, e 0 alla matrice zero.\n </p>\n <p>\n Si ricavano dalle norme vettoriali:\n </p>\n <p>\n <Latex>{r`\\Vert A \\Vert = sup_{x \\in \\mathbb{R}, x \\neq 0} \\frac{\\Vert A \\cdot x \\Vert}{\\Vert x \\Vert}`}</Latex>\n </p>\n <Example>\n <Latex>sup</Latex> è l'estremo superiore di un insieme. E' molto simile al massimo: ricordi le prime lezioni di Analisi?\n </Example>\n </Panel>\n <Panel title={\"Norma a infinito\"}>\n <p>\n Massimo delle somme dei valori assoluti di tutti gli elementi di ogni riga di una matrice.\n </p>\n <p>\n <Latex>{r`\\Vert A \\Vert_\\infty = max_{i = 1..n} \\sum_{j = 1}^n | a_{ij} |`}</Latex>\n </p>\n </Panel>\n <Panel title={\"Norma a 1\"}>\n <p>\n Massimo delle somme dei valori assoluti di tutti gli elementi di ogni colonna di una matrice.\n </p>\n <p>\n <Latex>{r`\\Vert A \\Vert_1 = max_{j = 1..n} \\sum_{i = 1}^n | a_{ij} |`}</Latex>\n </p>\n </Panel>\n <Panel title={\"Norma a 2\"}>\n <p>\n Radice quadrata del rango del prodotto tra una matrice e la sua trasposta.\n </p>\n <p>\n <Latex>{r`\\Vert A \\Vert_2 = \\sqrt{\\rho ( A^T \\times A ) }`}</Latex>\n </p>\n </Panel>\n </Section>\n <Section>\n <Panel title={\"Errore relativo tra vettori e matrici\"}>\n <p>\n Le norme sono usate per calcolare l'errore relativo tra due vettori o matrici:\n </p>\n <p>\n <Latex>{r`\\frac{\\Vert x - y \\Vert}{\\Vert x \\Vert}`}</Latex>\n </p>\n </Panel>\n </Section>\n <Section title={\"Fattorizzazione\"}>\n <Panel title={\"Cos'è?\"}>\n <p>\n La fattorizzazione è il processo che permette di risolvere sistemi di equazioni lineari rappresentati in forma di matrice.\n </p>\n <p>\n Esistono molteplici algoritmi in grado di realizzarla: mentre tutti portano alla stessa soluzione, possono avere <b>velocità</b> e <b>indici algoritmici</b> diversi.\n </p>\n <p>\n Il sistema lineare da risolvere viene diviso in due parti: la <i>matrice dei coefficienti</i> e il <i>vettore termine noto</i>.\n </p>\n </Panel>\n <Panel title={\"Teorema di Rouché-Capélli\"}>\n <p>\n\n </p>\n </Panel>\n </Section>\n </div>\n </LatexDefaultInline.Provider>\n )\n}\n"],"sourceRoot":""} |