i feel like if this is for silk we'd need a proposal-style API summary, this is really hard to visua
i feel like if this is for silk we'd need a proposal-style API summary, this is really hard to visualise
Distance depends on if it's something like straight line distance or notVector represents what is functionally a magnitude (length) + directionVector and Point can be usefulVector is largely only beneficial with floating-point, due to the operations it has to supportPoint (or Coordinate or ...) are less mathematical and can have core functionality filled in nicely stillVector2<T> where T : IFloatingPoint<T>Point2<T> where T : INumber<T>Point2<int> -> Vector2<float> for examplevector is that it has a lengthlength, you don't have a vectorPoint/CoordinateVector<T> and so must support any Vector<T>, which means it might be lossless.AsVector3() (or some qualified name that disambiguates here)
Vector2<T> where T : IFloatingPointIeee754<T>Point2<T> where T : INumber<T> is appropriate won't be as easyISimdVector<TSelf, T> is the thing I really want to finish next (might be internal only until language features come along)Vector2<T> in DecemberVector3/4<T>, Quaternion<T>, Plane<T>, Matrix4x4<T>Complex<T>TensorPrimitives workTensorPrimitivesTensorPrimitives are all nice too, since its going to be the full set of math functionsSpan<T> rather than fixed size vectors
Span<T>In mathematics, a tensor is an algebraic object that describes a multilinear relationship between sets of algebraic objects related to a vector space.
why is mathDistance