Skip to content

Commit

Permalink
First stab at adding attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBrock committed Apr 1, 2024
1 parent 7a379e3 commit ebec82e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spec/latest/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,20 @@ Example of a symmetric CSR matrix.

</div>

Attributes {#key_attributes}
--------------------------
The `attributes` key shall denote a dictionary of optional attributes containing
keys with information about the stored matrix and the data it represents.
Attributes are optional and may be ignored by a compliant parser.

#### number_of_diagonal_elements #### {#number_of_diagonal_elements_attributes}
`number_of_diagonal_elements` shall contain an integer value corresponding to
the number of elements on the stored matrix's diagonal.

Note: implementations are highly encouraged to provide the
`number_of_diagonal_elements` attribute for matrices with a symmetric,
skew-symmetric, or Hermitian structure.

Binary Containers {#binary_container}
=====================================
Binary containers must store binary arrays in a standardized, cross-platform
Expand Down

0 comments on commit ebec82e

Please sign in to comment.