Gokix

一言(ヒトコト)

关注我
摘要: D2L 学习笔记 基础操作 张量 tensor 创建行向量: x = torch.arange(12) 改变张量形状: x.reshape(3, 4) 如果知晓目标维长度,剩余维长度可用-1代替,而不必手动计算,如 x.reshape(-1, 4) 或 x.reshape(3, -1) 访问张量各轴长度: x.sha 阅读全文
posted @ 2025-07-22 18:49 Gokix 阅读(24) 评论(0) 推荐(0)
摘要: 苏铁美化-暗系风格 测试 一级标题 兄弟你好,我是字 二级标题 兄弟你好,我是字 三级标题 兄弟你好,我是字 四级标题 兄弟你好,我是字 五级标题 六级标题 文字测试 粗体 斜体 删除线 \(a^2+b^2=c^2\) \[a \times b=c \]<img src="your_url.png" style="width 阅读全文
posted @ 2022-11-24 08:38 Gokix 阅读(59) 评论(5) 推荐(0)
摘要: [安乐椅#0] 安乐椅合集 安乐椅系列 收集Gokix平时学习中遇到的一些比较有趣的点。 1. 卡尔松不等式 多元柯西不等式。 2. 抛物线准线梯形 复杂的模型,在部分中也看得出来吗? 3. 拉尔瓦定理 圆锥曲线中一个有趣的小定理。 4. 拉格朗日乘数法 解决最值问题的底牌。 5. 一种利用二次曲线系证定点的方法 震撼。 6. 阅读全文
posted @ 2022-10-23 18:57 Gokix 阅读(208) 评论(0) 推荐(0)
摘要: 图像处理尝试 import torch import torch.nn.functional as F from PIL import Image import torchvision.transforms as T img_path = r'/mnt/e/something/pooltst.jpg' img = 阅读全文
posted @ 2025-09-18 16:50 Gokix 阅读(8) 评论(0) 推荐(0)
摘要: 矩阵树定理 拉普拉斯矩阵 以下讨论均针对简单无向图。 前置知识 度矩阵 图的度矩阵 \(\operatorname{D}\) 定义为:一个对角阵,\(D_{ii}\)表示\(i\)号节点的度。 邻接矩阵 图的邻接矩阵 \(\operatorname{A}\) 定义为:若存在\(i\)号节点指向\(j\)号节点的 阅读全文
posted @ 2025-07-04 17:21 Gokix 阅读(15) 评论(0) 推荐(0)
摘要: stl_deque 阅读报告 stl_deque.h // Deque implementation -*- C++ -*- // Copyright (C) 2001-2014 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ L 阅读全文
posted @ 2025-03-19 19:02 Gokix 阅读(44) 评论(0) 推荐(0)
摘要: 双曲函数与反双曲函数 表达式 双曲函数 \(\operatorname{sh} x = \dfrac{e^{x}-e^{-x}}{2}\) \(\operatorname{ch} x = \dfrac{e^{x}+e^{-x}}{2}\) \(\operatorname{th} x = \dfrac{e^{x}-e^{- 阅读全文
posted @ 2024-12-05 13:15 Gokix 阅读(107) 评论(0) 推荐(0)
摘要: 泰勒公式 Taylor 公式 带 Peano 余项的 Taylor 公式 设 \(f(x)\) 在 \(x_0\) 处 \(n\) 阶可导,则在 \(x_0\) 的一个邻域中,对于该邻域中的 \(\forall x\) 成立: \[f(x)=f(x_0)+f^\prime(x_0)(x-x_0)+\dfrac 阅读全文
posted @ 2024-11-28 14:43 Gokix 阅读(66) 评论(0) 推荐(0)
摘要: 不定积分表 \(\int x^{\alpha} \; \mathrm{d}x = \dfrac{x^{\alpha+1}}{\alpha+1}+C \space (\alpha \ne -1)\) \(\int \dfrac{1}{x} \; \mathrm{d}x = \ln x+C \space\) $\i 阅读全文
posted @ 2024-10-31 13:27 Gokix 阅读(112) 评论(0) 推荐(0)
摘要: 简单线性变换 平移、旋转和镜像变换 阅读全文
posted @ 2024-08-25 20:29 Gokix 阅读(53) 评论(0) 推荐(0)
摘要: 对数求导法 如何求 \(f(x)=x^x\) 的导数? 整体思路:通过构造对数幂底数改为不含元的 \(e\),同时利用指数上的对数将 \(x\) 次幂落入真数中从而得到易导的式子。 \[f^\prime(x)=(x^x)^\prime={({(e^{\ln x})}^x)}^\prime={(e^{x \ln 阅读全文
posted @ 2024-08-25 14:47 Gokix 阅读(65) 评论(0) 推荐(0)
摘要: 平面与直线 平面的方程 点法式方程 给定平面上一点 \(M_0(x_0,y_0,z_0)\) 和该平面一法向量 \(\vec{n}=(a,b,c)\),则平面上任意一点 \(M(x,y,z)\) 均满足 \(\overrightarrow{M_0M} \perp \vec{n}\) 即: \[a(x-x_0)+ 阅读全文
posted @ 2024-08-22 16:38 Gokix 阅读(57) 评论(0) 推荐(0)
摘要: 反三角函数 图像 \(f(x)=\arcsin(x)\) \(f(x)=\arccos(x)\) \(f(x)=\arctan(x)\) \(f(x)=\operatorname{arccot}(x)\) \(f(x)=\operatorname{arcsec}(x)\) \(f(x)=\operatornam 阅读全文
posted @ 2024-08-20 16:45 Gokix 阅读(93) 评论(0) 推荐(0)
摘要: Stolz 定理 数列洛必达 阅读全文
posted @ 2024-08-14 23:05 Gokix 阅读(44) 评论(0) 推荐(0)
摘要: [安乐椅#18] 三角函数公式(不)大全 ## 特殊角三角函数值 $\sin{\dfrac{\pi}{12}}=\dfrac{\sqrt{6}-\sqrt{2}}{4} \space\space\space\space\space\space\space\space \cos{\dfrac{\pi}{12}}=\dfrac{\sqrt{6}+\sqrt{2}}{4} \space\space\space\space\space\space\space\space \tan{\dfrac{\pi}{12}}=2-\sqrt{3}$ 阅读全文
posted @ 2023-08-26 18:13 Gokix 阅读(97) 评论(0) 推荐(0)
摘要: 数数题选 1. **用 $6$ 种不同的颜色对正四棱锥 $P-ABCD$ 的 $8$ 条棱染色,每个顶点出发的棱的颜色各不相同,不同的染色方案共有 ________ 种.** ![image](https://img2023.cnblogs.com/blog/2866421/202307/2866421-20 阅读全文
posted @ 2023-07-01 12:04 Gokix 阅读(38) 评论(0) 推荐(0)
摘要: [安乐椅#17] 函数对称性与周期性 ## 自对称&互对称 ### 自对称 - $f(a+mx)=f(b-mx) \Leftrightarrow y=f(x)$ 的图像关于直线 $x= \dfrac{a+b}{2}$ 对称 $(m \ne 0)$. 操作方法:将括号内两式取中点可得对称轴,即 $\dfrac{a+mx+b-mx}{2}= 阅读全文
posted @ 2023-06-17 20:08 Gokix 阅读(225) 评论(0) 推荐(1)