- Hands-On Artificial Intelligence for Beginners
- Patrick D. Smith
- 51字
- 2021-06-10 19:33:44
Scalar operations
Scalar operations involve a vector (or matrix) and a scalar. To perform an operation with a scalar on a matrix, simply apply to the scalar to every item in the matrix:

In Python, we would simply do the following:
vector = np.array([[1,2], [1,2]])
new_vector = vector + 2
推薦閱讀
- 計(jì)算機(jī)應(yīng)用
- Linux Mint System Administrator’s Beginner's Guide
- Expert AWS Development
- 電腦上網(wǎng)直通車
- 基于ARM 32位高速嵌入式微控制器
- Prometheus監(jiān)控實(shí)戰(zhàn)
- 網(wǎng)絡(luò)安全管理實(shí)踐
- Building a BeagleBone Black Super Cluster
- Working with Linux:Quick Hacks for the Command Line
- 人工智能:語(yǔ)言智能處理
- 基于ARM9的小型機(jī)器人制作
- Mastering OpenStack(Second Edition)
- 貫通Hibernate開發(fā)
- 菜鳥起飛五筆打字高手
- Cisco UCS Cookbook