From 6549b49681d941ec0cc6fb72553cd4a342466cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 27 Jan 2023 21:34:31 +0100 Subject: [PATCH] NumPy --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0b28725..a501de5 100644 --- a/README.md +++ b/README.md @@ -2652,7 +2652,7 @@ import numpy as np ``` ```python - = np.copy/int64/float64() # Returns new array of the same shape. + = np.copy/abs/sqrt/log/int64() # Returns new array of the same shape. = .sum/max/mean/argmax/all([axis]) # Passed dimension gets aggregated. = np.apply_along_axis(, axis, ) # Func can return a scalar or array. ``` diff --git a/index.html b/index.html index 5e0c0b9..4ecdf57 100644 --- a/index.html +++ b/index.html @@ -2170,7 +2170,7 @@ drawer = cg.output.GraphvizOutput(output_file=filename) <array> = <array>.flatten() # Also `<view> = <array>.ravel()`. <view> = <array>.transpose() # Also `<view> = <array>.T`. -
<array> = np.copy/int64/float64(<array>)                # Returns new array of the same shape.
+
<array> = np.copy/abs/sqrt/log/int64(<array>)           # Returns new array of the same shape.
 <array> = <array>.sum/max/mean/argmax/all([axis])       # Passed dimension gets aggregated.
 <array> = np.apply_along_axis(<func>, axis, <array>)    # Func can return a scalar or array.