addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

February Meetup: Some animals are more equal than others

In everyday life the subtle ambiguities of identity and equality are seldom noticed because we make unconscious allowances and adjustments for them. In mathematics they cause a little more trouble, but the place where equality gets really queer is in the discrete, deterministic, and literal-minded little world of the digital computer. There, the simple act of saying that two things are “the same” can lead into surprisingly treacherous territory.
   - Brian Hayes, "Identity Crisis"

What does it mean for two variables to be equal? This may seem like too obvious to be worth discussing. But consider floating-point NaNs, which are by definition not numerically equal to any other floating-point number, not even to themselves. Should arrays containing NaNs be considered equal to themselves? What does equality mean for arrays anyway? Should arrays be equal only if they point to the same memory locations, or is it "sufficiently equal" if all their elements are equal? (And what if the elements are NaNs?)

Jeff Bezanson, one of the co-founders of the Julia language, will demonstrate how notions of equality can differ subtly across programming languages, and  explain the design decisions and differences between the three forms of equality supported in Julia (==, isequal, and is).

Join or login to comment.

  • Jiahao

    Please note that tonight's meetup venue is at the Microsoft NERD building and not at MIT. You will have to sign in at the security desk and show a picture ID (university ID or driver's license would be fine).

    February 25, 2014

  • Mark C.

    Has any of you worked with GIS --Geographic Information Services in Julia?

    February 25, 2014

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy