function [ x, know ] = p07_sol ( m, know ) %*****************************************************************************80 % %% P07_SOL returns known solutions for problem 7. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 15 February 2012 % % Author: % % John Burkardt % % Parameters: % % Input, integer M, the spatial dimension. % % Input/output, integer KNOW. % On input, KNOW is 0, or the index of the previously returned solution. % On output, KNOW is 0 if there are no more solutions, or it is the % index of the next solution. % % Output, real X(M), the solution. % know = 0; x = zeros ( m, 1 ); return end