MatrixDouble#
- class pyopenms.MatrixDouble#
Bases:
objectCython implementation of _Matrix[double]
Original C++ documentation is available here
- __init__()#
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: MatrixDouble) None
Overload:
- __init__(self, rows: int, cols: int, value: float) None
Methods
Overload:
clear(self)colIndex(self, index)Calculate the column from an index into the underlying vector.
cols(self)getValue(self, i, j)Cython signature: numpy_matrix get_matrix()
Cython signature: numpy_matrix get_matrix()
index(self, row, col)indexPair(self, index)Overload:
rowIndex(self, index)Calculate the row from an index into the underlying vector.
rows(self)setValue(self, i, j, value)Cython signature: numpy_matrix set_matrix()
sizePair(self)- clear(self) None#
- colIndex(self, index: int) int#
Calculate the column from an index into the underlying vector. Note that Matrix uses the (row,column) lexicographic ordering for indexing
- cols(self) int#
- getValue(self, i: int, j: int) float#
- get_matrix()#
Cython signature: numpy_matrix get_matrix()
- get_matrix_as_view()#
Cython signature: numpy_matrix get_matrix()
- index(self, row: int, col: int) int#
- indexPair(self, index: int) List[int, int]#
- resize()#
Overload:
- resize(self, i: int, j: int, value: float) None
Overload:
- resize(self, size_pair: List[int, int], value: float) None
- rowIndex(self, index: int) int#
Calculate the row from an index into the underlying vector. Note that Matrix uses the (row,column) lexicographic ordering for indexing
- rows(self) int#
- setValue(self, i: int, j: int, value: float) None#
- set_matrix()#
Cython signature: numpy_matrix set_matrix()
- sizePair(self) List[int, int]#