Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

SSparseMatrix

Guides

  • SSparseMatrix objects

Symbols

  • ColumnAssociations
  • ColumnBind
  • ColumnMaxesAssociation
  • ColumnMaxes
  • ColumnMinsAssociation
  • ColumnMins
  • ColumnNamesAssociation
  • ColumnNames
  • ColumnsCount
  • ColumnSumsAssociation
  • ColumnSums
  • DimensionNamesAssociation
  • DimensionNames
  • ImposeColumnNames
  • ImposeRowNames
  • MakeSSparseMatrix
  • RowAssociations
  • RowBind
  • RowMaxesAssociation
  • RowMaxes
  • RowMinsAssociation
  • RowMins
  • RowNamesAssociation
  • RowNames
  • RowsCount
  • RowSumsAssociation
  • RowSums
  • SetColumnNames
  • SetDimensionNames
  • SetRowNames
  • SSparseMatrixAssociation
  • SSparseMatrixImportFromDirectory
  • SSparseMatrix
  • SSparseMatrixQ
  • SSparseMatrixToTriplets
  • ToSSparseMatrix
SSparseMatrix objects
The paclet "SSparseMatrix" provides functions for manipulating objects with head
SSparseMatrix
that behave like
SparseArray
objects, but have the added functionalities to use column names and row names in a manner similar to the matrix functionalities of the programming languages R and S.
More concretely, "SSparseMatrix" provides sub-matrix extraction by column and row names, column- and row names propagation for dot products, column- and row binding of sparse matrices, column- and row sums, etc.
The main implementation idea is fairly simple: we can use associations or replacement rules to map row names and column names into integers.
Similarly to how it is done in R and S,
SSparseMatrix
objects can have only strings as column names and row names.
Creation
ToSSparseMatrix
— creation of
SSparseMatrix
objects
Query functions
SparseArray
— gives the underlying sparse array object
ColumnNames
▪
RowNames
▪
DimensionNames
Sums
Total
— extended to handle
SSparseMatrix
objects
ColumnSums
▪
ColumnSumsAssociation
▪
RowSums
▪
RowSumsAssociation
Tabulation and visualization
MatrixForm
▪
MatrixPlot
Dot products
Dot
— extended to handle
SSparseMatrix
objects
Part
Part
— extended to handle
SSparseMatrix
objects
Transpose
Transpose
— extended to handle
SSparseMatrix
objects
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com