-
#include "tensorstore/array.h"
-
void tensorstore::AppendToString(
std::string* result,
const ArrayView<const void, dynamic_rank, offset_origin>& array,
const ArrayFormatOptions& options =
ArrayFormatOptions::Default()); Appends a string representation of
array
to*result
.The format is specified using the
ArrayFormatOptions
type. By default, the representation for a zero-origin array is of the form:{{1, 2, 3}, {4, 5, 6}}
and for an offset-origin array is of the form:
{{1, 2, 3}, {4, 5, 6}} @ {7, 8}