abcdchk verifies the dimensions of A,B,C,D matrices in its arguments, to ascertain that they are correctly defined.
abcdchk(a, b, c, d)
Arguments
a: An n x n matrix
b: An n x m matrix
c: An p x n matrix
d: An p x m matrix
Returns
Returns an empty string if matrix dimensions are consistent. Otherwise it returns the associated error message
Details
This is a utility function that is always invoked by other functions to ascertain the dimensions of the arguments a,b,c,d and returns a message if there is an ill-defined entry.