Math Block for Markdown [For Typora]
Posted ZJun310
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Math Block for Markdown [For Typora]相关的知识,希望对你有一定的参考价值。
Math Block for Markdown
Code:[Inline Math Formula]
This formula $f(x)=x_1^2+x_2^2$is an inline formula
preview:
This formula f(x)=x21+x22 is an inline formula
Code:[Fraction]
$$
f(x) = x^2+\\dfrac1x
$$
preview:
f(x)=x2+1x
Code:[Set]
$$
D = \\(x_1,y_1),(x_2,y_2),…,(x_n,y_n)\\
$$
preview:
D=(x1,y1),(x2,y2),…,(xn,yn)
Code:[Sum]
$$
(w^*,b^*)= arg \\ min_\\left( w,b\\right) \\sum^n_i=1\\left(y_i-wx_i - b\\right)^2
$$
preview:
(w∗,b∗)=arg min(w,b)∑i=1n(yi−wxi−b)2
Code:[Matrix]
$$
X = \\beginbmatrix
x_11&x_12&\\cdots&x_1d&1\\\\
x_21&x_22&\\cdots&x_2d&1\\\\
\\vdots&\\vdots&\\ddots&\\vdots&\\vdots\\\\
x_n1&x_n2&\\cdots&x_nd&1\\\\
\\endbmatrix
$$
preview:
X=⎡⎣⎢⎢⎢⎢x11x21⋮xn1x12x22⋮xn2⋯⋯⋱⋯x1dx2d⋮xnd11⋮1⎤⎦⎥⎥⎥⎥
Code:[Piecewise functions]
$$
y =
\\begincases
0, &z<0\\cr
0.5, &z=0\\cr
1, &z>0\\cr
\\endcases
$$
preview:
y=⎧⎩⎨⎪⎪0,0.5,1,z<0z=0z>0
Code:[Hat]
$$
Var[\\hatf(x)] = E[\\hatf(x)-E[\\hatf(x)]^2]
$$
preview:
Var[f̂ (x)]=E[f̂ (x)−E[f̂ (x)]2]
Code:[Set Belonging]
$$
\\rho = \\dfrac\\sum_x \\in \\hatDw_x\\sum_x \\in Dw_x
$$
preview:
ρ=∑x∈D̂ wxmarkdown static,block,java,syntax
统一latext在vsc的markdown+math和有道云笔记里的出发方式
hdfs出现Cannot obtain block length for LocatedBlockt