Skip to main content
Ctrl+K

RAFT

  • Quick Start
  • Installation
  • C++ API
  • Python API
  • RAFT Dask API
    • Using RAFT Comms
    • Developer Guide
    • Contributing
  • GitHub
  • Twitter
Home
raft
cucimcudf-javacudfcugraphcumlcuprojcuspatialcuvscuxfilterdask-cudadask-cudfkvikiolibcudflibcumllibcuprojlibcuspatiallibkvikiolibrapidsmpflibrmmlibucxxraftrapids-cmakerapidsmpfrmmucxx
nightly (26.04)
nightly (26.04)stable (26.02)legacy (25.12)
  • Quick Start
  • Installation
  • C++ API
  • Python API
  • RAFT Dask API
  • Using RAFT Comms
  • Developer Guide
  • Contributing
  • GitHub
  • Twitter

Section Navigation

  • Core
    • Resources
    • logger
    • Key-Value Pair
    • NVTX
    • Interruptible
    • Operators and Functors
    • Mathematical Functions
    • Bitset
    • Bitmap
  • Linear Algebra
    • Arithmetic
    • BLAS Routines
    • Mapping and Reduction
    • Matrix Operations
    • Matrix-Vector Operations
    • Linear Algebra Solvers
  • Matrix
    • Matrix Arithmetic
    • Matrix Manipulation
    • Matrix Ordering
    • Matrix Reductions
  • Multi-dimensional Data
    • Multi-dimensional Representation
    • mdspan: Multi-dimensional Non-owning View
    • mdarray: Multi-dimensional Owning Container
    • span: One-dimensional Non-owning View
    • mdbuffer: Multi-dimensional Maybe-Owning Container
    • memory_type_dispatcher
    • temporary_device_buffer: Temporary raft::device_mdspan Producing Object
  • Multi-node Multi-GPU
  • Random
    • Data Generation
    • Univariate Random Sampling
    • Multi-Variable Random Sampling
    • Sampling Without Replacement
  • Solvers
  • Sparse
    • Sparse Types
      • COO Matrix
      • CSR Matrix
    • Sparse Linear Algebra
    • Sparse Matrix Operations
    • Sparse Solvers
  • Stats
    • Summary Statistics
    • Probability & Information Theory
    • Regression Model Scoring
    • Classification Model Scoring
    • Clustering Model Scoring
  • Utilities
  • C++ API
  • Matrix

Matrix#

This page provides C++ class references for the publicly-exposed elements of the raft/matrix headers. The raft/matrix headers cover many operations on matrices that are otherwise not covered by raft/linalg.

Contents:

  • Matrix Arithmetic
    • Line-wise Operation
    • Power
    • Ratio
    • Reciprocal
    • Sign-flip
    • Square Root
  • Matrix Manipulation
    • Initialization
    • Reverse
    • Threshold
  • Matrix Ordering
    • Argmax
    • Argmin
    • Select-K
    • Column-wise Sort
  • Matrix Reductions
    • Matrix Norm

previous

Linear Algebra Solvers

next

Matrix Arithmetic

This Page

  • Show Source

© Copyright 2023-2026, NVIDIA Corporation.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.