t.New() 21 if p == nil { 22 panic("Plotter cannot
> be created") 23 }
>
>
> BR,
> Roland
>
>
> Am Mo., 17. Mai 2021 um 16:38 Uhr schrieb Fred :
>
>> Thanks Carla and Sébastien for your quick answer !
>>
>> Carla your solution
, Sebastien Binet a écrit :
> Salut Fred,
>
> On Mon May 17, 2021 at 14:11 CET, Fred wrote:
> > Hi,
> > I have 2 computers with Linux Manjaro and go version 1.16.3.
> > The same scatter plot
> > <https://gist.github.com/sbinet/602522b7399ead414e279e2261d
sC1fzV3Mo>
# gonum.org/v1/plot/text
/home/fred/GO/src/gonum.org/v1/plot/text/latex.go:153:3: cannot use
hdlr.Fonts.Lookup(rm, fnt.Size).Face (type *sfnt.Font) as type
*truetype.Font in field value
/home/fred/GO/src/gonum.org/v1/plot/text/latex.go:154:3: cannot use
hdlr.Fonts.Lookup(rm, fnt.Size
Thanks @Jake
Le jeudi 7 décembre 2017 01:01:46 UTC+1, Jake Montgomery a écrit :
>
> On Monday, December 4, 2017 at 2:56:19 PM UTC-5, Fred wrote:
>>
>>
>>
> Perhaps start with Go Slices: usage and internals
> <https://blog.golang.org/go-slices-usage-and-i
it seems that making a copy of the temp var, replacing :
temp = append(temp, c1)
by :
temp = append(temp, append([]int{}, c1...))
helps, but still unclear for me why the problem was only visible on slice
4...
--
You received this message because you are subscribed to the Google Groups
Hi !
I have made a recursive algorithm to compute all the combinations between
an unlimited number of slices. The algorithm does good results for 2 and 3
slices.
For example with 3 slices a,b,c :
a := []int{1,2}
b := []int{3,4}
c := []int{5,6}
final comb [[1 3 5] [1 3 6] [1 4 5] [1 4 6] [2 3