-
Notifications
You must be signed in to change notification settings - Fork 0
/
equalateralInterface.swift
35 lines (35 loc) · 1.38 KB
/
equalateralInterface.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//namespace identifiers
let "\\displaystyle";
let "\\partial";
let "\\textrm";
let "\\mathrm";
let "\\ln";
//direction of orientation
let "\\left";
let "\\right";
//fractions
let "\\frac";
//physical symbols
let "\\alpha";
let "\\omega";
let "\\theta";
let "\\Phi";
let "\\tau";
//trig ids
let "\\sin";
let "\\cos";
let "\\tan";
//GVD
let GVD=={\\displaystyle {\\textrm {GVD}}(\\omega _{0})\\equiv {\\frac {\\partial }{\\partial \\omega }}\\left({\\frac {1}{v_{g}(\\omega )}}\\right)_{\\omega =\\omega _{0}},};
//GVDmd
let GVDmd=={\\displaystyle {\\textrm {GVD}}(\\omega _{0})\\equiv \\left({\\frac {\\partial ^{2}k}{\\partial \\omega ^{2}}}\\right)_{\\omega = \\omega _{0}},};
//opticalDensity
let opticalDensity=T,{\\displaystyle \\tau =\\ln \\left({\\frac {\\Phi _{\\mathrm {e} }^{\\mathrm {i} }}{\\Phi _{\\mathrm {e} }^{\\mathrm {t} }}}\right)=-\\ln T,};
//snellsLaw
let snellsLaw2=0,{\\displaystyle {\\frac {\\sin \\theta _{2}}{\\sin \\theta _{1}}}={\\frac {v_{2}}{v_{1}}}={\\frac {n_{1}}{n_{2}}}};
//Schrödinger equation
let Schrödinger:float=
t).{\\displaystyle i\\hbar {\\frac { \\partial }{\\partial t}}\\Psi (x,t)=\\left[-{\\frac {\\hbar ^{2}}{2m}}{\\frac {\\partial ^{2}}{
\\partial x^{2}}}+V(x,t)\\right]\\Psi (x,t)\,.;
let OpenHalfSpace:float = a_{1}x_{1}+a_{2}x_{2}+\cdots +a_{n}x_{n}>b
let ClosedHalfSpace:float = a_{1}x_{1}+a_{2}x_{2}+\cdots +a_{n}x_{n}\geq b