The purpose of this paper is to provide an a]ternate statement of the Pontryagin maximum principle as applied to systems which are most conveniently and naturally described by matrix, rather than vector, differential or difference equations. The use of gradient matrices facilitates the manipulation of the resultant equations. The ~heory is applied to the solution of a simple optimization problem.