Mercurial > repos > public > sbplib
view rowVector.m @ 917:878652b22157 feature/timesteppers
Make time.rk.rungekutta return stage approximations and stage rates in addition to the solution after one time step.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 26 Nov 2018 16:12:27 -0800 |
parents | 48b6fb693025 |
children |
line wrap: on
line source
function r = rowVector(v) if size(v,1) == 1 r = v elseif size(v,2) == 1 r = v'; else error('v is not a matrix'); end end