Example of a set with grading¶
-
sage.categories.examples.sets_with_grading.
Example
¶ Non negative integers graded by themselves.
EXAMPLES:
sage: E = SetsWithGrading().example() sage: E Non negative integers sage: E.graded_component(0) {0} sage: E.graded_component(100) {100}
-
sage.categories.examples.sets_with_grading.
NonNegativeIntegers
¶ Non negative integers graded by themselves.
EXAMPLES:
sage: E = SetsWithGrading().example() sage: E Non negative integers sage: E.graded_component(0) {0} sage: E.graded_component(100) {100}