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
chrem - Chinese Remainder Algorithm
Calling Sequence
chrem(u, m)
Parameters
u
-
list [u1,..., un] of evaluations
m
list of moduli [m1,..., mn]
Description
The list of moduli m must be pairwise relatively prime positive integers. Both lists u and m must be the same length . The list of images u need not be reduced modulo m on input. In the following, denotes the product of the moduli.
If u is a list of integers, chrem(u, m) computes the unique positive integer a such that , and .
If the global variable mod has been assigned to mods then the result is returned in the symmetric range for the integers modulo . For example, the symmetric range for the integers modulo is .
If u is a list of polynomials, chrem is applied across the polynomials so that the output is a polynomial satisfying , ..., .
If u is a list of lists, chrem is applied across the lists so that the output will be a list satisfying , ..., .
For a definition, see Chinese remainder theorem.
Examples
See Also
GaussInt, GIchrem
Download Help Document