this post was submitted on 28 Apr 2024
261 points (100.0% liked)

Science Memes

233 readers
51 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
top 13 comments
sorted by: hot top controversial new old
[–] yardy_sardley@lemmy.ca 53 points 6 months ago (2 children)

Did nobody else's CS department require a bunch of linear algebra courses? A vector is an element of vector space.

[–] sexy_peach 5 points 6 months ago

We do and we know this. Maybe programmers would give that answer

load more comments (1 replies)
[–] sanosuke001@lemmynsfw.com 39 points 6 months ago (2 children)

What do you mean? A vector is a direction and magnitude!

[–] deaf_fish@lemm.ee 14 points 6 months ago

Maybe they mean std::vector in C++?

[–] SorryQuick@lemmy.ca 1 points 6 months ago

You can also define a vector by the equivalent “sides of the right triangle”. In 2D, the x,y coordinates. In computer science, vectors are n-tuples, so they represent a math/physics vector but in n-dimensions.

[–] cerement@slrpnk.net 18 points 6 months ago

you just need to car and cdr your cons cell …

[–] muntedcrocodile@lemm.ee 16 points 6 months ago* (last edited 6 months ago)

Well mathematically isn't it an n by 1 matrix.

[–] onlinepersona@programming.dev 10 points 6 months ago (1 children)

It's an array.

First time I heard of vectors in comp-sci was in C++. The naming still doesn't make sense to me.

Anti Commercial-AI license

[–] joyjoy@lemm.ee 6 points 6 months ago (1 children)

I asked my math friend. He said a vector is magnitude plus velocity.

[–] GnomeKat@lemmy.blahaj.zone 27 points 6 months ago

It should be magnitude plus orientation, not velocity. Velocity itself is a vector quantity

[–] Kaboom@reddthat.com 6 points 6 months ago

A vector is a list of numbers, at its most basic. You can add a lot of extra functionality to it, but at its core, its just a list.