From 1df2d364eb6bab260eb38df54a21f6557603cb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 30 Dec 2022 07:37:48 +0100 Subject: [PATCH] NumPy --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4b42de1..cc8d818 100644 --- a/README.md +++ b/README.md @@ -2674,8 +2674,8 @@ import numpy as np ``` ```bash -<2d_bools> = <2d_array> ><== # <3d_array> ><== <1d_array> -<1d_array> = <2d_array>[<2d_bools>] # <3d_array>[<2d_bools>] +<2d_bools> = <2d_array> ><== # 1d_array must have size of a row. +<1d/2d_a> = <2d_array>[<2d/1d_bools>] # 1d_bools must have size of a column. ``` * **All examples also allow assignments.** diff --git a/index.html b/index.html index aae28ec..c28a279 100644 --- a/index.html +++ b/index.html @@ -2187,8 +2187,8 @@ drawer = cg.output.GraphvizOutput(output_file=filename) <2d_array> = <2d_array>[row_indexes] # <3d_a>[table_is, row_is] <2d_array> = <2d_array>[:, column_indexes] # <3d_a>[table_is, :, column_is] -
<2d_bools> = <2d_array> ><== <el>                       # <3d_array> ><== <1d_array>
-<1d_array> = <2d_array>[<2d_bools>]                     # <3d_array>[<2d_bools>]
+
<2d_bools> = <2d_array> ><== <el/1d/2d_array>           # 1d_array must have size of a row.
+<1d/2d_a>  = <2d_array>[<2d/1d_bools>]                  # 1d_bools must have size of a column.
 
  • All examples also allow assignments.