7 مستودعات
Functions for extracting matrix diagonals or constructing square matrices with specific diagonal offsets.
Distinct from Array Operations: Distinct from general array operations: focuses specifically on linear algebra-oriented diagonal transformations.
Explore 7 awesome GitHub repositories matching programming languages & runtimes · Diagonal Manipulations. Refine with filters or upvote what's useful.
This project is a machine learning array framework and tensor computation library designed for high-performance numerical computing. It provides a comprehensive suite of tools for constructing and training neural networks, featuring an automatic differentiation engine that facilitates gradient-based optimization and complex mathematical modeling. The library distinguishes itself through a unified memory architecture that allows data to be shared across CPU and GPU devices without explicit copies, significantly reducing data movement overhead. Its execution model relies on a lazy evaluation en
The library creates one-dimensional arrays from matrix diagonals or builds square matrices with specified diagonal offsets for linear algebra operations.
This project is a header-only C++ library designed for graphics mathematics, providing a comprehensive suite of vector, matrix, and quaternion types. It is built using template metaprogramming to generate mathematical primitives at compile time, eliminating the need for precompiled binary libraries and allowing for direct integration into existing build systems. The library is distinguished by its strict adherence to the OpenGL Shading Language specification, ensuring that mathematical results remain consistent across both CPU and GPU code. It provides specialized utilities for managing float
Constructs diagonal matrices with specified values to facilitate scaling and projection operations.
Torch7 is a scientific computing environment and tensor computation library used for deep learning research and numerical analysis. It functions as a Lua-based framework for training neural networks and learning agents, providing a toolkit for implementing architectures and training through reinforcement learning algorithms. The project is distinguished by its tight integration with C, utilizing a binding layer to map high-level scripting to low-level C structures for direct memory access. It supports hardware-accelerated computation by offloading linear algebra and convolution operations to
Constructs diagonal matrices from vectors and extracts diagonals from matrices.
This project is a comprehensive library of practical Python code examples and patterns. It provides a collection of scripts and snippets designed to demonstrate a wide range of programming tasks, from basic syntax to advanced implementation patterns. The repository focuses on several core domains, including the implementation of concurrency and multithreading examples, data analysis snippets for cleaning and manipulating tabular data, and various data visualization examples. It also covers automation scripts for file system management and a variety of general programming patterns. Additional
Implements the construction of matrices with specific diagonal offsets.
Warp is a Python framework that JIT-compiles Python functions into CUDA kernels for GPU-accelerated parallel computation, with built-in automatic differentiation and multi-framework array interoperability. At its core, it provides a GPU kernel compilation system that enables writing and executing custom GPU kernels directly from Python, while supporting automatic gradient computation through those kernels for integration with machine learning pipelines. The framework also includes tile-based cooperative computing, where thread blocks partition into tiles for shared-memory and tensor-core opera
Extracts or sets the diagonal blocks of a block-sparse matrix on the GPU.
libigl هي مكتبة لمعالجة الهندسة بلغة C++ تُستخدم لتحليل ومعالجة شبكات المثلثات والرباعيات الأسطح ثلاثية الأبعاد. تعمل كمجموعة للجبر الخطي العددي وإطار عمل لمعالجة الشبكات، حيث تدمج محرك تشوه هندسي لتنفيذ التحويلات الصلبة ومتعددة التوافقيات. يتميز المشروع بتصميمه كمكتبة تعتمد على ملفات الترويسة فقط (Header-only) وتنفيذه لتقنيات تشوه متخصصة، بما في ذلك التشوه الصلب قدر الإمكان والتشوه متعدد التوافقيات. كما يوفر أداة تصور لعرض الأسطح والحقول العددية مع عناصر تحكم تفاعلية في المشهد واختيار الشبكة. تغطي المكتبة مجموعة واسعة من الإمكانيات بما في ذلك التحليل الهندسي للانحناء والمسافات الجيوديسية، وتوليد الشبكات عبر استخراج الأسطح المتساوية والتثليث، وإعادة بناء الشبكة من خلال التشويه متباين الخواص. كما تدعم عمليات الشبكة المنطقية، ومعاملة الأسطح، والتحسين العددي لحل معادلات لابلاس والبرامج التربيعية. تتضمن مجموعة الأدوات مرافق لاستيراد وتصدير تنسيقات هندسية ثلاثية الأبعاد متنوعة وتدعم التوافق مع Matlab لتنفيذ النصوص البرمجية ومشاركة المصفوفات.
Retrieves the main diagonal of sparse matrices as vectors or constructs square matrices from diagonals.
xtensor is a C++ multidimensional array library for numerical computing that provides N-dimensional containers with an interface mirroring the NumPy API. It utilizes a lazy evaluation expression engine to defer numerical computations until assignment, which minimizes memory allocations and intermediate copies. The library features a foreign memory array adaptor that allows it to wrap external buffers, such as NumPy arrays, to perform numerical operations in-place without duplicating data. It further optimizes performance through lazy broadcasting and a system that manages the lifetime of temp
Retrieves elements along the diagonal of a multidimensional array.