2023-08-25 07:22:47 +00:00
|
|
|
name: hdmf-common.sparse
|
|
|
|
id: hdmf-common.sparse
|
|
|
|
imports:
|
|
|
|
- hdmf-common.base
|
|
|
|
- nwb.language
|
2023-08-29 05:16:58 +00:00
|
|
|
- hdmf-common.sparse
|
2023-09-04 20:49:07 +00:00
|
|
|
prefixes:
|
|
|
|
hdmf-common.sparse:
|
|
|
|
prefix_prefix: hdmf-common.sparse
|
|
|
|
prefix_reference: https://example.com/hdmf-common.sparse/
|
|
|
|
default_prefix: hdmf-common.sparse
|
2023-08-25 07:22:47 +00:00
|
|
|
classes:
|
|
|
|
CSRMatrix:
|
|
|
|
name: CSRMatrix
|
|
|
|
description: A compressed sparse row matrix. Data are stored in the standard CSR
|
|
|
|
format, where column indices for row i are stored in indices[indptr[i]:indptr[i+1]]
|
|
|
|
and their corresponding values are stored in data[indptr[i]:indptr[i+1]].
|
|
|
|
is_a: Container
|
|
|
|
attributes:
|
2023-09-01 03:56:21 +00:00
|
|
|
name:
|
|
|
|
name: name
|
|
|
|
range: string
|
|
|
|
required: true
|
2023-08-25 07:22:47 +00:00
|
|
|
shape:
|
|
|
|
name: shape
|
|
|
|
description: The shape (number of rows, number of columns) of this sparse
|
|
|
|
matrix.
|
|
|
|
range: uint
|
|
|
|
indices:
|
|
|
|
name: indices
|
|
|
|
description: The column indices.
|
2023-09-01 03:56:21 +00:00
|
|
|
multivalued: true
|
|
|
|
range: uint
|
2023-08-25 07:22:47 +00:00
|
|
|
required: true
|
|
|
|
indptr:
|
|
|
|
name: indptr
|
|
|
|
description: The row index pointer.
|
2023-09-01 03:56:21 +00:00
|
|
|
multivalued: true
|
|
|
|
range: uint
|
2023-08-25 07:22:47 +00:00
|
|
|
required: true
|
|
|
|
data:
|
|
|
|
name: data
|
|
|
|
description: The non-zero values in the matrix.
|
2023-09-01 03:56:21 +00:00
|
|
|
multivalued: true
|
|
|
|
range: AnyType
|
2023-08-25 07:22:47 +00:00
|
|
|
required: true
|
2023-09-01 03:56:21 +00:00
|
|
|
tree_root: true
|