Skip to content

RankOfIndicesListList changes its argument #87

Open
@sebasguts

Description

@sebasguts

Issue by martin-leuner
Monday Oct 21, 2013 at 13:17 GMT
Originally opened as https://github.com/homalg-project/Gauss/issues/10


RowRankOfMatrix for sparse GF(2) matrices has a call which comes down to
RankOfIndicesListList( Eval(M)!.indices );

This call changes the underlying data of the sparse matrix M:

gap> h := HomalgMatrix( mat, ring );; Display( h );
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
1 . . . . 1 1 . 1 1 . . 1 . 1 . . . . . . . 1 .
. 1 1 1 . 1 1 1 1 . 1 1 1 . . 1 . 1 1 1 . 1 . .
1 . 1 . . . 1 . . 1 . 1 . . 1 . . . . 1 . 1 1 .
1 . . . . . . 1 . . 1 . 1 . 1 1 1 1 . 1 1 1 . 1
1 1 . 1 1 1 . . 1 . . . 1 1 . . . . 1 1 . . . 1
1 . . . 1 . 1 . 1 . . . . . . . . . 1 . . 1 1 1
1 1 . 1 . 1 1 . 1 . 1 1 . . . . . 1 . 1 . . . 1
. 1 1 1 . . . . . . 1 1 1 . . . 1 . 1 1 1 1 1 .
. . . 1 . . 1 1 . . 1 1 1 1 . 1 . 1 1 1 . 1 . .
1 1 1 . . 1 . 1 . 1 . 1 1 . . . . 1 1 . . 1 1 1
gap> RankOfIndicesListList( Eval(h)!.indices );; Display( h );
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . 1 . . . . . . . .
1 . 1 . . . 1 . . 1 . 1 . . 1 . . . . 1 . 1 1 .
1 . . . . . . 1 . . 1 . 1 . 1 1 1 1 . 1 1 1 . 1
1 1 . 1 1 1 . . 1 . . . 1 1 . . . . 1 1 . . . 1
1 . . . 1 . 1 . 1 . . . . . . . . . 1 . . 1 1 1
1 1 . 1 . 1 1 . 1 . 1 1 . . . . . 1 . 1 . . . 1
. 1 1 1 . . . . . . 1 1 1 . . . 1 . 1 1 1 1 1 .
. . . 1 . . 1 1 . . 1 1 1 1 . 1 . 1 1 1 . 1 . .
1 1 1 . . 1 . 1 . 1 . 1 1 . . . . 1 1 . . 1 1 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions