ページの改善
いますぐフォークしてオンライン編集し、このページのプルリクエストを送信します。
Github へのログインが必要です。 これは小さな変更に適しています。
大きな変更を加えたい場合は、通常の cloneの使用をお勧めします。
日本語版について
個人的な学習のために、dlang.orgを翻訳したサイトです。
翻訳に際して、様々なサイトを参考にしています。
core.internal.array.operations
This module contains support array (vector) operations
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
- pure nothrow @nogc @trusted T[]
arrayOp
(T : T[], Args...)(T[]res
, Filter!(isType, Args)args
); - Perform array (vector) operations and store the result in
res
. Operand types and operations are passed as template arguments in Reverse Polish Notation (RPN).Operands can be slices or scalar types. The element types of all slices and all scalar types must be implicitly convertible to T. Operations are encoded as strings, e.g. "+", "%", "*=". Unary operations are prefixed with "u", e.g. "u-", "u~". Only the last operation can and must be an assignment ("=") or op-assignment ("op="). All slice operands must have the same length as the result slice.Parameters:Args operand types and operations in RPN T[] res
the slice in which to store the results Filter!(isType, Args) args
operand values Returns:the slice containing the result
Copyright © 1999-2022 by the D Language Foundation | Page generated by
Ddoc on Wed Nov 23 08:32:02 2022