Name

number_coprime — Checks if two numbers are relatively prime.

Calling Sequence

   arecoprime = number_coprime ( m , n )
   
   

Parameters

m :

a 1x1 matrix of floating point integers, must be positive

n :

a 1x1 matrix of floating point integers, must be positive

arecoprime :

a 1x1 matrix of booleans

Description

Returns %t if the given numbers are relative primes.

Examples

computed = number_coprime ( 84 , 18 ) // %f
computed = number_coprime ( 17 , 19 ) // %t

   

Authors

Copyright (C) 2009 - 2010 - DIGITEO - Michael Baudin