From 74835e5264263e067437dd511b57eab27357736c Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Wed, 9 Jun 2021 11:22:04 +0200 Subject: [PATCH] pretty formatting of Sn table --- permutation.cc | 31 ++++++++++++++++++++++++------- t.cc | 6 +++--- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/permutation.cc b/permutation.cc index 79bb4dd..a25c62b 100644 --- a/permutation.cc +++ b/permutation.cc @@ -1371,7 +1371,7 @@ static T _antparity; template -void symetr(T ilin, T iel) +static void symetr(T ilin, T iel) { if(ilin > (*_tyou_cols)[1]) @@ -1398,7 +1398,7 @@ else template -void antisym(T icol,T iel) +static void antisym(T icol,T iel) { if(icol > (*_tyou_rows)[1]) @@ -1569,13 +1569,30 @@ return true; template std::ostream & operator<<(std::ostream &s, const Sn_characters &c) { -//@@@improve formatting -s<<"S"<>n >>unitary_n; Partition p(n); space_dim=0; int tot=p.generate_all(pprintme,0); -cout <<"generated "<>n ;