Files
gonum/integrate/quad/internal/PrintGoSlice.m
Thomas Berg 9ac9c5a3ed integrate/quad/internal: fix character encoding
Convert from ISO-8859-1 to UTF-8
2019-03-01 13:19:08 +10:30

11 lines
312 B
Matlab

% Copyright ©2016 The Gonum Authors. All rights reserved.
% Use of this source code is governed by a BSD-style
% license that can be found in the LICENSE file.
function PrintGoSlice(a)
fprintf('[]float64{')
for i = 1:length(a)
fprintf('%1.16e, ',a(i))
end
fprintf('}\n')
end