Ask Your Question

Inez's profile - activity

2023-01-27 19:06:12 +0200 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 +0200 received badge  Scholar (source)
2023-01-27 19:05:27 +0200 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 +0200 received badge  Editor (source)
2023-01-27 01:38:49 +0200 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 +0200 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 +0200 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 +0200 received badge  Nice Question (source)
2023-01-12 02:33:29 +0200 received badge  Student (source)
2023-01-12 01:41:53 +0200 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