|
535 | 535 | <div class="head"> |
536 | 536 | <p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p> |
537 | 537 | <h1 class="p-name no-ref" id="title">Binary Sparse Format Specification Version 0.1</h1> |
538 | | - <p id="w3c-state"><a href="https://www.w3.org/standards/types#UD">Unofficial Proposal Draft</a>, <time class="dt-updated" datetime="2024-03-19">19 March 2024</time></p> |
| 538 | + <p id="w3c-state"><a href="https://www.w3.org/standards/types#UD">Unofficial Proposal Draft</a>, <time class="dt-updated" datetime="2024-05-07">7 May 2024</time></p> |
539 | 539 | <details open> |
540 | 540 | <summary>More details about this document</summary> |
541 | 541 | <div data-fill-with="spec-metadata"> |
@@ -640,6 +640,15 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2> |
640 | 640 | <li><a href="#skew_symmetric_upper_structure"><span class="secno">3.7.1.6</span> <span class="content">skew_symmetric_upper</span></a> |
641 | 641 | </ol> |
642 | 642 | </ol> |
| 643 | + <li> |
| 644 | + <a href="#key_attributes"><span class="secno">3.8</span> <span class="content">Attributes</span></a> |
| 645 | + <ol class="toc"> |
| 646 | + <li> |
| 647 | + <a href="#defined-attributes"><span class="secno">3.8.1</span> <span class="content">Defined Attributes</span></a> |
| 648 | + <ol class="toc"> |
| 649 | + <li><a href="#number_of_diagonal_elements_attributes"><span class="secno">3.8.1.1</span> <span class="content">number_of_diagonal_elements</span></a> |
| 650 | + </ol> |
| 651 | + </ol> |
643 | 652 | </ol> |
644 | 653 | <li> |
645 | 654 | <a href="#binary_container"><span class="secno">4</span> <span class="content">Binary Containers</span></a> |
@@ -1334,6 +1343,16 @@ <h5 class="heading settled" data-level="3.7.1.6" id="skew_symmetric_upper_struct |
1334 | 1343 | <p><code>values</code> = [1, 2, 9, 7, 2, 2, 3, 3, 7]</p> |
1335 | 1344 | </ul> |
1336 | 1345 | </div> |
| 1346 | + <h3 class="heading settled" data-level="3.8" id="key_attributes"><span class="secno">3.8. </span><span class="content">Attributes</span><a class="self-link" href="#key_attributes"></a></h3> |
| 1347 | + The <code>attributes</code> key shall denote a dictionary of optional attributes containing |
| 1348 | +keys with information about the stored matrix and the data it represents. |
| 1349 | +Attributes are optional and may be ignored by a compliant parser. |
| 1350 | + <h4 class="heading settled" data-level="3.8.1" id="defined-attributes"><span class="secno">3.8.1. </span><span class="content">Defined Attributes</span><a class="self-link" href="#defined-attributes"></a></h4> |
| 1351 | + <h5 class="heading settled" data-level="3.8.1.1" id="number_of_diagonal_elements_attributes"><span class="secno">3.8.1.1. </span><span class="content">number_of_diagonal_elements</span><a class="self-link" href="#number_of_diagonal_elements_attributes"></a></h5> |
| 1352 | + <code>number_of_diagonal_elements</code> shall contain an integer value corresponding to |
| 1353 | +the number of elements on the stored matrix’s diagonal. |
| 1354 | + <p class="note" role="note"><span>Note:</span> implementations are highly encouraged to provide the <code>number_of_diagonal_elements</code> attribute for matrices with a symmetric, |
| 1355 | +skew-symmetric, or Hermitian structure.</p> |
1337 | 1356 | <h2 class="heading settled" data-level="4" id="binary_container"><span class="secno">4. </span><span class="content">Binary Containers</span><a class="self-link" href="#binary_container"></a></h2> |
1338 | 1357 | Binary containers must store binary arrays in a standardized, cross-platform |
1339 | 1358 | manner, using the corresponding dataset names previously defined. |
|
0 commit comments