Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Numeric - Java representation of a numeric object
Description
The com.maplesoft.openmaple.Numeric class represents a Maple numeric object (a float or an integer). As Numeric publicly inherits from Algebraic, it provides all of the member functions from the Algebraic class as well as those listed here.
Method Summary
boolean isByte()
isByte returns true if the value represented by this Numeric is an integer within the range of a Java byte.
boolean isShort()
isShort returns true if the value represented by this Numeric is an integer within the range of a Java short.
boolean isInt()
isInt returns true if the value represented by this Numeric is an integer within the range of a Java int.
boolean isLong()
isLong returns true if the value represented by this Numeric is an integer within the range of a Java long.
boolean isInteger()
isInteger returns true if the value represented by this Numeric is an integer.
boolean isUnnamedZero()
isUnnamedZero returns true if the value represented by this Numeric is zero.
float floatValue()
floatValue converts the value represented by the Numeric to a float.
double doubleValue()
doubleValue returns the value represented in the Numeric as a Java double.
byte byteValue()
byteValue returns the value represented by the Numeric as a Java byte.
short shortValue()
shortValue returns the value represented by the Numeric as a Java short.
int intValue()
intValue returns the value represented by the Numeric as a Java int.
long longValue()
longValue returns the value represented by the Numeric as a Java long.
See Also
OpenMaple, OpenMaple/Java/Algebraic, OpenMaple/Java/API, OpenMaple/Java/Examples
Download Help Document