/**************************************************************************** ** ** This file is part of GAP, a system for computational discrete algebra. ** ** 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
*/
#ifndef GAP_OBJFGELM_H #define GAP_OBJFGELM_H
#include"objects.h"
/**************************************************************************** ** *D AWP_SOMETHING ** ** The following enum constants are positions of non-defining data in the ** types of associative words (AWP = Associative Word Position).
*/ enum {
START_ENUM_RANGE_INIT(AWP_FIRST_ENTRY, POS_FIRST_FREE_TYPE),
// the pure type of the object itself, without knowledge features
AWP_PURE_TYPE,
// the number of bits available for each exponent
AWP_NR_BITS_EXP,
// the number of generators
AWP_NR_GENS,
// the number of bits available for each generator/exponent pair
AWP_NR_BITS_PAIR,
// the construction function to be called by `ObjByVector'
AWP_FUN_OBJ_BY_VECTOR,
// the construction function to be called by `AssocWord'
AWP_FUN_ASSOC_WORD,
/**************************************************************************** ** *F DATA_WORD( <word> ) ** ** 'DATA_WORD' returns a pointer to the data area of <word>.
*/ #define DATA_WORD( word ) \
((UIntN *)( ADDR_OBJ( word ) + 2 )) #define CONST_DATA_WORD( word ) \
((const UIntN *)( CONST_ADDR_OBJ( word ) + 2 ))
/**************************************************************************** ** *F NewWord( <type>, <npairs> ) ** ** 'NewWord' returns a new object which has the given <type> and room for ** <npairs> pairs of generator number/exponent.
*/
Obj NewWord(Obj type, UInt npairs);
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 ist noch experimentell.