Julia v1.1.1 Documentation
three possible points of return from this func�on, returning the values of three different expressions, de- pending on the values of x and y. The return on the last line could be omi�ed since it is the last other methods, too, to make it act like a Number, e.g. +, *, one, zero, promo�on rules and so on.) By de- fault, instances of this type display rather simply, with informa�on about the type name and the field are designed to be executed on already secured environments on infrastructure such as local laptops, de- partmental clusters, oreven the cloud. This sec�on covers network securityrequirements forthe inbuilt0 码力 | 1216 页 | 4.21 MB | 1 年前3Julia 1.1.0 Documentation
three possible points of return from this func�on, returning the values of three different expressions, de- pending on the values of x and y. The return on the last line could be omi�ed since it is the last other methods, too, to make it act like a Number, e.g. +, *, one, zero, promo�on rules and so on.) By de- fault, instances of this type display rather simply, with informa�on about the type name and the field are designed to be executed on already secured environments on infrastructure such as local laptops, de- partmental clusters, oreven the cloud. This sec�on covers network securityrequirements forthe inbuilt0 码力 | 1214 页 | 4.21 MB | 1 年前3Julia v1.2.0 Documentation
three possible points of return from this func�on, returning the values of three different expressions, de- pending on the values of x and y. The return on the last line could be omi�ed since it is the last other methods, too, to make it act like a Number, e.g. +, *, one, zero, promo�on rules and so on.) By de- fault, instances of this type display rather simply, with informa�on about the type name and the field are designed to be executed on already secured environments on infrastructure such as local laptops, de- partmental clusters, oreven the cloud. This sec�on covers network securityrequirements forthe inbuilt0 码力 | 1250 页 | 4.29 MB | 1 年前3Julia 1.2.0 DEV Documentation
three possible points of return from this func�on, returning the values of three different expressions, de- pending on the values of x and y. The return on the last line could be omi�ed since it is the last other methods, too, to make it act like a Number, e.g. +, *, one, zero, promo�on rules and so on.) By de- fault, instances of this type display rather simply, with informa�on about the type name and the field are designed to be executed on already secured environments on infrastructure such as local laptops, de- partmental clusters, oreven the cloud. This sec�on covers network securityrequirements forthe inbuilt0 码力 | 1252 页 | 4.28 MB | 1 年前3Julia 1.10.0 DEV Documentation
elsize(::Type{<:A}) Return the stride between consecutive elements in the array. Optional methods De- fault defini- tion Brief description stride(A, i::Int) strides(A)[i] Return the distance in necessary. For simple functions, it is often clearer to mention the role of the arguments directly in the de- scription of the function's purpose. An argument list would only repeat information already provided StackTrace can be used in place of Vector{StackFrame}. (Examples with [...] indicate that output may vary de- pending on how the code is run.) julia> example() = stacktrace() example (generic function with0 码力 | 1678 页 | 5.95 MB | 1 年前3Julia 1.12.0 DEV Documentation
you should always define at least one of Base.IteratorSize(IterType) and length(iter) because the de- fault definition of Base.IteratorSize(IterType) is Base.HasLength(). Sequential iteration is implemented while next !== nothing 199 CHAPTER 16. INTERFACES 200 Method When should this method be defined? De- fault defi- nition Brief description Base.IteratorSize(IterType) If default is not appropriate elsize(::Type{<:A}) Return the stride between consecutive elements in the array. Optional methods De- fault defini- tion Brief description stride(A, i::Int) strides(A)[i] Return the distance in0 码力 | 2009 页 | 6.72 MB | 1 年前3Julia 1.11.0 DEV Documentation
you should always define at least one of Base.IteratorSize(IterType) and length(iter) because the de- fault definition of Base.IteratorSize(IterType) is Base.HasLength(). Sequential iteration is implemented while next !== nothing 199 CHAPTER 16. INTERFACES 200 Method When should this method be defined? De- fault defi- nition Brief description Base.IteratorSize(IterType) If default is not appropriate elsize(::Type{<:A}) Return the stride between consecutive elements in the array. Optional methods De- fault defini- tion Brief description stride(A, i::Int) strides(A)[i] Return the distance in0 码力 | 2007 页 | 6.71 MB | 1 年前3Julia 1.11.0 beta1 Documentation
you should always define at least one of Base.IteratorSize(IterType) and length(iter) because the de- fault definition of Base.IteratorSize(IterType) is Base.HasLength(). Sequential iteration is implemented while next !== nothing 199 CHAPTER 16. INTERFACES 200 Method When should this method be defined? De- fault defi- nition Brief description Base.IteratorSize(IterType) If default is not appropriate elsize(::Type{<:A}) Return the stride between consecutive elements in the array. Optional methods De- fault defini- tion Brief description stride(A, i::Int) strides(A)[i] Return the distance in0 码力 | 1997 页 | 6.68 MB | 1 年前3Julia v1.3.1 Documentation
three possible points of return from this func�on, returning the values of three different expressions, de- pending on the values of x and y. The return on the last line could be omi�ed since it is the last other methods, too, to make it act like a Number, e.g. +, *, one, zero, promo�on rules and so on.) By de- fault, instances of this type display rather simply, with informa�on about the type name and the field are designed to be executed on already secured environments on infrastructure such as local laptops, de- partmental clusters, oreven the cloud. This sec�on covers network securityrequirements forthe inbuilt0 码力 | 1276 页 | 4.36 MB | 1 年前3Julia 1.3.0 DEV Documentation
three possible points of return from this func�on, returning the values of three different expressions, de- pending on the values of x and y. The return on the last line could be omi�ed since it is the last other methods, too, to make it act like a Number, e.g. +, *, one, zero, promo�on rules and so on.) By de- fault, instances of this type display rather simply, with informa�on about the type name and the field are designed to be executed on already secured environments on infrastructure such as local laptops, de- partmental clusters, oreven the cloud. This sec�on covers network securityrequirements forthe inbuilt0 码力 | 1274 页 | 4.36 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9