SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions
arrayToString

Functions

template<type T>
string arrayToString (T scalar)
 
template<type T, dim N>
string arrayToString (T arr)
 

Detailed Description

Function for converting an array to a string.

Note
D - all protection domains
T - any data type
Returns
returns a string representation of the input array

Function Documentation

◆ arrayToString() [1/2]

template<type T, dim N>
string arrayToString ( T  arr)
Parameters
arr- any dimension array of any type

◆ arrayToString() [2/2]

template<type T>
string arrayToString ( T  vec)
Parameters
scalar- a scalar of any type
vec- a 1-dimension array of any type