88N_Vector copy_vector_remove_indices (N_Vector original , LongArray indices );
99// Return a copy of a matrix removing the indicated rows.
1010// The indices should be sorted in ascending order and 1-based.
11- DlsMat copy_matrix_remove_rows (DlsMat matrix , LongArray indices );
11+ SUNMatrix copy_matrix_remove_rows (SUNMatrix matrix , LongArray indices );
1212// Return a copy of a matrix removing the indicated cols.
1313// // The indices should be sorted in ascending order and 1-based.
14- DlsMat copy_matrix_remove_columns (DlsMat matrix , LongArray indices );
14+ SUNMatrix copy_matrix_remove_columns (SUNMatrix matrix , LongArray indices );
1515// Return a copy of a matrix removing the indicated rows and cols.
1616// // The indices should be sorted in ascending order and 1-based.
17- DlsMat copy_matrix_remove_rows_and_columns (DlsMat matrix , LongArray row_indices , LongArray col_indices );
17+ SUNMatrix copy_matrix_remove_rows_and_columns (SUNMatrix matrix , LongArray row_indices , LongArray col_indices );
1818
1919// Set a row of a matrix with the values of a vector from start (inclusive) to end (exclusive)
20- void set_matrix_row (DlsMat matrix , N_Vector vec , long row_index , long start , long end );
20+ void set_matrix_row (SUNMatrix matrix , N_Vector vec , long row_index , long start , long end );
2121// Set a column of a matrix with the values of a vector from start (inclusive) to end (exclusive)
22- void set_matrix_column (DlsMat matrix , N_Vector vec , long col_index , long start , long end );
22+ void set_matrix_column (SUNMatrix matrix , N_Vector vec , long col_index , long start , long end );
2323
2424// Copy a row of a matrix into a vector from start (inclusive) to end (exclusive)
25- N_Vector copy_matrix_row (DlsMat matrix , long row_index , long start , long end );
25+ N_Vector copy_matrix_row (SUNMatrix matrix , long row_index , long start , long end );
2626// Copy a column of a matrix into a vector from start (inclusive) to end (exclusive)
27- N_Vector copy_matrix_column (DlsMat matrix , long col_index , long start , long end );
27+ N_Vector copy_matrix_column (SUNMatrix matrix , long col_index , long start , long end );
2828
2929/*
3030 * Sums matrix a + b. Note that 'b' can have fewer cols or rows than 'a' but not otherwise
3131 * Returns NULL if the dimensions are not compatible
3232 */
33- DlsMat sum_two_matrices (DlsMat a , DlsMat b );
33+ SUNMatrix sum_two_matrices (SUNMatrix a , SUNMatrix b );
3434/*
3535 * Substracts b from a. Note that 'b' can have fewer cols or rows than 'a' but not otherwise
3636 * Returns NULL if the dimensions are not compatible
3737 */
38- DlsMat subtract_two_matrices (DlsMat a , DlsMat b );
38+ SUNMatrix subtract_two_matrices (SUNMatrix a , SUNMatrix b );
3939
4040/*
4141 * For an n-element vector A, quantile computes quantiles by using a sorting-based algorithm:
@@ -53,5 +53,5 @@ DlsMat subtract_two_matrices(DlsMat a, DlsMat b);
5353 * For the quantiles corresponding to the probabilities outside that range,
5454 * quantile assigns the minimum or maximum values of the elements in A.
5555 */
56- realtype quantile (N_Vector , realtype );
56+ sunsunrealtype quantile (N_Vector , sunsunrealtype );
5757#endif //MATLAB_H
0 commit comments