julia 1.10.10
Communication and synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . 302 24.4 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 24.5 Atomic Operations . For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loop over A, computing 2a^2 + sin(a) for each element a of possible to create a view into a string using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string"0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.10.9
Communication and synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . 302 24.4 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 24.5 Atomic Operations . For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loop over A, computing 2a^2 + sin(a) for each element a of possible to create a view into a string using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long string"0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.11.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 25.3 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 25.4 Communication and data-races or setrounding and @big_str, the macro used for big string literals (such as big"0.3"), might not be intuitive, as a consequence of the fact that @big_str is a macro. See the @big_str documentation for For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loopCHAPTER 6. MATHEMATICAL OPERATIONS AND ELEMENTARY FUNCTIONS0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.5 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 25.3 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 25.4 Communication and data-races or setrounding and @big_str, the macro used for big string literals (such as big"0.3"), might not be intuitive, as a consequence of the fact that @big_str is a macro. See the @big_str documentation for For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loopCHAPTER 6. MATHEMATICAL OPERATIONS AND ELEMENTARY FUNCTIONS0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.6 Release Notes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 25.3 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 25.4 Communication and data-races or setrounding and @big_str, the macro used for big string literals (such as big"0.3"), might not be intuitive, as a consequence of the fact that @big_str is a macro. See the @big_str documentation for For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loopCHAPTER 6. MATHEMATICAL OPERATIONS AND ELEMENTARY FUNCTIONS0 码力 | 2007 页 | 6.73 MB | 3 月前3julia 1.13.0 DEV
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 25.3 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 25.4 Communication and data-races or setrounding and @big_str, the macro used for big string literals (such as big"0.3"), might not be intuitive, as a consequence of the fact that @big_str is a macro. See the @big_str documentation for For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loop over A, computing 2a^2 + sin(a) for each element a of0 码力 | 2058 页 | 7.45 MB | 3 月前3Julia 1.12.0 Beta4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 25.3 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 25.4 Communication and data-races or setrounding and @big_str, the macro used for big string literals (such as big"0.3"), might not be intuitive, as a consequence of the fact that @big_str is a macro. See the @big_str documentation for For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loopCHAPTER 6. MATHEMATICAL OPERATIONS AND ELEMENTARY FUNCTIONS0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 25.3 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 25.4 Communication and data-races or setrounding and @big_str, the macro used for big string literals (such as big"0.3"), might not be intuitive, as a consequence of the fact that @big_str is a macro. See the @big_str documentation for For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loopCHAPTER 6. MATHEMATICAL OPERATIONS AND ELEMENTARY FUNCTIONS0 码力 | 2057 页 | 7.44 MB | 3 月前3julia 1.12.0 beta1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 25.3 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 25.4 Communication and data-races or setrounding and @big_str, the macro used for big string literals (such as big"0.3"), might not be intuitive, as a consequence of the fact that @big_str is a macro. See the @big_str documentation for For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loopCHAPTER 6. MATHEMATICAL OPERATIONS AND ELEMENTARY FUNCTIONS0 码力 | 2047 页 | 7.41 MB | 3 月前3Julia 1.12.0 RC1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 25.3 The @threads Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 25.4 Communication and data-races or setrounding and @big_str, the macro used for big string literals (such as big"0.3"), might not be intuitive, as a consequence of the fact that @big_str is a macro. See the @big_str documentation for For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loopCHAPTER 6. MATHEMATICAL OPERATIONS AND ELEMENTARY FUNCTIONS0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 22 条
- 1
- 2
- 3