On 9/25/2013 3:06 AM, Edmondo Porcu wrote:
> advice on how to create a matrix with certain characteristics :
> - Every entry should be minimum 0 maximum 1 with a step of 0.1 (legal
> values are 0,0.1,0.2,0.3 etc)
> - The number of columns of the matrix is a parameter of this matrix creation
> a
On Wed, Sep 25, 2013 at 1:12 PM, Edmondo Porcu
wrote:
>
> That's what I was looking for, except that I want to be sure to generate
all the possible combinations, and to have no repeated values.
Okay, then you need to find all of the integer partitions of 10 with
`ncols` elements (padding with 0s
That's what I was looking for, except that I want to be sure to generate
all the possible combinations, and to have no repeated values.
Thanks
Edmondo
2013/9/25 Robert Kern
> On Wed, Sep 25, 2013 at 8:06 AM, Edmondo Porcu
> wrote:
> >
> > Dear all,
> >
> > I am a Newbie with Numpy and I woul
On Wed, Sep 25, 2013 at 8:06 AM, Edmondo Porcu
wrote:
>
> Dear all,
>
> I am a Newbie with Numpy and I would need some advice on how to create a
matrix with certain characteristics :
>
> - Every entry should be minimum 0 maximum 1 with a step of 0.1 (legal
values are 0,0.1,0.2,0.3 etc)
>
> - The
On Wed, Sep 25, 2013 at 9:06 AM, Edmondo Porcu wrote:
> I am a Newbie with Numpy and I would need some advice on how to create a
> matrix with certain characteristics :
>
> - Every entry should be minimum 0 maximum 1 with a step of 0.1 (legal
> values are 0,0.1,0.2,0.3 etc)
You can generate rand
Dear all,
I am a Newbie with Numpy and I would need some advice on how to create a
matrix with certain characteristics :
- Every entry should be minimum 0 maximum 1 with a step of 0.1 (legal
values are 0,0.1,0.2,0.3 etc)
- The number of columns of the matrix is a parameter of this matrix
creati