Skip to content

FR: More reshaping functions #3233

@WardBrian

Description

@WardBrian

It would help if we had these, which I think we should also add:

matrix to_matrix(array[] vector x);
matrix to_matrix(array[] row_vector u);

array[] vector to_vector_array(matrix y);
array[] row_vector to_row_vector_array(matrix v);

Originally posted by @bob-carpenter in stan#3354

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions