Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

inverse of array of integer

Status
Not open for further replies.

ashwini012

Newbie level 3
Newbie level 3
Joined
Mar 27, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
38
i want to make operation as:

Code:
for i .....0 to 9
A:= 1 / var(i) ;

var is the array of integer.

can anybody help me?


Thank you.
 

Write a function that takes an array of integers as input and returns one as well implementing what you've described

Kevin Jennings
 

make A as a output array and then put the A(i) = 1/var(i) inside the loop.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top