BlockVector¶
-
class
dolfin.cpp.la.
BlockVector
¶ Bases:
object
Block vector.
Constructor.
Parameters: n (std::size_t) – -
axpy
()¶ Add multiple of given vector (AXPY operation)
Parameters: - a (double) –
- BlockVector & x (const) –
Return type: void
-
copy
()¶ Return copy of tensor.
Return type: BlockVector *
-
get_block
()¶ Get sub-vector (const)
Parameters: i (std::size_t) – Return type: std::shared_ptr< const GenericVector >
-
inner
()¶ Return inner product with given vector.
Parameters: BlockVector & x (const) – Return type: double
-
max
()¶ Return maximum value of vector.
Return type: double
-
min
()¶ Return minimum value of vector.
Return type: double
-
norm
()¶ Return norm of vector.
Parameters: norm_type (std::string) – Return type: double
-
set_block
()¶ Set
function.Parameters: - i (std::size_t) –
- GenericVector > v (std::shared_ptr<) –
Return type: void
-
size
()¶ Number of vectors.
Return type: std::size_t
-
str
()¶ Return informal string representation (pretty-print)
Parameters: verbose (bool) – Return type: std::string
-
thisown
¶ The membership flag
-