摘要:
https://python3-cookbook.readthedocs.io/zh_CN/latest 阅读全文
posted @ 2020-07-28 16:38
fly_bk
阅读(450)
评论(0)
推荐(0)
摘要:
import numpy as np if __name__ == '__main__': print(np.__version__) vec = np.array([1, 2, 3]) print(vec) vec[0] = '111' print(vec) # [111 2 3] # vec[0 阅读全文
posted @ 2020-07-28 13:41
fly_bk
阅读(812)
评论(0)
推荐(0)
摘要:
import math class Vector: """向量""" @classmethod def zero(cls, dim): """dim长度的0向量""" return cls([0] * dim) def __init__(self, lst): self._values = list 阅读全文
posted @ 2020-07-28 10:49
fly_bk
阅读(115)
评论(0)
推荐(0)

浙公网安备 33010602011771号