Re: DAHH another question

new topic     » goto parent     » topic index » view thread      » older message » newer message

Try the following:

d = {a, b, c} & {0, 0}

same as:

e = {a, b, c}
f = {0, 0}

d = e & f

The & concantenate operator drops the inside brackets.

Cheers,
Nick

Bernie Ryan wrote:

> I have a sequence {a,b,c}
>
> -- how do i append or concantenate two zeros to it
>
> to get this result {a,b,c,0,0}

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu