[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.8 Types


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.8.1 type

type(obj)

:: Returns an integer which identifies the type of the object obj in question.

return

integer

obj

arbitrary

References

ntype, vtype.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.8.2 ntype

ntype(num)

:: Classifier of type num. Returns a sub-type number, an integer, for obj.

return

integer

obj

number

[0] [10/37,ntype(10/37)];
[10/37,0]
[1] [10.0/37.0,ntype(10.0/37.0)];
[0.27027,1]
[2] [newalg(x^2+1)+1,ntype(newalg(x^2+1)+1)];
[(#0+1),2]
[3] [eval(sin(@pi/6)),ntype(eval(sin(@pi/6)))];
[0.49999999999999999991,3]
[4] [@i+1,ntype(@i+1)];
[(1+1*@i),4]
References

type.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.8.3 vtype

vtype(var)

:: Type of indetarminates var.

return

integer

var

indeterminate

References

type, ntype, uc.


[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on December 14, 2024 using texi2html 5.0.