swot_vec2mat: Convert a vector to a suitably-dimensioned matrix

Description Usage Arguments

Description

Produces a matrix of the same dimensions as pattern; excactly one of these dimensions must be equal to the length of vec. If pattern is square, an error is raised.

Usage

1

Arguments

vec

a vector

pattern

a matrix with the desired dimensions


markwh/swotr documentation built on May 23, 2019, 7:03 p.m.