You are viewing a single comment's thread. Return to all comments →
bijective = function is ONTO and ONE TO ONE,
.
array index is the x in f(x) = y
the input is y in the f(x) = y
start by storing the inputs into an array or vector, ONTO means every input has an array index, which in this case has to be true if stored properly
so all you gota check if its ONE TO ONE, the only way this would fail is if you have a duplicating number ( same number in more than 1 index )
simply run through your array or vector and check for any repeating numbers and if you dont have any "YES" else "NO"
Seems like cookies are disabled on this browser, please enable them to open this website
Security Bijective Functions
You are viewing a single comment's thread. Return to all comments →
bijective = function is ONTO and ONE TO ONE,
.
array index is the x in f(x) = y
the input is y in the f(x) = y
.
start by storing the inputs into an array or vector, ONTO means every input has an array index, which in this case has to be true if stored properly
.
so all you gota check if its ONE TO ONE, the only way this would fail is if you have a duplicating number ( same number in more than 1 index )
.
simply run through your array or vector and check for any repeating numbers and if you dont have any "YES" else "NO"