They have slightly different ops defined on them, but
we'll be unifying those in the future.
In general, you should prefer vector unless there's an
operation that only works on arrays. The reason is that
the vector/matrix/linear-algebra ops are only defined on
vectors and all the multivariate distributions are defined
in terms of vector/matrix parameters.
Also note that arrays of row vectors behave very similarly
to matrices:
matrix[M,N] x;
vs.
row_vector[N] x[M];
The latter array-based version has faster row access if you
use x[m] (which is row m of the matrix x).
- Bob
> --
> You received this message because you are subscribed to the Google Groups "stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>