julia 1.10.10Only values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T OWE_EMPTY # Since we are assuming that there is only one notifier task (forCHAPTER 47. TASKS 958 # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9Only values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T OWE_EMPTY # Since we are assuming that there is only one notifier task (forCHAPTER 47. TASKS 958 # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4Only values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T @assert state == OWE_EMPTY # Since we are assuming that there is only one notifier task (for # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationOnly values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T @assert state == OWE_EMPTY # Since we are assuming that there is only one notifier task (for # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia v1.8.5 DocumentationOnly values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T @assert state == OWE_EMPTY # Since we are assuming that there is only one notifier task (for # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 1565 页 | 5.04 MB | 1 年前3
Julia v1.9.4 DocumentationOnly values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T @assert state == OWE_EMPTY # Since we are assuming that there is only one notifier task (for # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.8.4 DocumentationOnly values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T @assert state == OWE_EMPTY # Since we are assuming that there is only one notifier task (for # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 1565 页 | 5.04 MB | 1 年前3
Julia 1.9.0 DEV DocumentationOnly values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T @assert state == OWE_EMPTY # Since we are assuming that there is only one notifier task (for # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 1633 页 | 5.23 MB | 1 年前3
Julia 1.9.3 DocumentationOnly values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T @assert state == OWE_EMPTY # Since we are assuming that there is only one notifier task (for # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 1644 页 | 5.27 MB | 1 年前3
Julia 1.9.0 rc2 DocumentationOnly values, not variables, have types – variables are simply names bound to values, although for simplicity we may say "type of a variable" as shorthand for "type of the value to which a variable refers" actual definition of Julia's Rational immutable type (except that we omit the constructor here for simplicity), representing an exact ratio of integers: struct Rational{T<:Integer} <: Real num::T den::T @assert state == OWE_EMPTY # Since we are assuming that there is only one notifier task (for # simplicity), we know that the other possible case here is OWE_EMPTY. # We do not need to do anything because0 码力 | 1644 页 | 5.27 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













