This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Filter<K extends keyof C, C, U> = C[K] extends U & Assignables ? K : never; | |
type BaseAssignables = string | boolean | number | symbol | undefined | null; | |
type Assignables = BaseAssignables | BaseAssignables[] | |
type Context = { | |
[K in PropertyKey]?: Assignables | ((ev: HTMLElementEventMap[keyof HTMLElementEventMap]) => any); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Jacobi Methode | |
# | |
# Fuer das Numerik I Seminar. | |
function res = Jacobi(A, b, depth = 10) | |
res =# Jacobi Methode | |
# | |
# Fuer das Numerik I Seminar. | |
function res = Jacobi(A, b, depth = 10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Deklaration des Newtown Algorithmus wobei die Argumente bedeuten: | |
-- Startwert, Funktion, abgeleitete Funktion, Iterator (zählt nach 0 runter) | |
newtown :: Double -> (Double -> Double) -> (Double -> Double) -> Int -> Double | |
-- Abbruchbedingung | |
newtown x f g 0 = (x - ((f x)/(g x))) | |
-- Standardfall | |
newtown x f g itt_depth = newtown (x - ((f x) / (g x))) f g (itt_depth-1) | |
-- Deklaration von f und g in ghci | |
{- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import( | |
"encoding/json" | |
"path/filepath" | |
"log" | |
"os" | |
"time" | |
"net/http" | |
"fmt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'data/BussinesObject.php'; | |
class Auftrag extends BussinesObject | |
{ | |
public function Auftrag($var, $db) | |
{ | |
parent::BussinesObject($var, $db, constant("AUFTRAG_COLLECTION")); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["go", "build", "$file"], | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"cmd": ["go", "run", "$file"] | |
} | |
] | |
} |