Wouldn’t N by M be a tensor? Magnitude and direction only need one entry per DOF.
Comment on Explain yourselves, comp sci.
chonglibloodsport@lemmy.world 6 months agoNot always. Any m by n matrix is also a vector. Polynomials are vectors. As are continuous functions.
A vector is an element of a vector space over a field. These are sets which which a few operations, vector addition and scalar multiplication, and obey some well known rules, such as the existence of a zero vector (identity for vector addition), associativity and commutativity of vector addition, distributivity of scalar multiplication over vector sums, that sort of thing!
These basic properties give rise to more elaborate concepts such as linear independence, spanning sets, and the idea of a basis, though not all vector spaces have a finite basis.
Pulptastic@midwest.social 6 months ago
chonglibloodsport@lemmy.world 6 months ago
Every vector is a tensor. Matrices are vectors. Magnitude and direction have nothing to do with the definition of vectors which are just elements of vector spaces.
Pulptastic@midwest.social 6 months ago
All vectors are tensors but not vice versa. And every page/definition of vector I’ve seen references magnitude and direction, even the vector space page you linked.
It looks like “vector” commonly refers to geometric vectors which is what most folks in this thread are discussing.
Would N by M vectors be imaginary, where each DOF has real and imaginary components?
chonglibloodsport@lemmy.world 6 months ago
Continuous functions on [0,1] are vectors. Magnitude and direction are meaningless in that vector space, usually called C[0,1]. Magnitude and direction are not fundamental properties of vectors.
n by m matrices (and the vector spaces to which they belong) are perhaps best thought of similarly to functions and function spaces. Not as geometric objects, but as linear transformations (which they are).
muntedcrocodile@lemm.ee 6 months ago
How are polynomials vectors how does that work?
Say u have polynomial f(x)= a + bx + cx^2 + dx^3
How is that represented as a vector? Or is it just one of those maths well technically things? Cos as far as I’m aware √g = π = e = 3.
Are differential eqs also vectors?
chonglibloodsport@lemmy.world 6 months ago
Your polynomial, f(x) = a + bx +cx^2 + dx^3, is an element of the vector space P3®, the polynomial vector space of degree at most 3 over the reals. This space is isomorphic to R^4 and it has a standard basis: {1, x, x^2, x^3}. Then you can see that any such f(x) may be queen written as a linear combination of the basis vectors with real valued scalars.
i_love_FFT@lemmy.ml 6 months ago
What happens to elements with powers of x above 3? Say we multiply the example vector above with itself. We would end up with a component d^2x^6, witch is not part of the P3R vector source, right?
Do we need a special multiplication rule to handle powers of x above 3? I’ve worked with quaternions before, which has " special" multiplication rules by defining i j and k.
chonglibloodsport@lemmy.world 6 months ago
Multiplication of two vectors is not an operation defined on vector spaces. If you want that, you’re looking at either a structure known as an inner product space or an algebra over a field.
Note that the usual notion of polynomial multiplication doesn’t apply to polynomial vector spaces, nor does it agree with the definition of an inner product. For that you need an algebra.
Crazazy@feddit.nl 6 months ago
That’s only if you’re working with the perspective of it being a polynomial. When you’re considering the polynomial as a vector however, that operation simply doesn’t exist