Google

Go to the first, previous, next, last section, table of contents.


vtype

vtype(var)
:: var (不定元) の 型 (整数) を返す.
return
整数
var
不定元
  • var (不定元) の型の値は次の通り. 詳細は See section 不定元の型.
    0
    一般不定元 (a,b,x,afo,bfo,...,etc)
    1
    uc() で生成された不定元 (_0, _1, _2, ... etc)
    2
    函数形式 (sin(x), log(a+1), acosh(1), @pi, @e, ... etc)
    3
    函数子 (組み込み函数子, ユーザ定義函数子, 初等函数子 : sin, log, ... etc)
  • a(); を実行(通常ではエラー)しただけでも ntype(a) は 3 となる. すなわち a はユーザ定義函数子とみなされる.
  • @pi, @e は不定元として扱われるが, eval(), pari() においては数として扱われる.
参照
section type, section ntype, section uc.


Go to the first, previous, next, last section, table of contents.