julia 1.10.10
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * biCHAPTER 12. METHODS 163 ## this is insufficient because it assumes `one(eltype(a))` `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi) # this is wrong, since depending on the return value # of type-inference is very brittle (as the corresponding length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/p with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using the norms of0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.10.9
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * biCHAPTER 12. METHODS 163 ## this is insufficient because it assumes `one(eltype(a))` `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi) # this is wrong, since depending on the return value # of type-inference is very brittle (as the corresponding length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/p with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using the norms of0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.11.4
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * bi ## this is insufficient because it assumes `one(eltype(a))` is constructable: # R `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi)CHAPTER 13. METHODS 172 # this is wrong, since depending on the return value # of type-inference length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/pCHAPTER 79. LINEAR ALGEBRA 1517 with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.5 Documentation
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * bi ## this is insufficient because it assumes `one(eltype(a))` is constructable: # R `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi)CHAPTER 13. METHODS 172 # this is wrong, since depending on the return value # of type-inference length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/pCHAPTER 79. LINEAR ALGEBRA 1517 with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.6 Release Notes
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * bi ## this is insufficient because it assumes `one(eltype(a))` is constructable: # R `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi)CHAPTER 13. METHODS 172 # this is wrong, since depending on the return value # of type-inference length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/pCHAPTER 79. LINEAR ALGEBRA 1517 with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using0 码力 | 2007 页 | 6.73 MB | 3 月前3julia 1.13.0 DEV
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * bi ## this is insufficient because it assumes `one(eltype(a))` is constructable: # R `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi) # this is wrong, since depending on the return value # of type-inference is very brittle (as the corresponding length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/p with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using the norms of0 码力 | 2058 页 | 7.45 MB | 3 月前3Julia 1.12.0 RC1
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * bi ## this is insufficient because it assumes `one(eltype(a))` is constructable: # R `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi) # this is wrong, since depending on the return value # of type-inference is very brittle (as the corresponding length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/p with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using the norms of0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta4
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * bi ## this is insufficient because it assumes `one(eltype(a))` is constructable: # R `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi) # this is wrong, since depending on the return value # of type-inference is very brittle (as the corresponding length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/p with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using the norms of0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta3
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * bi ## this is insufficient because it assumes `one(eltype(a))` is constructable: # R `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi) # this is wrong, since depending on the return value # of type-inference is very brittle (as the corresponding length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/p with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using the norms of0 码力 | 2057 页 | 7.44 MB | 3 月前3julia 1.12.0 beta1
pseudo-code might look like: function matmul(a::AbstractMatrix, b::AbstractMatrix) op = (ai, bi) -> ai * bi + ai * bi ## this is insufficient because it assumes `one(eltype(a))` is constructable: # R `+` calls `promote_type` ## but this is not true for some types, such as Bool: # R = promote_type(ai, bi)CHAPTER 13. METHODS 173 # this is wrong, since depending on the return value # of type-inference the corresponding length. The p-norm is defined as ∥A∥p = � n � i=1 |ai|p �1/p with ai the entries of A, |ai| the norm of ai, and n the length of A. Since the p-norm is computed using the norms of0 码力 | 2047 页 | 7.41 MB | 3 月前3
共 20 条
- 1
- 2