BlockVector

class dolfin.cpp.la.BlockVector(n=0)

Bases: object

Constructor

axpy()

Add multiple of given vector (AXPY operation)

copy()

Return copy of tensor

empty()

Return true if empty

get_block()

Overloaded versions

  • get_block(i)

    Get sub-vector (const)

  • get_block()

    Get sub-vector (non-const)

inner()

Return inner product with given vector

max()

Return maximum value of vector

min()

Return minimum value of vector

norm()

Return norm of vector

set_block()

Set function

size()

Number of vectors

str()

Return informal string representation (pretty-print)

thisown

The membership flag