Documentation ¶
Index ¶
- Constants
- Variables
- func GetColordFml() bool
- func MaxPrec(x, y *Interval) uint
- func SetColordFml(b bool)
- type Atom
- func (p *Atom) Deg(lv Level) int
- func (p *Atom) Equals(qq interface{}) bool
- func (p *Atom) FmlLess(qq Fof) bool
- func (p *Atom) Format(b fmt.State, format rune)
- func (p *Atom) Indets(b []bool)
- func (p *Atom) IsQff() bool
- func (p *Atom) IsQuantifier() bool
- func (p *Atom) Not() Fof
- func (p *Atom) String() string
- func (p *Atom) Subst(xs RObj, lvs Level) Fof
- func (p *Atom) Tag() uint
- type AtomF
- func (p *AtomF) Deg(lv Level) int
- func (p *AtomF) Equals(qq interface{}) bool
- func (p *AtomF) FmlLess(q Fof) bool
- func (p *AtomF) Format(s fmt.State, format rune)
- func (p *AtomF) Indets(b []bool)
- func (p *AtomF) IsQff() bool
- func (p *AtomF) IsQuantifier() bool
- func (p *AtomF) Not() Fof
- func (p *AtomF) String() string
- func (p *AtomF) Subst(xs RObj, lvs Level) Fof
- func (p *AtomF) Tag() uint
- type AtomProj
- type AtomT
- func (p *AtomT) Deg(lv Level) int
- func (p *AtomT) Equals(qq interface{}) bool
- func (p *AtomT) FmlLess(q Fof) bool
- func (p *AtomT) Format(s fmt.State, format rune)
- func (p *AtomT) Indets(b []bool)
- func (p *AtomT) IsQff() bool
- func (p *AtomT) IsQuantifier() bool
- func (p *AtomT) Not() Fof
- func (p *AtomT) String() string
- func (p *AtomT) Subst(xs RObj, lvs Level) Fof
- func (p *AtomT) Tag() uint
- type BinInt
- func (z *BinInt) Abs() NObj
- func (x *BinInt) Add(yy RObj) RObj
- func (x *BinInt) AddInt(y *Int) RObj
- func (z *BinInt) Cmp(xx NObj) int
- func (z *BinInt) CmpAbs(xx NObj) int
- func (x *BinInt) Div(yy NObj) RObj
- func (x *BinInt) Equals(yy interface{}) bool
- func (z *BinInt) Float() float64
- func (x *BinInt) Format(s fmt.State, format rune)
- func (x *BinInt) IsMinusOne() bool
- func (x *BinInt) IsOne() bool
- func (x *BinInt) IsZero() bool
- func (x *BinInt) Mul(yy RObj) RObj
- func (x *BinInt) MulInt(y *Int) RObj
- func (x *BinInt) Neg() RObj
- func (x *BinInt) Pow(r *Int) RObj
- func (x *BinInt) Sign() int
- func (x *BinInt) String() string
- func (x *BinInt) Sub(yy RObj) RObj
- func (z *BinInt) Subst(x RObj, lv Level) RObj
- func (z *BinInt) ToIntRat() NObj
- type CAD
- func (cad *CAD) Fprint(b io.Writer, args ...interface{}) error
- func (cad *CAD) FprintInput(b io.Writer, args ...interface{}) error
- func (cad *CAD) FprintProj(b io.Writer, args ...interface{}) error
- func (cad *CAD) FprintProjs(b io.Writer, lv Level)
- func (cad *CAD) Lift(index ...int) error
- func (cad *CAD) Print(args ...interface{}) error
- func (cad *CAD) PrintProj(args ...interface{})
- func (cad *CAD) Projection(algo ProjectionAlgo) (*List, error)
- func (cad *CAD) Sfc() (Fof, error)
- func (c *CAD) String() string
- func (c *CAD) Tag() uint
- type CADSfc
- type CADStat
- type Cell
- func (cell *Cell) Fprint(b io.Writer, args ...interface{}) error
- func (cell *Cell) Index() []uint
- func (cell *Cell) Neg() *Cell
- func (cell *Cell) Prec() uint
- func (cell *Cell) Precs() []uint
- func (cell *Cell) Print(args ...interface{}) error
- func (cell *Cell) Sign() int
- func (cell *Cell) Square(even int)
- type Cellmod
- type Dict
- type Exists
- func (p *Exists) Deg(lv Level) int
- func (p *Exists) Equals(qq interface{}) bool
- func (p *Exists) Fml() Fof
- func (p *Exists) FmlLess(q Fof) bool
- func (p *Exists) Format(b fmt.State, format rune)
- func (p *Exists) Get(idx *Int) (interface{}, error)
- func (p *Exists) Indets(b []bool)
- func (p *Exists) IsQff() bool
- func (p *Exists) IsQuantifier() bool
- func (p *Exists) Not() Fof
- func (p *Exists) Qs() []Level
- func (p *Exists) String() string
- func (p *Exists) Subst(xs RObj, lvs Level) Fof
- func (p *Exists) Tag() uint
- type Flusher
- type FmlAnd
- func (p *FmlAnd) Deg(lv Level) int
- func (p *FmlAnd) Equals(qq interface{}) bool
- func (p *FmlAnd) FmlLess(q Fof) bool
- func (p *FmlAnd) Fmls() []Fof
- func (p *FmlAnd) Format(b fmt.State, format rune)
- func (p *FmlAnd) Get(idx *Int) (Fof, error)
- func (p *FmlAnd) Indets(b []bool)
- func (p *FmlAnd) IsQff() bool
- func (p *FmlAnd) IsQuantifier() bool
- func (p *FmlAnd) Len() int
- func (p *FmlAnd) Not() Fof
- func (p *FmlAnd) String() string
- func (p *FmlAnd) Subst(xs RObj, lvs Level) Fof
- func (p *FmlAnd) Tag() uint
- type FmlOr
- func (p *FmlOr) Deg(lv Level) int
- func (p *FmlOr) Equals(qq interface{}) bool
- func (p *FmlOr) FmlLess(q Fof) bool
- func (p *FmlOr) Fmls() []Fof
- func (p *FmlOr) Format(b fmt.State, format rune)
- func (p *FmlOr) Get(idx *Int) (Fof, error)
- func (p *FmlOr) Indets(b []bool)
- func (p *FmlOr) IsQff() bool
- func (p *FmlOr) IsQuantifier() bool
- func (p *FmlOr) Len() int
- func (p *FmlOr) Not() Fof
- func (p *FmlOr) String() string
- func (p *FmlOr) Subst(xs RObj, lvs Level) Fof
- func (p *FmlOr) Tag() uint
- type Fof
- func FofEquiv(f1, f2 Fof) Fof
- func FofImpl(f1, f2 Fof) Fof
- func NewAtom(p RObj, op OP) Fof
- func NewAtoms(pp []RObj, op OP) Fof
- func NewBool(b bool) Fof
- func NewExists(lv []Level, fml Fof) Fof
- func NewFmlAnd(pp Fof, qq Fof) Fof
- func NewFmlOr(pp Fof, qq Fof) Fof
- func NewQuantifier(forex bool, lvv []Level, fml Fof) Fof
- type FofAO
- type FofQ
- type FofTFbase
- type ForAll
- func (p *ForAll) Deg(lv Level) int
- func (p *ForAll) Equals(qq interface{}) bool
- func (p *ForAll) Fml() Fof
- func (p *ForAll) FmlLess(q Fof) bool
- func (p *ForAll) Format(b fmt.State, format rune)
- func (p *ForAll) Get(idx *Int) (interface{}, error)
- func (p *ForAll) Indets(b []bool)
- func (p *ForAll) IsQff() bool
- func (p *ForAll) IsQuantifier() bool
- func (p *ForAll) Not() Fof
- func (p *ForAll) Qs() []Level
- func (p *ForAll) String() string
- func (p *ForAll) Subst(xs RObj, lvs Level) Fof
- func (p *ForAll) Tag() uint
- type GObj
- type Ganrac
- type Int
- func (z *Int) Abs() NObj
- func (x *Int) Add(y RObj) RObj
- func (x *Int) Bit(i int) uint
- func (z *Int) Cmp(xx NObj) int
- func (z *Int) CmpAbs(xx NObj) int
- func (x *Int) Div(yy NObj) RObj
- func (x *Int) Equals(y interface{}) bool
- func (z *Int) Float() float64
- func (x *Int) Format(s fmt.State, format rune)
- func (x *Int) Gcd(y *Int) *Int
- func (x *Int) GcdEx(y *Int) (*Int, *Int, *Int)
- func (x *Int) Int64() int64
- func (x *Int) IsInt64() bool
- func (x *Int) IsMinusOne() bool
- func (x *Int) IsOne() bool
- func (x *Int) IsZero() bool
- func (x *Int) Mul(y RObj) RObj
- func (x *Int) Neg() RObj
- func (x *Int) Pow(y *Int) RObj
- func (x *Int) Set(y RObj) RObj
- func (x *Int) Sign() int
- func (x *Int) String() string
- func (x *Int) Sub(y RObj) RObj
- func (z *Int) Subst(x RObj, lv Level) RObj
- type Interval
- func (x *Interval) Abs() NObj
- func (x *Interval) Add(yy RObj) RObj
- func (x *Interval) AddFloat(y *big.Float) *Interval
- func (x *Interval) Cmp(y NObj) int
- func (x *Interval) CmpAbs(y NObj) int
- func (c *Interval) ContainsZero() bool
- func (x *Interval) Div(yy NObj) RObj
- func (x *Interval) Equals(v interface{}) bool
- func (x *Interval) Float() float64
- func (x *Interval) Format(s fmt.State, format rune)
- func (x *Interval) IsMinusOne() bool
- func (x *Interval) IsNumeric() bool
- func (x *Interval) IsOne() bool
- func (x *Interval) IsZero() bool
- func (x *Interval) Mul(yy RObj) RObj
- func (x *Interval) Mul2Exp(m uint) NObj
- func (x *Interval) MulFloat(y *big.Float) *Interval
- func (x *Interval) MulInt64(y int64) *Interval
- func (x *Interval) Neg() RObj
- func (x *Interval) Pow(yy *Int) RObj
- func (z *Interval) Prec() uint
- func (z *Interval) SetFloat(n *big.Float)
- func (z *Interval) SetFloat64(n float64)
- func (z *Interval) SetInt64(n int64)
- func (z *Interval) SetPrec(prec uint)
- func (x *Interval) Sign() int
- func (z *Interval) String() string
- func (x *Interval) Sub(yy RObj) RObj
- func (x *Interval) SubFloat(y *big.Float) *Interval
- func (x *Interval) Subst(v RObj, lv Level) RObj
- func (x *Interval) Tag() uint
- type Level
- type Levels
- type List
- func (z *List) Append(a GObj)
- func (z *List) Equals(vv interface{}) bool
- func (z *List) Format(s fmt.State, format rune)
- func (z *List) Get(ii *Int) (GObj, error)
- func (z *List) Geti(i int) (GObj, error)
- func (z *List) Indets(b []bool)
- func (z *List) Iter() []GObj
- func (z *List) Len() int
- func (z *List) Set(ii *Int, v GObj) error
- func (z *List) String() string
- func (z *List) Subst(xs RObj, lvs Level) *List
- func (z *List) Tag() uint
- type Moder
- type NObj
- type NumRegion
- type Number
- type OP
- type OpenXM
- func (ox *OpenXM) Discrim(p *Poly, lv Level) RObj
- func (ox *OpenXM) ExecFunction(funcname string, argv ...interface{}) error
- func (ox *OpenXM) ExecString(val string) error
- func (ox *OpenXM) Factor(p *Poly) *List
- func (ox *OpenXM) GB(p *List, vars *List, n int) *List
- func (ox *OpenXM) Gcd(p, q *Poly) RObj
- func (ox *OpenXM) Init() error
- func (ox *OpenXM) PopCMO() (interface{}, error)
- func (ox *OpenXM) PopOXTag() (int32, int32, error)
- func (ox *OpenXM) PopString() (string, error)
- func (ox *OpenXM) Psc(p *Poly, q *Poly, lv Level, j int32) RObj
- func (ox *OpenXM) PushOXCommand(sm_command int32) error
- func (ox *OpenXM) PushOXTag(tag int32) error
- func (ox *OpenXM) PushOxCMO(vv interface{}) error
- func (ox *OpenXM) Reduce(p *Poly, gb *List, vars *List, n int) (RObj, bool)
- func (ox *OpenXM) Resultant(p *Poly, q *Poly, lv Level) RObj
- func (ox *OpenXM) Sres(p *Poly, q *Poly, lv Level, k int32) RObj
- type Poly
- func (x *Poly) Add(y RObj) RObj
- func (z *Poly) Clone() *Poly
- func (p *Poly) Cmp(q *Poly) int
- func (z *Poly) Coef(lv Level, deg uint) RObj
- func (z *Poly) Deg(lv Level) int
- func (x *Poly) Div(y NObj) RObj
- func (z *Poly) Equals(x interface{}) bool
- func (z *Poly) Format(s fmt.State, format rune)
- func (z *Poly) Indets(b []bool)
- func (z *Poly) IsMinusOne() bool
- func (z *Poly) IsNumeric() bool
- func (z *Poly) IsOne() bool
- func (z *Poly) IsZero() bool
- func (z *Poly) LeadinfCoef() NObj
- func (p *Poly) Less(q *Poly) bool
- func (x *Poly) Mul(yy RObj) RObj
- func (z *Poly) Neg() RObj
- func (x *Poly) Pow(y *Int) RObj
- func (p *Poly) RealRootIsolation(prec int) (*List, error)
- func (z *Poly) RootBound() (NObj, error)
- func (z *Poly) Set(x RObj) RObj
- func (z *Poly) Sign() int
- func (z *Poly) String() string
- func (z *Poly) Sub(y RObj) RObj
- func (z *Poly) Subst(xs RObj, lv Level) RObj
- func (z *Poly) SubstIntv(x *Interval, lv Level, prec uint) RObj
- func (z *Poly) Tag() uint
- type ProjFactor
- type ProjFactorBase
- func (pfb *ProjFactorBase) Deg() int
- func (pfb *ProjFactorBase) Index() uint
- func (pfb *ProjFactorBase) Input() bool
- func (pfb *ProjFactorBase) Lv() Level
- func (pfb *ProjFactorBase) P() *Poly
- func (pfb *ProjFactorBase) SetIndex(i uint)
- func (pfb *ProjFactorBase) SetInputT(b bool)
- func (pfb *ProjFactorBase) SetSign(b sign_t)
- func (pfb *ProjFactorBase) Sign() sign_t
- type ProjFactorHH
- type ProjFactorMC
- type ProjFactors
- type ProjFactorsHH
- type ProjFactorsMC
- type ProjLink
- type ProjectionAlgo
- type QEopt
- type QeExample
- type RObj
- type RObjSample
- func (z *RObjSample) Add(x RObj) RObj
- func (z *RObjSample) Div(x NObj) RObj
- func (z *RObjSample) Equals(x interface{}) bool
- func (z *RObjSample) Format(s fmt.State, format rune)
- func (z *RObjSample) IsMinusOne() bool
- func (z *RObjSample) IsNumeric() bool
- func (z *RObjSample) IsOne() bool
- func (z *RObjSample) IsZero() bool
- func (z *RObjSample) Mul(x RObj) RObj
- func (z *RObjSample) Neg() RObj
- func (z *RObjSample) Pow(x *Int) RObj
- func (z *RObjSample) Set(x RObj) RObj
- func (z *RObjSample) Sign() int
- func (z *RObjSample) String() string
- func (z *RObjSample) Sub(x RObj) RObj
- func (z *RObjSample) Subst(x RObj, lv Level) RObj
- func (z *RObjSample) Tag() uint
- type Rat
- func (z *Rat) Abs() NObj
- func (x *Rat) Add(yy RObj) RObj
- func (z *Rat) Cmp(xx NObj) int
- func (z *Rat) CmpAbs(xx NObj) int
- func (x *Rat) Div(yy NObj) RObj
- func (x *Rat) Equals(y interface{}) bool
- func (z *Rat) Float() float64
- func (x *Rat) Format(s fmt.State, format rune)
- func (x *Rat) IsMinusOne() bool
- func (x *Rat) IsOne() bool
- func (x *Rat) IsZero() bool
- func (x *Rat) Mul(yy RObj) RObj
- func (x *Rat) Neg() RObj
- func (x *Rat) Pow(y *Int) RObj
- func (x *Rat) Sign() int
- func (x *Rat) String() string
- func (x *Rat) Sub(yy RObj) RObj
- func (z *Rat) Subst(x RObj, lv Level) RObj
- type String
- type Uint
- func (p Uint) Abs() NObj
- func (p Uint) Add(x RObj) RObj
- func (p Uint) Cmp(x NObj) int
- func (p Uint) CmpAbs(x NObj) int
- func (p Uint) Div(x NObj) RObj
- func (p Uint) Equals(v interface{}) bool
- func (p Uint) Float() float64
- func (p Uint) Format(s fmt.State, format rune)
- func (p Uint) IsMinusOne() bool
- func (p Uint) IsNumeric() bool
- func (p Uint) IsOne() bool
- func (p Uint) IsZero() bool
- func (p Uint) Mul(x RObj) RObj
- func (p Uint) Neg() RObj
- func (p Uint) Pow(x *Int) RObj
- func (p Uint) Sign() int
- func (p Uint) String() string
- func (p Uint) Sub(x RObj) RObj
- func (p Uint) Subst(x RObj, lv Level) RObj
- func (p Uint) Tag() uint
Constants ¶
View Source
const ( PF_EVAL_UNKNOWN = -1 PF_EVAL_NO = 0 PF_EVAL_YES = 1 PROJ_McCallum = 0 PROJ_HONG = 1 CAD_STAGE_INITED int8 = 0 CAD_STAGE_PROJED int8 = 1 CAD_STAGE_LIFTED int8 = 2 )
View Source
const ( EVEN_NO = 0x00 EVEN_NG = 0x01 EVEN_LIN1 = 0x02 // 線形,ただし,主係数は定数 EVEN_LIN2 = 0x04 // 線形で,主係数が変数 EVEN_OK = 0x08 // atom の因数分解した因子すべてが even 例:(x^2+1) * (x^4+3*x^2+1) EVEN_OKM = 0x10 // atom.getPoly() が even 例:(x-1)*(x+1) EVEN_LIN = EVEN_LIN1 | EVEN_LIN2 )
View Source
const ( LT OP = 0x1 EQ OP = 0x2 GT OP = 0x4 LE OP = LT | EQ GE OP = GT | EQ NE OP = GT | LT OP_TRUE OP = GT | EQ | LT OP_FALSE OP = 0x0 FTAG_TRUE uint = 0x101 FTAG_FALSE uint = 0x102 FTAG_ATOM uint = 0x103 FTAG_AND uint = 0x104 FTAG_OR uint = 0x105 FTAG_ALL uint = 0x106 FTAG_EX uint = 0x107 )
View Source
const ( TAG_NONE = iota TAG_STR TAG_NUM TAG_POLY TAG_FOF TAG_LIST TAG_CAD FORMAT_TEX = 'P' FORMAT_DUMP = 'V' FORMAT_SRC = 'S' FORMAT_QEPCAD = 'Q' )
View Source
const ( NTAG_NONE = iota NTAG_INT NTAG_RAT NTAG_BININT NTAG_INTERVAL NTAG_MOD )
View Source
const ( OX_COMMAND int32 = 513 // 0x201 OX_DATA int32 = 514 // 0x202 OX_SYNC_BALL int32 = 515 // ball to interrupt OX_NOTIFY int32 = 516 OX_DATA_WITH_SIZE int32 = 521 OX_DATA_ASIR_BINARY_EXPRESSION int32 = 522 /* This number should be changed*/ OX_DATA_OPENMATH_XML int32 = 523 OX_DATA_OPENMATH_BINARY int32 = 524 OX_DATA_MP int32 = 525 SM_popSerializedLocalObject int32 = 258 SM_popCMO int32 = 262 SM_popString int32 = 263 /* result ==> string and send the string by CMO */ SM_mathcap int32 = 264 SM_pops int32 = 265 SM_setName int32 = 266 SM_evalName int32 = 267 SM_executeStringByLocalParser int32 = 268 SM_executeFunction int32 = 269 SM_beginBlock int32 = 270 SM_endBlock int32 = 271 SM_shutdown int32 = 272 SM_setMathCap int32 = 273 SM_executeStringByLocalParserInBatchMode int32 = 274 SM_getsp int32 = 275 SM_dupErrors int32 = 276 SM_pushCMOtag int32 = 277 SM_executeFunctionAndPopCMO int32 = 278 SM_executeFunctionAndPopSerializedLocalObject int32 = 279 SM_executeFunctionWithOptionalArgument int32 = 282 SM_nop int32 = 300 SM_control_kill int32 = 1024 SM_control_to_debug_mode int32 = 1025 SM_control_exit_debug_mode int32 = 1026 SM_control_spawn_server int32 = 1027 SM_control_terminate_server int32 = 1028 SM_control_reset_connection_server int32 = 1029 SM_control_reset_connection int32 = 1030 SM_PRIVATE int32 = 0x7fff0000 /* 2147418112 */ LARGEID int32 = 0x7f000000 /* 2130706432 */ CMO_PRIVATE int32 = 0x7fff0000 /* 2147418112 */ CMO_ERROR2 int32 = (LARGEID + 2) CMO_NULL int32 = 1 CMO_INT32 int32 = 2 CMO_DATUM int32 = 3 CMO_STRING int32 = 4 CMO_MATHCAP int32 = 5 CMO_LIST int32 = 17 CMO_ATTRIBUTE_LIST int32 = (LARGEID + 3) CMO_MONOMIAL32 int32 = 19 CMO_ZZ int32 = 20 CMO_QQ int32 = 21 CMO_ZERO int32 = 22 CMO_DMS int32 = 23 /* Distributed monomial system */ CMO_DMS_GENERIC int32 = 24 CMO_DMS_OF_N_VARIABLES int32 = 25 CMO_RING_BY_NAME int32 = 26 CMO_RECURSIVE_POLYNOMIAL int32 = 27 CMO_LIST_R int32 = 28 CMO_INT32COEFF int32 = 30 CMO_DISTRIBUTED_POLYNOMIAL int32 = 31 CMO_POLYNOMIAL_IN_ONE_VARIABLE int32 = 33 CMO_RATIONAL int32 = 34 CMO_COMPLEX int32 = 35 CMO_64BIT_MACHINE_DOUBLE int32 = 40 CMO_ARRAY_OF_64BIT_MACHINE_DOUBLE int32 = 41 CMO_128BIT_MACHINE_DOUBLE int32 = 42 CMO_ARRAY_OF_128BIT_MACHINE_DOUBLE int32 = 43 CMO_BIGFLOAT int32 = 50 CMO_IEEE_DOUBLE_FLOAT int32 = 51 CMO_BIGFLOAT32 int32 = 52 CMO_INDETERMINATE int32 = 60 CMO_TREE int32 = 61 CMO_LAMBDA int32 = 62 /* for function definition */ )
http://www.math.sci.kobe-u.ac.jp/OpenXM/Current/index-spec.html
View Source
const ( QEALGO_VSLIN = 0x0001 QEALGO_VSQUAD = 0x0002 QEALGO_EQLIN = 0x0010 QEALGO_EQQUAD = 0x0020 QEALGO_NEQ = 0x0100 // 非等式制約QE QEALGO_SMPL_EVEN = 0x100000000 QEALGO_SMPL_HOMO = 0x200000000 QEALGO_SMPL_TRAN = 0x400000000 QEALGO_SMPL_ROTA = 0x800000000 )
View Source
const ( // pdq() の復帰 SFC_PROJ_DEFINABLE = 0 SFC_PROJ_UNDEFINABLE = 1 SFC_PROJ_UNDET = 2 )
View Source
const KARATSUBA_DEG_MOD = 4
go test -bench BenchmarkModularMulPoly -run BenchmarkModularMulPoly -o prof/ganrac -count=N 3x20= 34.222 4x20= 30.380 5x20= 31.947
Variables ¶
View Source
var CAD_NO_WO = errors.New("NOT well-oriented")
Functions ¶
func GetColordFml ¶
func GetColordFml() bool
func SetColordFml ¶
func SetColordFml(b bool)
Types ¶
type Atom ¶
type Atom struct {
// contains filtered or unexported fields
}
func (*Atom) IsQuantifier ¶
type BinInt ¶
type BinInt struct { Number // contains filtered or unexported fields }
func (*BinInt) IsMinusOne ¶
type CAD ¶
type CAD struct {
// contains filtered or unexported fields
}
func (*CAD) Projection ¶
func (cad *CAD) Projection(algo ProjectionAlgo) (*List, error)
type Exists ¶
type Exists struct {
// contains filtered or unexported fields
}
func (*Exists) IsQuantifier ¶
type FmlAnd ¶
type FmlAnd struct {
// contains filtered or unexported fields
}
func (*FmlAnd) IsQuantifier ¶
type FmlOr ¶
type FmlOr struct {
// contains filtered or unexported fields
}
func (*FmlOr) IsQuantifier ¶
type Fof ¶
type Fof interface { GObj IsQff() bool IsQuantifier() bool Not() Fof Subst(xs RObj, lv Level) Fof Deg(lv Level) int FmlLess(a Fof) bool // contains filtered or unexported methods }
first-order formula
type ForAll ¶
type ForAll struct {
// contains filtered or unexported fields
}
func (*ForAll) IsQuantifier ¶
type Ganrac ¶
type Ganrac struct {
// contains filtered or unexported fields
}
func (*Ganrac) InitVarList ¶
type Int ¶
type Int struct { Number // contains filtered or unexported fields }
func (*Int) IsMinusOne ¶
type Interval ¶
type Interval struct {
// contains filtered or unexported fields
}
func NewIntervalInt64 ¶
func (*Interval) ContainsZero ¶
func (*Interval) IsMinusOne ¶
func (*Interval) SetFloat64 ¶
type Moder ¶
type Moder interface { // modular arithmetic RObj // contains filtered or unexported methods }
type NObj ¶
type NObj interface { RObj Float() float64 Cmp(x NObj) int CmpAbs(x NObj) int Abs() NObj // contains filtered or unexported methods }
numeric *Int, *Rat, *BinInt, *Interval
type NumRegion ¶
type NumRegion struct {
// contains filtered or unexported fields
}
nil は empty set を表す.
type OpenXM ¶
type OpenXM struct {
// contains filtered or unexported fields
}
func (*OpenXM) ExecFunction ¶
func (*OpenXM) ExecString ¶
func (*OpenXM) PushOXCommand ¶
type Poly ¶
type Poly struct {
// contains filtered or unexported fields
}
poly in K[x_lv,...,x_n]
func NewPolyCoef ¶
func NewPolyInts ¶
func NewPolyVar ¶
func (*Poly) IsMinusOne ¶
func (*Poly) LeadinfCoef ¶
type ProjFactor ¶
type ProjFactorBase ¶
type ProjFactorBase struct {
// contains filtered or unexported fields
}
func (*ProjFactorBase) Deg ¶
func (pfb *ProjFactorBase) Deg() int
func (*ProjFactorBase) Index ¶
func (pfb *ProjFactorBase) Index() uint
func (*ProjFactorBase) Input ¶
func (pfb *ProjFactorBase) Input() bool
func (*ProjFactorBase) Lv ¶
func (pfb *ProjFactorBase) Lv() Level
func (*ProjFactorBase) P ¶
func (pfb *ProjFactorBase) P() *Poly
func (*ProjFactorBase) SetIndex ¶
func (pfb *ProjFactorBase) SetIndex(i uint)
func (*ProjFactorBase) SetInputT ¶
func (pfb *ProjFactorBase) SetInputT(b bool)
func (*ProjFactorBase) SetSign ¶
func (pfb *ProjFactorBase) SetSign(b sign_t)
func (*ProjFactorBase) Sign ¶
func (pfb *ProjFactorBase) Sign() sign_t
type ProjFactorHH ¶
type ProjFactorHH struct { ProjFactorBase // contains filtered or unexported fields }
func (*ProjFactorHH) FprintProjFactor ¶
func (pf *ProjFactorHH) FprintProjFactor(b io.Writer, cad *CAD)
type ProjFactorMC ¶
type ProjFactorMC struct { ProjFactorBase // contains filtered or unexported fields }
func (*ProjFactorMC) FprintProjFactor ¶
func (pf *ProjFactorMC) FprintProjFactor(b io.Writer, cad *CAD)
type ProjFactors ¶
type ProjFactors interface { Len() int // contains filtered or unexported methods }
type ProjFactorsHH ¶
type ProjFactorsHH struct {
// contains filtered or unexported fields
}
func (*ProjFactorsHH) Len ¶
func (pfs *ProjFactorsHH) Len() int
type ProjFactorsMC ¶
type ProjFactorsMC struct {
// contains filtered or unexported fields
}
func (*ProjFactorsMC) Len ¶
func (pfs *ProjFactorsMC) Len() int
type ProjectionAlgo ¶
type ProjectionAlgo int
type QeExample ¶
func GetExampleFof ¶
type RObj ¶
type RObj interface { GObj Add(x RObj) RObj // z+x Sub(x RObj) RObj // z-x Mul(x RObj) RObj Div(x NObj) RObj Pow(x *Int) RObj Subst(x RObj, lv Level) RObj Neg() RObj // Set(x RObj) RObj Sign() int IsZero() bool IsOne() bool IsMinusOne() bool IsNumeric() bool // contains filtered or unexported methods }
ring ring in R[x], in R *Poly, *Int, *Rat, *BinInt, *Interval
type RObjSample ¶
type RObjSample struct { }
func (*RObjSample) Add ¶
func (z *RObjSample) Add(x RObj) RObj
func (*RObjSample) Div ¶
func (z *RObjSample) Div(x NObj) RObj
func (*RObjSample) Equals ¶
func (z *RObjSample) Equals(x interface{}) bool
func (*RObjSample) IsMinusOne ¶
func (z *RObjSample) IsMinusOne() bool
func (*RObjSample) IsNumeric ¶
func (z *RObjSample) IsNumeric() bool
func (*RObjSample) IsOne ¶
func (z *RObjSample) IsOne() bool
func (*RObjSample) IsZero ¶
func (z *RObjSample) IsZero() bool
func (*RObjSample) Mul ¶
func (z *RObjSample) Mul(x RObj) RObj
func (*RObjSample) Neg ¶
func (z *RObjSample) Neg() RObj
func (*RObjSample) Pow ¶
func (z *RObjSample) Pow(x *Int) RObj
func (*RObjSample) Set ¶
func (z *RObjSample) Set(x RObj) RObj
func (*RObjSample) Sign ¶
func (z *RObjSample) Sign() int
func (*RObjSample) String ¶
func (z *RObjSample) String() string
func (*RObjSample) Sub ¶
func (z *RObjSample) Sub(x RObj) RObj
func (*RObjSample) Tag ¶
func (z *RObjSample) Tag() uint
type Rat ¶
type Rat struct { Number // contains filtered or unexported fields }
func NewRatFrac ¶
func NewRatInt64 ¶
func (*Rat) IsMinusOne ¶
Source Files ¶
- binint.go
- cad.go
- cad_de.go
- delinpol.go
- dict.go
- eval.go
- even.go
- example.go
- fof.go
- frealroot.go
- func.go
- ganrac.go
- gobj.go
- int.go
- intv.go
- irealroot.go
- lex.go
- lift.go
- list.go
- makepdf.go
- modular.go
- neq.go
- nobj.go
- op.go
- openxm.go
- openxm_asir.go
- parser.y
- poly.go
- prime.go
- proj.go
- projhh.go
- projmc.go
- qe.go
- quadeq.go
- rat.go
- realroot.go
- robj.go
- rootbound.go
- sfc.go
- simpl_basic.go
- simpl_comm.go
- simpl_fctr.go
- simpl_homo.go
- simpl_num.go
- simpl_reduce.go
- simple.go
- str.go
- vs.go
Click to show internal directories.
Click to hide internal directories.