{"repo":"thenumbernine/Tensor","free":true,"listed":false,"github":"https://github.com/thenumbernine/Tensor","clone":"git clone https://github.com/thenumbernine/Tensor.git","description":"C++ template metaprogram driven tensor math library","language":"C++","stars":90,"topics":["differential-geometry","exterior-algebra","matrix","quaternion","vector","differential-geometry-operators","quaternion-library"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Differential Geometry Tensor Library After using fixed-dimension vectors and tensors for a few decades, and having a few goes at designing a C++ math library around them, and then getting into differential geometry and relativity, and trying to design a C++ math library around that, this is the latest result. I know I've put the word \"Tensor\" in the title. Ever since the deep learning revolution in AI computer scientists have come to believe that a \"tensor\" is an arbitrary dimensioned array of numbers, preferrably larger dimensioned and smaller-indexed. This library is moreso centered around \"tensor\" in the original differential geometry definition: a geometric object that lives in the tangent space at some point on a manifold and is invariant to coordinate transforms. This means I am designing this library centered around compile-time sized small arrays and larger ranks/degrees/grades (whatever the term is for the number of indexes). The old and pre-C++11 and ugly version had extra math indicators like Upper< and Lower< for tracking valence, but I've done away with that now. There was no programmatically functional reason to track it (unless I wanted to verify Einstein-index summation correctness, which I never got to), so I've just done away with it. What that means is you'll have to keep track of upper/lower/tensor basis valence all by yourself, and do your own metric multiplying all by yourself. Luckily the default tensor operator is a outer+contraction, aka matrix-multip","default_branch":null,"files":null,"tree":[],"storefront":"/r/thenumbernine","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thenumbernine/Tensor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}