Ask Your Question

REKHA BISWAL's profile - activity

2024-04-12 20:14:05 +0200 received badge  Popular Question (source)
2024-03-07 15:54:50 +0200 received badge  Notable Question (source)
2023-08-25 18:04:16 +0200 received badge  Notable Question (source)
2022-04-01 21:10:18 +0200 received badge  Popular Question (source)
2021-06-09 21:06:40 +0200 received badge  Popular Question (source)
2020-06-19 14:36:23 +0200 received badge  Famous Question (source)
2019-08-09 13:22:51 +0200 asked a question Betti numbers of Nakajima Quiver varieties

Is it possible to compute betti numbers of Nakajima Quiver varieties using Sage?

2019-08-02 00:51:53 +0200 received badge  Commentator
2019-08-02 00:51:53 +0200 commented question central idempotent of a finite dimensional algebra

Thanks. I edited . I hope its readable now.

2019-08-01 14:39:28 +0200 received badge  Notable Question (source)
2019-08-01 14:38:44 +0200 asked a question central idempotent of a finite dimensional algebra

I tried the following

A=Algebras(QQ).FiniteDimensional().WithBasis().Semisimple().Commutative()

B = FiniteDimensionalAlgebra(QQ, [Matrix([[1,0,0,0,0,0,0,0,0], [0,1,0,0,0,0,0,0,0], [0,0,1,0,0,0,0,0,0], 
[0,0,0,1,0,0,0,0,0], [0,0,0,0,1,0,0,0,0], [0,0,0,0,0,1,0,0,0], [0,0,0,0,0,0,1,0,0], [0,0,0,0,0,0,0,1,0], [0,0,0,0,0,0,0,0,1]]), Matrix([[0,1,0,0,0,0,0,0,0], [0,0,1,0,0,0,0,0,0], [1,0,0,0,0,0,0,0,0], [0,0,0,0,1,0,0,0,0], [0,0,0,0,0,1,0,0,0], [0,0,0,1,0,0,0,0,0], [0,0,0,0,0,0,0,0,1], [0,0,0,0,0,0,1,0,0], [0,0,0,0,0,0,0,1,0]]), Matrix([[0,0,1,0,0,0,0,0,0], [1,0,0,0,0,0,0,0,0], [0,1,0,0,0,0,0,0,0], [0,0,0,0,0,1,0,0,0], [0,0,0,1,0,0,0,0,0], [0,0,0,0,1,0,0,0,0], [0,0,0,0,0,0,0,0,1], [0,0,0,0,0,0,1,0,0], [0,0,0,0,0,0,0,1,0]]), Matrix([[0,0,0,1,0,0,0,0,0], [0,0,0,0,1,0,0,0,0], [0,0,0,0,0,1,0,0,0], [0,1,0,0,0,0,1,0,0], [0,0,1,0,0,0,0,1,0], [1,0,0,0,0,0,0,0,1], [2,0,0,0,2,0,0,0,0], [0,2,0,0,0,2,0,0,0], [0,0,2,2,0,0,0,0,0]]), Matrix([[0,0,0,0,1,0,0,0,0], [0,0,0,0,0,1,0,0,0], [0,0,0,1,0,0,0,0,0], [0,0,1,0,0,0,0,1,0], [1,0,0,0,0,0,0,0,1], [0,1,0,0,0,0,1,0,0], [0,2,0,0,0,2,0,1,0], [0,0,2,2,0,0,0,1,0], [2,0,0,0,2,0,0,0,0]]), Matrix([[0,0,0,0,0,1,0,0,0], [0,0,0,1,0,0,0,0,0], [0,0,0,0,1,0,0,0,0], [1,0,0,0,0,0,0,0,1], [0,1,0,0,0,0,1,0,0], [0,0,1,0,0,0,0,1,0], [0,0,2,2,0,0,0,0,0], [2,0,0,0,2,0,0,0,0], [0,2,0,0,0,2,0,0,0]]), Matrix([[0,0,0,0,0,0,1,0,0], [0,0,0,0,0,0,0,1,0], [0,0,0,0,0,0,0,0,1], [2,0,0,0,2,0,0,0,0], [0,2,0,0,0,2,0,0,0], [0,0,2,2,0,0,0,0,0], [0,0,2,2,0,0,0,1,0], [2,0,0,0,2,0,0,0,1], [0,2,0,0,0,2,1,0,0]]), Matrix([[0,0,0,0,0,0,0,1,0], [0,0,0,0,0,0,0,0,1], [0,0,0,0,0,0,1,0,0], [0,2,0,0,0,2,0,0,0], [0,0,2,2,0,0,0,0,0], [2,0,0,0,2,0,0,0,0], [2,0,0,0,2,0,0,0,1], [0,2,0,0,0,2,1,0,0], [0,0,2,2,0,0,0,1,0]]), Matrix([[0,0,0,0,0,0,0,0,1], [0,0,0,0,0,0,1,0,0], [0,0,0,0,0,0,0,1,0], [0,0,2,2,0,0,0,0,0], [2,0,0,0,2,0,0,0,0], [0,2,0,0,0,2,0,0,0], [0,2,0,0,0,2,1,0,0], [0,0,2,2,0,0,0,1,0], [2,0,0,0,2,0,0,0,1]])], category=A)

