view rowVector.m @ 921:19c05eefc8c6 feature/utux2D

Add warning that interfaceNonConforming in LaplaceCurve only works for Cartesian grids.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 02 Dec 2018 16:27:49 -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