############################################################################# ## ## This file is part of GAP, a system for computational discrete algebra. ## This file's authors include Thomas Breuer. ## ## Copyright of GAP belongs to its developers, whose names are too numerous ## to list here. Please refer to the COPYRIGHT file for details. ## ## SPDX-License-Identifier: GPL-2.0-or-later ##
############################################################################# ## #M IsBound\[\]( <emptyvec>, <pos> ) . for empty row vector, and pos. integer ##
InstallMethod( IsBound\[\], "for an empty row vector, and a positive integer",
true,
[ IsRowVector and IsEmpty and IsEmptyRowVectorRep,
IsPosInt ], 0,
ReturnFalse);
############################################################################# ## #M ShallowCopy( <emptyvec> ) . . . . . . . . . . . . for an empty row vector ##
InstallMethod( ShallowCopy, "for an empty row vector",
true,
[ IsRowVector and IsEmpty and IsEmptyRowVectorRep ], 0, function( emptyvec )
Error( "mutable empty row vectors are not yet supported" ); #T !! end );
############################################################################# ## #M \=( <emptyvec>, <coll> ) . . . . . . for empty row vector and collection ##
InstallMethod( \=, "for an empty row vector, and a collection in the same family",
IsIdenticalObj,
[ IsRowVector and IsEmpty and IsEmptyRowVectorRep, IsCollection ], 0, function( emptyvec, coll )
return IsEmpty( coll ); end );
############################################################################# ## #M \=( <coll>, <emptyvec> ) . . . . . . for collection and empty row vector ##
InstallMethod( \=, "for a collection, and an empty row vector in the same family",
IsIdenticalObj,
[ IsCollection, IsRowVector and IsEmpty and IsEmptyRowVectorRep ], 0, function( coll, emptyvec )
return IsEmpty( coll ); end );
############################################################################# ## #T \<( <emptyvec>, <coll> ) . . . . . . for empty row vector and collection #T \<( <coll>, <emptyvec> ) . . . . . . for collection and empty row vector ##
############################################################################# ## #M \+( <emptyvec>, <emptyvec> ) . . . . . . . . . for two empty row vectors ##
InstallMethod( \+, "for two empty row vectors in the same family",
IsIdenticalObj,
[ IsRowVector and IsEmpty and IsEmptyRowVectorRep,
IsRowVector and IsEmpty and IsEmptyRowVectorRep ], 0,
ReturnFirst );
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.