la_vector_from_matrix_row(_:_:)
Creates a vector from the specified row of the matrix.
Declaration
func la_vector_from_matrix_row(_ matrix: la_object_t, _ matrix_row: la_count_t) -> la_object_tReturn Value
The resulting vector is a 1 x cols(matrix) vector.
Parameters
- matrix
Matrix from which to create the row vector.
- matrix_row
The zero-based index of the row to create the vector from.
Creates a vector from the specified row of the matrix. If the value for matrix_row is less than zero or greater than rows(matrix)-1, LA_INVALID_PARAMETER_ERROR is returned.
If matrix is a splat, LA_INVALID_PARAMETER_ERROR is returned.
Always returns a 1 x vector_length vector.
See Also
Functions
caxpy_(_:_:_:_:_:_:)ccopy_(_:_:_:_:_:)cdotc_(_:_:_:_:_:_:)cdotu_(_:_:_:_:_:_:)cgbmv_(_:_:_:_:_:_:_:_:_:_:_:_:_:)cgemm_(_:_:_:_:_:_:_:_:_:_:_:_:_:)cgemv_(_:_:_:_:_:_:_:_:_:_:_:)cgerc_(_:_:_:_:_:_:_:_:_:)cgeru_(_:_:_:_:_:_:_:_:_:)chbmv_(_:_:_:_:_:_:_:_:_:_:_:)chemm_(_:_:_:_:_:_:_:_:_:_:_:_:)chemv_(_:_:_:_:_:_:_:_:_:_:)cher2_(_:_:_:_:_:_:_:_:_:)cher2k_(_:_:_:_:_:_:_:_:_:_:_:_:)cher_(_:_:_:_:_:_:_:)