Sparse matrix containers that wrap existing data or iterators in COO, CSR, DIA, ELL, HYB, and Permutation representations. More...
Functions | |
template<typename ArrayType1 , typename ArrayType2 , typename ArrayType3 > | |
coo_matrix_view< ArrayType1, ArrayType2, ArrayType3 > | cusp::make_coo_matrix_view (const size_t num_rows, const size_t num_cols, const size_t num_entries, ArrayType1 row_indices, ArrayType2 column_indices, ArrayType3 values) |
template<typename ArrayType1 , typename ArrayType2 , typename ArrayType3 , typename IndexType , typename ValueType , typename MemorySpace > | |
coo_matrix_view< ArrayType1, ArrayType2, ArrayType3, IndexType, ValueType, MemorySpace > | cusp::make_coo_matrix_view (const coo_matrix_view< ArrayType1, ArrayType2, ArrayType3, IndexType, ValueType, MemorySpace > &m) |
template<typename MatrixType > | |
MatrixType::coo_view_type | cusp::make_coo_matrix_view (MatrixType &m) |
template<typename MatrixType > | |
MatrixType::const_coo_view_type | cusp::make_coo_matrix_view (const MatrixType &m) |
template<typename ArrayType1 , typename ArrayType2 , typename ArrayType3 > | |
csr_matrix_view< ArrayType1, ArrayType2, ArrayType3 > | cusp::make_csr_matrix_view (size_t num_rows, size_t num_cols, size_t num_entries, ArrayType1 row_offsets, ArrayType2 column_indices, ArrayType3 values) |
template<typename ArrayType1 , typename ArrayType2 , typename ArrayType3 , typename IndexType , typename ValueType , typename MemorySpace > | |
csr_matrix_view< ArrayType1, ArrayType2, ArrayType3, IndexType, ValueType, MemorySpace > | cusp::make_csr_matrix_view (const csr_matrix_view< ArrayType1, ArrayType2, ArrayType3, IndexType, ValueType, MemorySpace > &m) |
template<typename IndexType , typename ValueType , class MemorySpace > | |
csr_matrix< IndexType, ValueType, MemorySpace >::view | cusp::make_csr_matrix_view (csr_matrix< IndexType, ValueType, MemorySpace > &m) |
template<typename IndexType , typename ValueType , class MemorySpace > | |
csr_matrix< IndexType, ValueType, MemorySpace > ::const_view | cusp::make_csr_matrix_view (const csr_matrix< IndexType, ValueType, MemorySpace > &m) |
template<typename ArrayType1 , typename ArrayType2 > | |
dia_matrix_view< ArrayType1, ArrayType2 > | cusp::make_dia_matrix_view (size_t num_rows, size_t num_cols, size_t num_entries, ArrayType1 diagonal_offsets, ArrayType2 values) |
template<typename ArrayType1 , typename ArrayType2 , typename IndexType , typename ValueType , typename MemorySpace > | |
dia_matrix_view< ArrayType1, ArrayType2, IndexType, ValueType, MemorySpace > | cusp::make_dia_matrix_view (const dia_matrix_view< ArrayType1, ArrayType2, IndexType, ValueType, MemorySpace > &m) |
template<typename IndexType , typename ValueType , class MemorySpace > | |
dia_matrix< IndexType, ValueType, MemorySpace >::view | cusp::make_dia_matrix_view (dia_matrix< IndexType, ValueType, MemorySpace > &m) |
template<typename IndexType , typename ValueType , class MemorySpace > | |
dia_matrix< IndexType, ValueType, MemorySpace > ::const_view | cusp::make_dia_matrix_view (const dia_matrix< IndexType, ValueType, MemorySpace > &m) |
template<typename ArrayType1 , typename ArrayType2 > | |
ell_matrix_view< ArrayType1, ArrayType2 > | cusp::make_ell_matrix_view (size_t num_rows, size_t num_cols, size_t num_entries, ArrayType1 column_indices, ArrayType2 values) |
template<typename ArrayType1 , typename ArrayType2 , typename IndexType , typename ValueType , typename MemorySpace > | |
ell_matrix_view< ArrayType1, ArrayType2, IndexType, ValueType, MemorySpace > | cusp::make_ell_matrix_view (const ell_matrix_view< ArrayType1, ArrayType2, IndexType, ValueType, MemorySpace > &m) |
template<typename IndexType , typename ValueType , typename MemorySpace > | |
ell_matrix< IndexType, ValueType, MemorySpace >::view | cusp::make_ell_matrix_view (ell_matrix< IndexType, ValueType, MemorySpace > &m) |
template<typename IndexType , typename ValueType , typename MemorySpace > | |
ell_matrix< IndexType, ValueType, MemorySpace > ::const_view | cusp::make_ell_matrix_view (const ell_matrix< IndexType, ValueType, MemorySpace > &m) |
template<typename ArrayType > | |
permutation_matrix_view < ArrayType > | cusp::make_permutation_matrix_view (size_t num_rows, ArrayType permutation) |
template<typename ArrayType , typename IndexType , typename MemorySpace > | |
permutation_matrix_view < ArrayType, IndexType, MemorySpace > | cusp::make_permutation_matrix_view (const permutation_matrix_view< ArrayType, IndexType, MemorySpace > &m) |
template<typename IndexType , class MemorySpace > | |
permutation_matrix< IndexType, MemorySpace >::view | cusp::make_permutation_matrix_view (permutation_matrix< IndexType, MemorySpace > &m) |
template<typename IndexType , class MemorySpace > | |
permutation_matrix< IndexType, MemorySpace >::const_view | cusp::make_permutation_matrix_view (const permutation_matrix< IndexType, MemorySpace > &m) |
coo_matrix_view<ArrayType1,ArrayType2,ArrayType3> cusp::make_coo_matrix_view | ( | const size_t | num_rows, |
const size_t | num_cols, | ||
const size_t | num_entries, | ||
ArrayType1 | row_indices, | ||
ArrayType2 | column_indices, | ||
ArrayType3 | values | ||
) |
This is a convenience function for generating an coo_matrix_view
using individual arrays
ArrayType1 | row indices array type |
ArrayType2 | column indices array type |
ArrayType3 | values array type |
num_rows | Number of rows. |
num_cols | Number of columns. |
num_entries | Number of nonzero matrix entries. |
row_indices | Array containing the row indices. |
column_indices | Array containing the column indices. |
values | Array containing the values. |
coo_matrix_view
constructed using input arrays Definition at line 513 of file coo_matrix.h.
coo_matrix_view<ArrayType1,ArrayType2,ArrayType3,IndexType,ValueType,MemorySpace> cusp::make_coo_matrix_view | ( | const coo_matrix_view< ArrayType1, ArrayType2, ArrayType3, IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an coo_matrix_view
using individual arrays with explicit index, value, and memory space annotations.
ArrayType1 | row indices array type |
ArrayType2 | column indices array type |
ArrayType3 | values array type |
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar coo_matrix_view matrix to copy. |
coo_matrix_view
constructed using input arrays. Definition at line 549 of file coo_matrix.h.
MatrixType::coo_view_type cusp::make_coo_matrix_view | ( | MatrixType & | m | ) |
This is a convenience function for generating an coo_matrix_view
using an existing matrix.
MatrixType | Type of the input matrix |
m | Exemplar MatrixType matrix to copy. |
coo_matrix_view
constructed using input matrix. Definition at line 566 of file coo_matrix.h.
MatrixType::const_coo_view_type cusp::make_coo_matrix_view | ( | const MatrixType & | m | ) |
This is a convenience function for generating an const coo_matrix_view
using an existing matrix.
MatrixType | Type of the input matrix |
m | Exemplar MatrixType matrix to copy. |
coo_matrix_view
constructed using input matrix. Definition at line 585 of file coo_matrix.h.
csr_matrix_view<ArrayType1,ArrayType2,ArrayType3> cusp::make_csr_matrix_view | ( | size_t | num_rows, |
size_t | num_cols, | ||
size_t | num_entries, | ||
ArrayType1 | row_offsets, | ||
ArrayType2 | column_indices, | ||
ArrayType3 | values | ||
) |
This is a convenience function for generating an csr_matrix_view
using individual arrays
ArrayType1 | row offsets array type |
ArrayType2 | column indices array type |
ArrayType3 | values array type |
num_rows | Number of rows. |
num_cols | Number of columns. |
num_entries | Number of nonzero matrix entries. |
row_offsets | Array containing the row offsets. |
column_indices | Array containing the column indices. |
values | Array containing the values. |
csr_matrix_view
constructed using input arrays Definition at line 434 of file csr_matrix.h.
csr_matrix_view<ArrayType1,ArrayType2,ArrayType3,IndexType,ValueType,MemorySpace> cusp::make_csr_matrix_view | ( | const csr_matrix_view< ArrayType1, ArrayType2, ArrayType3, IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an csr_matrix_view
using individual arrays with explicit index, value, and memory space annotations.
ArrayType1 | row offsets array type |
ArrayType2 | column indices array type |
ArrayType3 | values array type |
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar csr_matrix_view matrix to copy. |
csr_matrix_view
constructed using input arrays. Definition at line 470 of file csr_matrix.h.
csr_matrix<IndexType,ValueType,MemorySpace>::view cusp::make_csr_matrix_view | ( | csr_matrix< IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an csr_matrix_view
using an existing csr_matrix
.
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar csr_matrix matrix to copy. |
csr_matrix_view
constructed using input arrays. Definition at line 489 of file csr_matrix.h.
csr_matrix<IndexType,ValueType,MemorySpace>::const_view cusp::make_csr_matrix_view | ( | const csr_matrix< IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an const csr_matrix_view
using an existing csr_matrix
.
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar csr_matrix matrix to copy. |
csr_matrix_view
constructed using input arrays. Definition at line 512 of file csr_matrix.h.
dia_matrix_view<ArrayType1,ArrayType2> cusp::make_dia_matrix_view | ( | size_t | num_rows, |
size_t | num_cols, | ||
size_t | num_entries, | ||
ArrayType1 | diagonal_offsets, | ||
ArrayType2 | values | ||
) |
This is a convenience function for generating an dia_matrix_view
using individual arrays
ArrayType1 | diagonal offsets array type |
ArrayType2 | values array type |
num_rows | Number of rows. |
num_cols | Number of columns. |
num_entries | Number of nonzero matrix entries. |
diagonal_offsets | Array containing the diagonal offsets. |
values | Array containing the values. |
dia_matrix_view
constructed using input arrays Definition at line 460 of file dia_matrix.h.
dia_matrix_view<ArrayType1,ArrayType2,IndexType,ValueType,MemorySpace> cusp::make_dia_matrix_view | ( | const dia_matrix_view< ArrayType1, ArrayType2, IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an dia_matrix_view
using individual arrays with explicit index, value, and memory space annotations.
ArrayType1 | diagonal offsets array type |
ArrayType2 | values array type |
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar dia_matrix_view matrix to copy. |
dia_matrix_view
constructed using input arrays. Definition at line 493 of file dia_matrix.h.
dia_matrix<IndexType,ValueType,MemorySpace>::view cusp::make_dia_matrix_view | ( | dia_matrix< IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an dia_matrix_view
using an existing dia_matrix
.
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar dia_matrix matrix to copy. |
dia_matrix_view
constructed using input arrays. Definition at line 512 of file dia_matrix.h.
dia_matrix<IndexType,ValueType,MemorySpace>::const_view cusp::make_dia_matrix_view | ( | const dia_matrix< IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an const dia_matrix_view
using an existing coo_matrix
.
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar dia_matrix matrix to copy. |
dia_matrix_view
constructed using input arrays. Definition at line 534 of file dia_matrix.h.
ell_matrix_view<ArrayType1,ArrayType2> cusp::make_ell_matrix_view | ( | size_t | num_rows, |
size_t | num_cols, | ||
size_t | num_entries, | ||
ArrayType1 | column_indices, | ||
ArrayType2 | values | ||
) |
This is a convenience function for generating an ell_matrix_view
using individual arrays
ArrayType1 | column indices array type |
ArrayType2 | values array type |
num_rows | Number of rows. |
num_cols | Number of columns. |
num_entries | Number of nonzero matrix entries. |
column_indices | Array containing the column indices. |
values | Array containing the values. |
ell_matrix_view
constructed using input arrays Definition at line 448 of file ell_matrix.h.
ell_matrix_view<ArrayType1,ArrayType2,IndexType,ValueType,MemorySpace> cusp::make_ell_matrix_view | ( | const ell_matrix_view< ArrayType1, ArrayType2, IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an ell_matrix_view
using individual arrays with explicit index, value, and memory space annotations.
ArrayType1 | column indices array type |
ArrayType2 | values array type |
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar ell_matrix_view matrix to copy. |
ell_matrix_view
constructed using input arrays. Definition at line 478 of file ell_matrix.h.
ell_matrix<IndexType,ValueType,MemorySpace>::view cusp::make_ell_matrix_view | ( | ell_matrix< IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an ell_matrix_view
using an existing ell_matrix
.
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar ell_matrix matrix to copy. |
ell_matrix_view
constructed using input arrays. Definition at line 497 of file ell_matrix.h.
ell_matrix<IndexType,ValueType,MemorySpace>::const_view cusp::make_ell_matrix_view | ( | const ell_matrix< IndexType, ValueType, MemorySpace > & | m | ) |
This is a convenience function for generating an const ell_matrix_view
using an existing ell_matrix
.
IndexType | indices type |
ValueType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar ell_matrix matrix to copy. |
ell_matrix_view
constructed using input arrays. Definition at line 519 of file ell_matrix.h.
permutation_matrix_view<ArrayType> cusp::make_permutation_matrix_view | ( | size_t | num_rows, |
ArrayType | permutation | ||
) |
This is a convenience function for generating a permutation_matrix_view
using individual arrays
ArrayType | row offsets array type |
num_rows | Number of rows. |
permutation | Array containing the permutation. |
permutation_matrix_view
constructed using input arrays Definition at line 380 of file permutation_matrix.h.
permutation_matrix_view<ArrayType,IndexType,MemorySpace> cusp::make_permutation_matrix_view | ( | const permutation_matrix_view< ArrayType, IndexType, MemorySpace > & | m | ) |
This is a convenience function for generating a permutation_matrix_view
using individual arrays with explicit value, and memory space annotations.
ArrayType | permutation array type |
IndexType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar permutation_matrix_view matrix to copy. |
permutation_matrix_view
constructed using input arrays. Definition at line 402 of file permutation_matrix.h.
permutation_matrix<IndexType,MemorySpace>::view cusp::make_permutation_matrix_view | ( | permutation_matrix< IndexType, MemorySpace > & | m | ) |
This is a convenience function for generating a permutation_matrix_view
using an existing permutation_matrix
.
IndexType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar permutation_matrix matrix to copy. |
permutation_matrix_view
constructed using input arrays. Definition at line 420 of file permutation_matrix.h.
permutation_matrix<IndexType,MemorySpace>::const_view cusp::make_permutation_matrix_view | ( | const permutation_matrix< IndexType, MemorySpace > & | m | ) |
This is a convenience function for generating a const permutation_matrix_view
using an existing const permutation_matrix
.
IndexType | values type |
MemorySpace | memory space of the arrays |
m | Exemplar permutation_matrix matrix to copy. |
permutation_matrix_view
constructed using input arrays. Definition at line 438 of file permutation_matrix.h.