Close
Close window
Rank - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Matroids

Rank

return the rank of a matroid, or a rank of a subset of its ground set

Calling Sequence

Rank(M)

Rank(M,S)

Parameters

M

-

Matroid

S

-

set describing a subset of the ground set of M.

Description

The rank of a matroid is the cardinality of a maximal independent subset of its ground set. Equivalently, the rank of a matroid is the size of each of its bases .

The rank of a subset S of the ground set E of a matroid is the cardinality of a maximal independent subset of S.

Examples

>

withMatroids:

Define a matroid via the column space of a matrix and determine the ranks of several subsets of the columns.

>

AMatrix1,1,0,0,1,0,1,0,0,1,1,0

A1100−10100−1−10

(1)
>

MMatroidA

Mthⅇ lⅈnⅇar matroⅈⅆ whosⅇ grounⅆ sⅇt ⅈs thⅇ sⅇt of column vⅇctors of thⅇ matrⅈx:1100−10100−1−10

(2)
>

rRankM

r2

(3)
>

r14RankM,1,4

r141

(4)
>

r4RankM,4

r40

(5)
>

r1234RankM,convertGroundSetM,set

r12342

(6)

References

James G. Oxley. Matroid Theory (Oxford Graduate Texts in Mathematics). New York: Oxford University Press. 2006.


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /