数学建模

模型: $\hat{y}=f_\theta(x)$ 输入x, 得到结果 x,y都可以是任意的数据类型! 误差 e $e=distance(y-\hat{y})$ 距离函数: 绝对值,……

阅读全文

微积分

微分 连续可微 基本函数的 微分 : 常数 C: $dC=0$ 指数$dx^n = n x^{n-1}dx$, 对数$d lnx = \frac{1}{x}$ ; $d log_nx=d\frac{\ln x}{\ln n}=\frac{1}{x\ln……

阅读全文

线性代数

线性代数, 高等代数 1 线性代数 linear algebra 求解线性方程: 高斯消元法(初等变换): Reduced row echelon form/RREF 化……

阅读全文

grub2 引导

uEFI i386 —-> /efi/boot/bootia32.efi x86_64 —-> /efi/boot/bootx64.efi cfg搜索路径(first match): -1-> /boot/grub/grub.cfg -2-> ./grub.cfg grub2 模块 grub_platform= “pc” | “efi” grub_cpu= “i386"|"x86_64” 模块路径 /boot/grub/${grub_cpu}-${grub_platform} #……

阅读全文

文件系统 制作 挂载

lsblk 列出 块设备 block device 设备文件 /dev/sda1 mkfs -t ext4 /dev/sda1 挂载 / 卸载 mount -t ext4 /dev/sda1 /mnt umount /mnt 普通文件 dd -if=/dev/zero -of=some/img/name -bs=512 -count=1024 #size =……

阅读全文

linux shell 环境

boot 加电–> 主板初始化程序 –> bootloader(mode:real->protect) —> 操作系统 操作系统 初始化 kernel: vmlinuz-… ramfs: initramfs… 服……

阅读全文

CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build 设置环境 变量. CGO_ENABLED: CGO ; 0=关闭,1=开启, GOOS=目标操作系统, GOARCH=目标架构 $GOOS $GOARCH windows 386 windows amd64 linux 386 linux amd64 linux arm linux arm64 linux ppc64 linux ppc64le linux mips linux mipsle linux mips64 linux mips64le android arm darwin 386 darwin amd64 darwin arm darwin arm64 dragonfly amd64 freebsd 386 freebsd amd64 freebsd arm netbsd 386 netbsd amd64 netbsd arm openbsd 386 openbsd amd64 openbsd arm plan9 386 plan9 amd64 solaris amd64 ……

阅读全文