- 博客(1)
- 收藏
- 关注
原创 用Python对不规则导体几何均距、自感进行近似计算。
from dataclasses import dataclass from typing import List import math @dataclass class vec: """ 几何 点或向量 """ x: float y: float def __add__(self, other): return vec(self.x+other.x, self.y+other.y) def __sub__(sel...
2022-03-13 14:48:33 1180
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人