Overview of Tensor, Matrix- and Vector Types
Notation
|
is the data type. For general linear algebra operations this will
be a real type e.g. |
|
is the orientation type, either |
|
is an array storage type, e.g.
|
|
is a triangular functor:
|
|
are unsigned integer sizes ( |
|
is an index base ( |
|
is any vector type |
|
is any matrix type |
|
is any tensor type |
|
denote optional arguments - for more details look at the section "storage layout". |
Vectors
| Definition | Description |
|---|---|
|
a dense vector of values of type |
|
a dense vector of values of type |
|
a dense vector of values of type |
|
the zero vector of type |
|
the unit vector of type |
|
a sparse vector of values of type
|
|
a sparse vector of
values of type |
|
a sparse vector of
values of type |
Note: the default types are defined in boost/numeric/ublas/fwd.hpp.
Vector Proxies
| Definition | Description |
|---|---|
|
a vector referencing a continuous
subvector of elements of vector |
|
a vector referencing a non
continuous subvector of elements of vector |
|
a vector referencing the |
|
a vector referencing the
|
Matrices
| Definition | Description |
|---|---|
|
a dense matrix of values of
type |
|
a dense matrix of type |
|
a dense matrix of values of
type |
|
a dense matrix of
values of type |
|
a zero matrix of type |
|
an identity matrix of type |
|
a matrix of type |
|
a triangular matrix of
values of type |
|
a
banded matrix of values of type |
|
a symmetric matrix of
values of type |
|
a hermitian matrix of
values of type |
|
a sparse
matrix of values of type |
|
a sparse matrix of values of type |
|
a sparse matrix of values of type |
|
a sparse matrix of values of type |
|
a sparse matrix of values of type |
Note: the default types are defined in boost/numeric/ublas/fwd.hpp.
Matrix Proxies
| Definition | Description |
|---|---|
|
a triangular matrix
referencing a selection of elements of the matrix |
|
a symmetric matrix referencing
a selection of elements of the matrix |
|
a hermitian matrix referencing
a selection of elements of the matrix |
|
a banded matrix
referencing a selection of elements of the matrix |
|
a matrix referencing
a submatrix of elements in the matrix |
|
a matrix referencing
a non continues submatrix of elements in the matrix |
Tensors
| Definition | Description |
|---|---|
|
a dense matrix of values
of type |
Special Storage Layouts
The library supports conventional dense, packed and basic sparse vector and matrix storage layouts. The description of the most common constructions of vectors and matrices comes next.
| Construction | Comment |
|---|---|
|
a dense vector, storage is
provided by a standard vector. |
|
a dense vector, storage
is provided by a heap-based array. |
|
a dense vector, storage
is provided by a stack-based array. |
|
a sparse vector, storage is provided by a standard map. |
|
a sparse vector, storage is provided by a map array. |
|
a dense matrix, orientation is row major, storage is provided by a standard vector. |
|
a
dense matrix, orientation is column major, storage is provided by a
standard vector. |
|
a dense matrix, orientation is row major, storage is provided by a heap-based array. |
|
a
dense matrix, orientation is column major, storage is provided by a
heap-based array. |
|
a dense matrix, orientation is row major, storage is provided by a stack-based array. |
|
a dense matrix, orientation is column major, storage is provided by a
stack-based array. |
|
a packed triangular matrix, orientation is row major. |
|
a packed
triangular matrix, orientation is column major. |
|
a packed banded matrix, orientation is row major. |
|
a packed banded matrix, orientation is column major. |
|
a packed symmetric matrix, orientation is row major. |
|
a packed
symmetric matrix, orientation is column major. |
|
a packed hermitian matrix, orientation is row major. |
|
a packed
hermitian matrix, orientation is column major. |
|
a sparse matrix, orientation is row major, storage is provided by a standard map. |
|
a sparse matrix, orientation is column major, storage is provided by a standard map. |
|
a sparse matrix, orientation is row major, storage is provided by a map array. |
|
a sparse matrix, orientation is column major, storage is provided by a map array. |
|
a
compressed matrix, orientation is row major. |
|
a
compressed matrix, orientation is column major. |
|
a
coordinate matrix, orientation is row major. |
|
a
coordinate matrix, orientation is column major. |
Copyright (©) 2000-2004 Joerg Walter, Mathias Koch, Gunter Winkler,
Michael Stevens
Copyright (©) 2021 Shikhar Vashistha
Use, modification and distribution are subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt ).