per page, with , order by , clip by
Results of 1 - 10 of about 42 for shape (0.011 sec.)
バッファプロトコル (buffer Protocol) — Python 3.14.8 ドキュメント 11876
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » バッファプロトコル (buffer Protocol) テーマ 自動 ライト ダーク | バッファプロト ... 、このフィールドは NULL です。一般的に、エクスポートオブジェクトはこの方式を使用してはなりません。 Py_ssize_t len ¶ product(shape) * itemsize 。contiguous配列では、下層のメモリブロックの長さになります。非contiguous 配列では、contiguous表現にコピーされた ... ことなくバッファを要求した場合、 format は NULL に設定されます。 しかし itemsize は元のフォーマットに従った値を保持します。 shape が存在する場合、 product(shape) * itemsize == len の等式が守られ、利用者は itemsize を buffer を読むために利用できます。 P ... yBUF_SIMPLE または PyBUF_WRITABLE で要求した結果、 shape が NULL であれば、消費者は itemsize を無視して itemsize == 1 と見なさなければなりません。 char * format ¶ A NULL terminate ...
https://man.mtool.work/python/3.14/c-api/buffer.html
バッファプロトコル (buffer Protocol) — Python 3.14.8 ドキュメント 11814
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) » バッファプロトコル (buffer Protocol) テーマ 自動 ライト ダーク | バッファプロト ... 、このフィールドは NULL です。一般的に、エクスポートオブジェクトはこの方式を使用してはなりません。 Py_ssize_t len ¶ product(shape) * itemsize 。contiguous配列では、下層のメモリブロックの長さになります。非contiguous 配列では、contiguous表現にコピーされた ... ことなくバッファを要求した場合、 format は NULL に設定されます。 しかし itemsize は元のフォーマットに従った値を保持します。 shape が存在する場合、 product(shape) * itemsize == len の等式が守られ、利用者は itemsize を buffer を読むために利用できます。 P ... yBUF_SIMPLE または PyBUF_WRITABLE で要求した結果、 shape が NULL であれば、消費者は itemsize を無視して itemsize == 1 と見なさなければなりません。 char * format ¶ A NULL terminate ...
https://man.mtool.work/python/3.14/c-api/buffer.html
turtle --- Turtle graphics — Python 3.14.8 ドキュメント 11767
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » turtle --- Turtle graphics テーマ 自動 ライト ダーク | turtle --- Turtle graphics ¶ ソースコード ... : Lib/turtle.py Turtle star Turtle can draw intricate shapes using programs that repeat simple moves. Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an import tu ... ): color ( c ) forward ( steps ) right ( 30 ) - which of course, are limited only by the imagination! Let's draw the star shape at the top of this page. We want red lines, filled in with yellow: color ( 'red' ) fillcolor ( 'yellow' ) Just as up() and ... g , b で表された RGB の色に設定します。各 r , g , b は 0 から colormode の間の値でなければなりません。 タートルの形(turtleshape)が多角形の場合、多角形の外側が新しく設定された色で描かれます。 >>> colormode () 1.0 >>> turtle . pencolor () 'red' >>> tur ...
https://man.mtool.work/python/3.14/library/turtle.html
turtle --- Turtle graphics — Python 3.14.8 ドキュメント 11767
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Graphical user interfaces with Tk » turtle --- Turtle graphics テーマ 自動 ライト ダーク | turtle --- Turtle graphics ¶ ソースコード ... : Lib/turtle.py Turtle star Turtle can draw intricate shapes using programs that repeat simple moves. Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an import tu ... ): color ( c ) forward ( steps ) right ( 30 ) - which of course, are limited only by the imagination! Let's draw the star shape at the top of this page. We want red lines, filled in with yellow: color ( 'red' ) fillcolor ( 'yellow' ) Just as up() and ... g , b で表された RGB の色に設定します。各 r , g , b は 0 から colormode の間の値でなければなりません。 タートルの形(turtleshape)が多角形の場合、多角形の外側が新しく設定された色で描かれます。 >>> colormode () 1.0 >>> turtle . pencolor () 'red' >>> tur ...
https://man.mtool.work/python/3.14/library/turtle.html
列挙型 HOWTO — Python 3.14.8 ドキュメント 10482
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 列挙型 HOWTO テーマ 自動 ライト ダーク | 列挙型 HOWTO ¶ Enum は、ユニークな値に束縛されたシンボル名の集合です。グローバル変数に似ていますが、 repr ... . name 'RED' >>> member . value 1 列挙型メンバーと値の重複 ¶ 同じ名前の列挙型メンバーを複数持つことはできません: >>> class Shape ( Enum ): ... SQUARE = 2 ... SQUARE = 3 ... Traceback (most recent call last): ... TypeError : 'SQUARE' already defined as ... 、メンバー A が返されます。 A の名前での検索ではメンバー A を返します。 B の名前での検索も、メンバー A を返します: >>> class Shape ( Enum ): ... SQUARE = 2 ... DIAMOND = 1 ... CIRCLE = 3 ... ALIAS_FOR_SQUARE = 2 ... >>> Shape . SQUARE <Shape.SQUARE: 2> ... >>> Shape . ALIAS_FOR_SQUARE <Shape.SQUARE: 2> >>> Shape ( 2 ) <Shape.SQUARE: 2> 注釈 すでに定義されている属性と同じ名前のメンバー ( ...
https://man.mtool.work/python/3.14/howto/enum.html
列挙型 HOWTO — Python 3.14.8 ドキュメント 10482
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 列挙型 HOWTO テーマ 自動 ライト ダーク | 列挙型 HOWTO ¶ Enum は、ユニークな値に束縛されたシンボル名の集合です。グローバル変数に似ていますが、 repr ... . name 'RED' >>> member . value 1 列挙型メンバーと値の重複 ¶ 同じ名前の列挙型メンバーを複数持つことはできません: >>> class Shape ( Enum ): ... SQUARE = 2 ... SQUARE = 3 ... Traceback (most recent call last): ... TypeError : 'SQUARE' already defined as ... 、メンバー A が返されます。 A の名前での検索ではメンバー A を返します。 B の名前での検索も、メンバー A を返します: >>> class Shape ( Enum ): ... SQUARE = 2 ... DIAMOND = 1 ... CIRCLE = 3 ... ALIAS_FOR_SQUARE = 2 ... >>> Shape . SQUARE <Shape.SQUARE: 2> ... >>> Shape . ALIAS_FOR_SQUARE <Shape.SQUARE: 2> >>> Shape ( 2 ) <Shape.SQUARE: 2> 注釈 すでに定義されている属性と同じ名前のメンバー ( ...
https://man.mtool.work/python/3.14/howto/enum.html
抽象オブジェクトレイヤ (Abstract Objects Layer) — Python 3.14.8 ドキュメント 8686
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) テーマ 自動 ライト ダーク | 抽象オブジェクトレイヤ (Abstract Objects Layer) ¶ この ... ファプロトコル (buffer Protocol) buffer 構造体 バッファリクエストのタイプ リクエストに依存しないフィールド readonly, format shape, strides, suboffsets 隣接性のリクエスト 複合リクエスト 複雑な配列 NumPy スタイル: shape, strides PIL スタイル: shape, stri ... des, suboffsets バッファ関連の関数 関連キーワード オブジェクト プロトコル protocol リクエスト Protocol バッファ shape strides 依存 Python 操作 数値 全て シーケンス Call Vectorcall Support buffer suboffsets スタイル 前のトピックへ Support fo ...
https://man.mtool.work/python/3.14/c-api/abstract.html
抽象オブジェクトレイヤ (Abstract Objects Layer) — Python 3.14.8 ドキュメント 8686
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 抽象オブジェクトレイヤ (Abstract Objects Layer) テーマ 自動 ライト ダーク | 抽象オブジェクトレイヤ (Abstract Objects Layer) ¶ この ... ファプロトコル (buffer Protocol) buffer 構造体 バッファリクエストのタイプ リクエストに依存しないフィールド readonly, format shape, strides, suboffsets 隣接性のリクエスト 複合リクエスト 複雑な配列 NumPy スタイル: shape, strides PIL スタイル: shape, stri ... des, suboffsets バッファ関連の関数 関連キーワード プロトコル protocol リクエスト Protocol バッファ shape strides 依存 操作 数値 シーケンス Call Vectorcall Support buffer suboffsets スタイル 抽象 レイヤ Abstract Objects Layer 適 ...
https://man.mtool.work/python/3.14/c-api/abstract.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7509
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... he same contexts as normal type variables. For example, in class definitions, arguments, and return types: class Array [ * Shape ]: def __getitem__ ( self , key : tuple [ * Shape ]) -> float : ... def __abs__ ( self ) -> "Array[*Shape]" : ... def get_ ... shape ( self ) -> tuple [ * Shape ]: ... Type variable tuples can be happily combined with normal type variables: class Array [ DType , * Shape ]: # This is ... fine pass class Array2 [ * Shape , DType ]: # This would also be fine pass class Height : ... class Width : ... float_array_1d : Array [ float , Height ] = ...
https://man.mtool.work/python/3.14/library/typing.html
typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 7509
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース ... he same contexts as normal type variables. For example, in class definitions, arguments, and return types: class Array [ * Shape ]: def __getitem__ ( self , key : tuple [ * Shape ]) -> float : ... def __abs__ ( self ) -> "Array[*Shape]" : ... def get_ ... shape ( self ) -> tuple [ * Shape ]: ... Type variable tuples can be happily combined with normal type variables: class Array [ DType , * Shape ]: # This is ... fine pass class Array2 [ * Shape , DType ]: # This would also be fine pass class Height : ... class Width : ... float_array_1d : Array [ float , Height ] = ...
https://man.mtool.work/python/3.14/library/typing.html
PREV 1 2 3 4 5 NEXT