Hello, I would like to implement a function in Faust which can read a symmetric array of values.
As an example let's say I've the following symmetric array : a1 a2 a3 a2 a5 a6 a3 a6 a9 I would like something like readarray(i,j) = readarray(j,i); Since the array is symmetric, only the lower triangular part of the array should be necessary in the code, or, if it's possible, provide the array as an external file, myarray.dat for example. For the moment, I've implemented it "brute force" like : readarray(1,1) = a1; readarray(1,2) = a2; readarray(2,1) = readarray(1,2); ... but there should be a different way I guess. Thank your for your help or suggestions. Pierre Lecomte ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users