B.central_orthogonal_idempotents()

The above code gives me error. Could anyone tell me how to fix the code?enter code here

2019-07-11 17:02:43 +0200 received badge  Popular Question (source)
2018-09-04 07:48:58 +0200 received badge  Famous Question (source)
2018-06-06 11:40:42 +0200 received badge  Famous Question (source)
2017-04-15 06:45:00 +0200 received badge  Popular Question (source)
2017-02-08 01:24:50 +0200 received badge  Notable Question (source)
2016-03-30 03:39:18 +0200 received badge  Notable Question (source)
2015-10-18 14:13:32 +0200 received badge  Popular Question (source)
2015-10-16 07:15:00 +0200 received badge  Popular Question (source)
2014-02-03 00:43:47 +0200 commented answer converting a set into a list?

@ndomes But it keeps only one 1 in the list.But i want to write set([1,1,2,2,2,3,4,5]) in partition form.That means i want output to be the list [5,4,3,2,2,2,1,1].Could you please tell me how to do it?

2014-02-02 14:29:49 +0200 asked a question converting a set into a list?

how to convert a set into a list in sage?

2013-06-26 15:30:52 +0200 asked a question writting a code for finding the kostant partition function

How to write a code for finding the kostant partition function for the elements of root lattice of rank 1 affine lie algebra $A_{1}^{(1)}$ which is defined as follows: $K(\beta)$ = the co-efficient of $e^{\beta}$ in $\prod _{\alpha \in \bigtriangleup}(1-e^{\alpha})$ where $\bigtriangleup$ is the set of positive roots of $A_{1}^{(1)}$ and $\beta$ is an element of the root lattice ?

2013-05-04 07:17:57 +0200 commented answer solving a set of equations involving both inequalities and equalities

sorry for the inconvenience.Actually i want to find all the lattice points of the polytope given by 20 equations.since i can not write all those 20 equations,hence i wanted to know if there is any code with which i can write equations in stead of tuples.

2013-05-04 05:28:41 +0200 commented answer solving a set of equations involving both inequalities and equalities

I want solutions in terms of tuples of integers not in terms of same equations in different form.

2013-05-04 05:16:05 +0200 received badge  Student (source)
2013-05-04 04:34:54 +0200 commented answer solving a set of equations involving both inequalities and equalities

Is there any way to define polyhedron in terms of equations rather than points since the number of equations and number of variables might be too large in which case it would not be possible to write all equations in terms of tuples.?

2013-05-03 05:00:22 +0200 received badge  Editor (source)
2013-05-03 04:59:25 +0200 asked a question solving a set of equations involving both inequalities and equalities

How to write a code in sage to find solutions of a set of equalities and inequalities in more than one variables.for example i want to find solutions for the equations $\sum_{1 \leq i \leq 3}x_i =10$ , x_1 < x_2 < x_3 .

2013-05-01 11:54:34 +0200 commented answer multiplicity of elements in a list

i want the keys in the dictionary of the output to be in matrix form but in your code keys are not in matrix form instead it puts all the entries of matrix in one row.

2013-05-01 08:08:57 +0200 asked a question multiplicity of elements in a list

if one has a list of matrices how do we build a dictionary whose keys are the distinct matrices in the list and values are the number of times that matrix appears in the list (or the multiplicity of that matrix in the list).

2013-04-22 09:33:13 +0200 commented answer code for tail and head of an edge in a bipartite graph

i looked to that but could not find proper code which i wanted..

2013-04-22 08:05:23 +0200 asked a question code for tail and head of an edge in a bipartite graph

how to write a code for finding tail and head of an edge in a bipartite graph?

2013-04-22 08:03:47 +0200 asked a question code for finding tail and head of an edge in a bipartite graph

How to write code to find the tail and head of an edge in a bipartite graph?

2013-03-29 02:09:38 +0200 commented question code which counts the number of edges

yeah,you are right.

2013-03-28 14:27:52 +0200 commented answer code for bipartite graphs

yeah because it is difficult to read the labels from the edges.so is there any code so that labels will be clear?

2013-03-28 14:20:38 +0200 asked a question code which counts the number of edges

How to write a code which counts the number of edges from a one vertex to another vertex in a directed bipartite graph?

2013-03-28 14:06:31 +0200 received badge  Supporter (source)
2013-03-28 14:03:38 +0200 commented answer code for bipartite graphs

but in your code the labels are merged on the edges.can i do so that labels will show above the edges without merging on them?

2013-03-28 13:32:13 +0200 asked a question code for bipartite graphs

How to write a code for obtaining a bipartite graph where the edges are indexed by some numbers?e.g if i write the code as D = DiGraph({ 0: [1,2,3], 1: [0,2], 2: [3], 3: [4], 4: [0,5], 5: [1] }) then only graph is coming but the edges are not indexed here.How should i modify this so that edges of the graph will be indexed?