SecreC 2 language
2.8.0 (2023.09)
Language and standard library reference
|
Functions | |
template<domain D :shared3p , dim N> | |
D float32 | choose (D bool[[N]] cond, D float32[[N]] first, D float32[[N]] second) |
template<domain D :shared3p , dim N> | |
D float64 | choose (D bool[[N]] cond, D float64[[N]] first, D float64[[N]] second) |
template<domain D, dim N> | |
D fix32 | choose (D bool[[N]] cond, D fix32[[N]] first, D fix32[[N]] second) |
template<domain D, dim N> | |
D fix64 | choose (D bool[[N]] cond, D fix64[[N]] first, D fix64[[N]] second) |
template<domain D :shared3p > | |
D float32 | vectorUpdate (D float32[[1]] vec, D uint index, D float32 newValue) |
template<domain D :shared3p > | |
D float64 | vectorUpdate (D float64[[1]] vec, D uint index, D float64 newValue) |
template<domain D :shared3p > | |
D float32 | matrixUpdateRow (D float32[[2]] mat, D uint rowIndex, D float32[[1]] newRow) |
template<domain D :shared3p > | |
D float64 | matrixUpdateRow (D float64[[2]] mat, D uint rowIndex, D float64[[1]] newRow) |
template<domain D :shared3p > | |
D float32 | matrixUpdateColumn (D float32[[2]] mat, D uint colIndex, D float32[[1]] newCol) |
template<domain D :shared3p > | |
D float64 | matrixUpdateColumn (D float64[[2]] mat, D uint colIndex, D float64[[1]] newCol) |
template<domain D :shared3p > | |
D float32 | matrixUpdate (D float32[[2]] mat, D uint rowIndex, D uint columnIndex, D float32 newValue) |
template<domain D :shared3p > | |
D float64 | matrixUpdate (D float64[[2]] mat, D uint rowIndex, D uint columnIndex, D float64 newValue) |