Skip to content

Commit

Permalink
Rebuild documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jfowkes committed May 8, 2024
1 parent 60f0644 commit 8eda997
Show file tree
Hide file tree
Showing 217 changed files with 42,940 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ STFC Rutherford Appleton Laboratory ([[email protected]](mailto:[email protected])).
## Documentation

For detailed information about the SPRAL packages and API see [Fortran
documentation](http://www.numerical.rl.ac.uk/spral/doc/latest/Fortran/)
documentation](https://ralna.github.io/spral/_build/html/Fortran/)
or [C
documentation](http://www.numerical.rl.ac.uk/spral/doc/latest/C/).
documentation](https://ralna.github.io/spral/_build/html/C/).

## Packages

Expand Down
8 changes: 0 additions & 8 deletions doc/createweb.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
4 changes: 4 additions & 0 deletions docs/_build/html/C/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 9be5e82a2ad22e9a17dcfcb91ca0981e
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added docs/_build/html/C/.doctrees/coord_format.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/csc_format.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/environment.pickle
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/index.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/install.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/lsmr.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/matrix_util.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/random.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/scaling.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/ssids.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/ssmfe.doctree
Binary file not shown.
Binary file added docs/_build/html/C/.doctrees/ssmfe_core.doctree
Binary file not shown.
Binary file not shown.
49 changes: 49 additions & 0 deletions docs/_build/html/C/_sources/coord_format.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
=========================
Coordinate (Coord) Format
=========================

This standard data format consists of the following data:

.. code-block:: C
int m; /* number of rows (unsymmetric only) */
int n; /* number of columns */
int ne; /* number of entries in matrix (may have type int64_t) */
int row[ne]; /* row indices */
int col[ne]; /* column indices */
double val[ne]; /* numerical values */
The arrays should be set such that the ``k``-th entry is in row
``row[k]`` and column ``col[k]`` with value ``val[k]``. Entries that are
zero, including those on the diagonal, need not be specified.

For **symmetric matrices**, only the lower *or* upper triangular entries of
:math:`A` should be supplied. For **unsymmetric matrices**, all entries in the
matrix should be supplied. Duplicate entries will be summed and out-of-range
entries will be ignored.

Some SPRAL routines offer only input in :doc:`CSC format<csc_format>`, you
may need to use routines from the :doc:`matrix_util` package to convert
data from Coordinate to CSC format.

To illustrate the Coordinate format, the matrix

.. math::
\left( \begin{array}{ccccc}
1.1 & 2.2 & & 3.3 & \\
2.2 & & 4.4 & & \\
& 4.4 & 5.5 & & 6.6 \\
3.3 & & & 7.7 & 8.8 \\
& & 6.6 & 8.8 & 9.9
\end{array} \right)
is described by the following data:

.. code-block:: C
int n = 5;
int ne = 9;
int row[] = { 1, 2, 3, 4, 3, 5, 4, 5, 5 };
int col[] = { 1, 1, 2, 1, 3, 3, 4, 4, 5 };
double val[] = { 1.1, 2.2, 4.4, 3.3, 5.5, 6.6, 7.7, 8.8, 9.9 };
53 changes: 53 additions & 0 deletions docs/_build/html/C/_sources/csc_format.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
=====================================
Compressed Sparse Column (CSC) Format
=====================================

This standard data format consists of the following data:

.. code-block:: C
int m; /* number of rows (unsymmetric only) */
int n; /* number of columns */
int ptr[n+1]; /* column pointers (may have type int64_t) */
int row[ ptr[n]-1 ]; /* row indices */
double val[ ptr[n]-1 ]; /* numerical values */
Non-zero matrix entries are ordered by increasing column index and stored in
the arrays `row[]` and `val[]` such that `row[k]` holds
the row number and `val[k]` holds the value of the k-th entry.
The `ptr[]` array stores column pointers such that `ptr[i]` is
the position in `row[]` and `val[]` of
the first entry in the i-th column, and `ptr[n]` is
the total number of entries. `ptr[]` may be either `int` or `int64_t`.
There must be no duplicate or out of range entries.
Entries that are zero, including those on the diagonal, need not be specified.

For **symmetric matrices**, only the lower triangular entries of :math:`A`
should be supplied. For **unsymmetric matrices**, all entries in the matrix
should be supplied.

Note that most SPRAL routines offer **no checking** of user data, and the
behaviour of these routines with misformatted data is undefined. You may use
routines from the :doc:`matrix_util` package to convert data to and
check data stored in this format.

To illustrate the CSC format, the matrix

.. math::
\left( \begin{array}{ccccc}
1.1 & 2.2 & & 3.3 & \\
2.2 & & 4.4 & & \\
& 4.4 & 5.5 & & 6.6 \\
3.3 & & & 7.7 & 8.8 \\
& & 6.6 & 8.8 & 9.9
\end{array} \right)
is described by the following data:

.. code-block:: C
int n = 5;
int ptr[] = { 1, 4, 5, 7, 9, 10 };
int row[] = { 1, 2, 4, 3, 3, 5, 4, 5, 5 };
double val[] = { 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9 };
47 changes: 47 additions & 0 deletions docs/_build/html/C/_sources/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.. spral documentation master file, created by
sphinx-quickstart on Mon Feb 15 15:20:34 2016.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
The Sparse Parallel Robust Algorithms Library
=============================================

Introduction

.. toctree::
:maxdepth: 1

install

Data Formats

.. toctree::
:maxdepth: 1

csc_format
coord_format

Packages:

.. toctree::
:maxdepth: 1

lsmr
matrix_util
random
random_matrix
rutherford_boeing
scaling
ssids
ssmfe
ssmfe_expert
ssmfe_core


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

File renamed without changes.
Loading

0 comments on commit 8eda997

Please sign in to comment.