MACRO-FREE TESTING WITH C++20CPPCON 2020 / CPPCON 2020 / MACRO-FREE TESTING MACRO-FREE TESTING WITH C++20 WITH C++20 | | | | HTTPS://BOOST-EXT.GITHUB.IO/UT/CPPCON-2020 HTTPS://BOOST-EXT.GITHUB.IO/UT/CPPCON-2020 KRIS@JUSIAK SINGLE (2K LOC) WITH NO EXTERNAL DEPENDENCIES (2K LOC) WITH NO EXTERNAL DEPENDENCIES MACRO-FREE (✔ ) MACRO-FREE (✔ ) (*) LIMITATIONS MAY APPLY (*) LIMITATIONS MAY APPLY HTTPS://GITHUB.COM/BOOST-EXT/UT SINGLE (2K LOC) WITH NO EXTERNAL DEPENDENCIES (2K LOC) WITH NO EXTERNAL DEPENDENCIES MACRO-FREE (✔ ) MACRO-FREE (✔ ) FEATURES ( FEATURES ( , , , , , , , , , , , , , , ) (*) LIMITATIONS MAY0 码力 | 53 页 | 1.98 MB | 6 月前3
Julia 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 月前3
Julia 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 月前3
Julia 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 月前3
julia 1.10.10Communication 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 月前3
Julia 1.10.9Communication 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 月前3
julia 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 月前3
Julia 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
Julia 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 月前3
Julia 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 月前3
共 103 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11













