annotate general/pair.m @ 16:db7f4afd27c5

Rearranging numerical toolbox.
author samer
date Thu, 17 Jan 2013 13:20:44 +0000
parents 03694e5c8365
children
rev   line source
samer@16 1 % pair - Make 2-element cell array
samer@16 2 %
samer@16 3 % pair :: A,B -> cell {A,B}.
samer@16 4 %
samer@16 5 % The type pair(A,B) can be used as a synonym for cell {A,B} when convenient.
samer@10 6 function p=pair(a,b), p={a,b};