The Zig Programming Language 0.12.0 DocumentationVectors A vector is a group of booleans, Integers, Floats, or Pointers which are operated on in parallel, using SIMD instructions if possible. Vector types are created with the builtin function @Vector. Vectors operators as their underlying base types. These operations are performed element-wise, and return a vector of the same length as the input vectors. This includes: Arithmetic ( + , - , / , * , @divFloor operating on each vector element one at a time. Zig supports any comptime-known vector length up to 2^32-1, although small powers of two (2-64) are most typical. Note that excessively long vector lengths (e.g0 码力 | 241 页 | 7.37 MB | 1 年前3
The Zig Programming Language 0.9.1 DocumentationSentinel-Terminated Slices Vectors A vector is a group of booleans, Integers, Floats, or Pointers which are operated on in parallel using SIMD instructions. Vector types are created with the builtin function shorthand function std.meta.Vector . Vectors support the same builtin operators as their underlying base types. These operations are performed element-wise, and return a vector of the same length as the operating on each vector element one at a time. Zig supports any comptime-known vector length up to 2^32-1, although small powers of two (2-64) are most typical. Note that excessively long vector lengths (e.g0 码力 | 234 页 | 7.90 MB | 1 年前3
The Zig Programming Language 0.10.1 DocumentationVectors A vector is a group of booleans, Integers, Floats, or Pointers which are operated on in parallel, using SIMD instructions if possible. Vector types are created with the builtin function @Vector. Vectors operators as their underlying base types. These operations are performed element-wise, and return a vector of the same length as the input vectors. This includes: Arithmetic ( + , - , / , * , @divFloor operating on each vector element one at a time. Zig supports any comptime-known vector length up to 2^32-1, although small powers of two (2-64) are most typical. Note that excessively long vector lengths (e.g0 码力 | 239 页 | 8.03 MB | 1 年前3
The Zig Programming Language 0.11.0 DocumentationVectors A vector is a group of booleans, Integers, Floats, or Pointers which are operated on in parallel, using SIMD instructions if possible. Vector types are created with the builtin function @Vector. Vectors operators as their underlying base types. These operations are performed element-wise, and return a vector of the same length as the input vectors. This includes: Arithmetic ( + , - , / , * , @divFloor operating on each vector element one at a time. Zig supports any comptime-known vector length up to 2^32-1, although small powers of two (2-64) are most typical. Note that excessively long vector lengths (e.g0 码力 | 238 页 | 7.80 MB | 1 年前3
Agda User Manual v2.6.3vectors (in the sense of computer science, not in the mathematical sense) in Agda. Roughly speaking, a vector is a list of objects with a determined length. module hello-world-dep where open import Data.Nat them into scope, 2. A data declaration defining the datatype Vec with two constructors: the empty vector constructor [] and the cons constructor _∷_, 3. And finally an infixr declaration specifying the numbers). The parameter A represents the type of the objects of the vector. Meanwhile, the index represents the length of the vector, i.e. the number of objects it contains. Together, this line tells0 码力 | 379 页 | 354.83 KB | 1 年前3
Agda User Manual v2.6.3vectors (in the sense of computer science, not in the mathematical sense) in Agda. Roughly speaking, a vector is a list of objects with a determined length. module hello-world-dep where open import Data.Nat them into scope, 2. A data declaration defining the datatype Vec with two constructors: the empty vector constructor [] and the cons constructor _::_, 3. And finally an infixr declaration specifying the numbers). The parameter A represents the type of the objects of the vector. Meanwhile, the index represents the length of the vector, i.e. the number of objects it contains. Together, this line tells0 码力 | 288 页 | 1.24 MB | 1 年前3
Agda User Manual v2.6.4.1vectors (in the sense of computer science, not in the mathematical sense) in Agda. Roughly speaking, a vector is a list of objects with a determined length. module hello-world-dep where open import Data.Nat them into scope, 2. A data declaration defining the datatype Vec with two constructors: the empty vector constructor [] and the cons constructor _::_, 3. And finally an infixr declaration specifying the numbers). The parameter A represents the type of the objects of the vector. Meanwhile, the index represents the length of the vector, i.e. the number of objects it contains. Together, this line tells0 码力 | 311 页 | 1.38 MB | 1 年前3
Agda User Manual v2.6.4.3vectors (in the sense of computer science, not in the mathematical sense) in Agda. Roughly speaking, a vector is a list of objects with a determined length. module hello-world-dep where open import Data.Nat them into scope, 2. A data declaration defining the datatype Vec with two constructors: the empty vector constructor [] and the cons constructor _::_, 3. And finally an infixr declaration specifying the numbers). The parameter A represents the type of the objects of the vector. Meanwhile, the index represents the length of the vector, i.e. the number of objects it contains. Together, this line tells0 码力 | 311 页 | 1.38 MB | 1 年前3
Agda User Manual v2.6.4.2vectors (in the sense of computer science, not in the mathematical sense) in Agda. Roughly speaking, a vector is a list of objects with a determined length. module hello-world-dep where open import Data.Nat them into scope, 2. A data declaration defining the datatype Vec with two constructors: the empty vector constructor [] and the cons constructor _::_, 3. And finally an infixr declaration specifying the numbers). The parameter A represents the type of the objects of the vector. Meanwhile, the index represents the length of the vector, i.e. the number of objects it contains. Together, this line tells0 码力 | 311 页 | 1.38 MB | 1 年前3
Agda User Manual v2.6.4vectors (in the sense of computer science, not in the mathematical sense) in Agda. Roughly speaking, a vector is a list of objects with a determined length. module hello-world-dep where open import Data.Nat them into scope, 2. A data declaration defining the datatype Vec with two constructors: the empty vector constructor [] and the cons constructor _::_, 3. And finally an infixr declaration specifying the numbers). The parameter A represents the type of the objects of the vector. Meanwhile, the index represents the length of the vector, i.e. the number of objects it contains. Together, this line tells0 码力 | 313 页 | 1.38 MB | 1 年前3
共 44 条
- 1
- 2
- 3
- 4
- 5













