r8ccs
r8ccs,
an Octave code which
carries out some basic linear algebra operations on R8CCS matrices,
real Compressed Column Storage (Colptr, Row, Value) format.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
r8ccs is available in
a C version and
a C++ version and
a Fortran90 version and
a MATLAB version and
an Octave version and
a Python version
Related Data and Programs:
r8ccs_test
ccs_io,
an Octave code which
reads and writes sparse linear systems
stored in the Compressed Column Storage (CCS) format.
linear_algebra,
MATLAB codes which
carry out various linear algebra operations for matrices
stored in a variety of formats.
Source Code:
-
i4_log_10.m,
returns the integer part of the logarithm base 10 of abs(X);
-
i4vec_print.m,
prints an I4VEC;
-
i4vec_search_binary_a.m,
uses binary search on an ascending sorted I4VEC to
find the occurrence of a given value;
-
r8ccs_dif2.m,
sets the second difference as an r8ccs matrix.
-
r8ccs_get.m,
gets an entry from an r8ccs matrix.
-
r8ccs_ijk.m,
gets the sparse index from the full indices in an r8ccs matrix.
-
r8ccs_inc.m,
increments an entry from an r8ccs matrix.
-
r8ccs_indicator.m,
returns an r8ccs indicator matrix;
-
r8ccs_kij.m,
gets the full indices from the sparse index in an r8ccs matrix.
-
r8ccs_mtv.m,
computes b=A'*x, where A is an r8ccs matrix;
-
r8ccs_mv.m,
computes b=A*x, where A is an r8ccs matrix;
-
r8ccs_print.m,
prints an r8ccs matrix;
-
r8ccs_print_some.m,
prints some of an r8ccs matrix;
-
r8ccs_random.m,
randomizes an r8ccs matrix;
-
r8ccs_read.m,
reads an r8ccs matrix from three files;
-
r8ccs_read_size.m,
reads the sizes associated with an r8ccs matrix stored in three files;
-
r8ccs_set.m,
sets an entry in an r8ccs matrix.
-
r8ccs_to_r8ge.m,
solves an r8ccs linear system;
-
r8ccs_write.m,
writes an r8ccs matrix to three files;
-
r8ccs_zeros.m,
zeros an r8ccs matrix;
-
r8ge_print.m,
prints an R8GE matrix;
-
r8ge_print_some.m,
prints some of an R8GE matrix;
-
r8vec_print.m,
prints an R8VEC;
Last revised on 19 May 2023.