Ask Your Question

Inez's profile - activity

2024-08-18 07:53:42 +0100 received badge  Famous Question (source)
2024-08-18 07:53:42 +0100 received badge  Notable Question (source)
2024-08-18 07:53:42 +0100 received badge  Popular Question (source)
2023-01-27 19:06:12 +0100 marked best answer How to access the chains of the chain complex of a simplex?

I have a simplicial complex and I want to get the chains of its chain complex. I have the following code:

S = SimplicialComplex([[1,2],[1,3],[1,4],[2,3],[2,4]])
print(S.chain_complex().homology(generators=True)[1][0][1])

It prints:

Chain(1:(1, 0, -1, 0, 1))

which is one of the chains of dimension one. It is of type

 <class 'sage.homology.chain_com`enter code here`plex.ChainComplex_class_with_category.element_class'>

How do I access the list of numbers (1, 0, -1, 0, 1) of this chain?

Thanks in advance.

2023-01-27 19:06:12 +0100 received badge  Scholar (source)
2023-01-27 19:05:27 +0100 commented answer How to access the chains of the chain complex of a simplex?

Thank you so much, John. It worked!

2023-01-27 01:38:49 +0100 received badge  Editor (source)
2023-01-27 01:38:49 +0100 edited question How to access the chains of the chain complex of a simplex?

How to access the chains of the chain complex of a simplex? I have a simplicial complex and I want to get the chains of

2023-01-26 22:59:44 +0100 asked a question How to access the chains of the chain complex of a simplex?

How to access the chains of the chain complex of a simplex? I have a simplicial complex and I want to get the chains of

2023-01-25 00:02:46 +0100 asked a question turn the simplex type into symbol type

turn the simplex type into symbol type I have a list of elements of type simplex. I need them as symbols. I wrote the fo

2023-01-13 18:22:56 +0100 received badge  Nice Question (source)
2023-01-12 02:33:29 +0100 received badge  Student (source)
2023-01-12 01:41:53 +0100 asked a question Can SageMath use GPU, or multiple nodes, or multiple CPUs?

Can SageMath use GPU, or multiple nodes, or multiple CPUs? I use a cloud computer and can access multiple nodes, GPUs, a