EX2C

C Example Program


EnvironmentsPYTHON :: EASI
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Example

Back to top

Description


EX2C is an example of how to write an application function.
Back to top

Parameters


ex2c(rvector, power)

Name Type Caption Length Value range
RVECTOR * List[float] Vector of Real Values 1 - 16  
POWER * List[float] Power to Raise Values 1 - 16  

* Required parameter
Back to top

Parameter descriptions

RVECTOR

The RVECTOR parameter is a list of real values.

POWER

The POWER parameter is used to specify at what power to raise each of the specified vector value.

Back to top

Details

EX2C is a simple example, used to illustrate how to write an application function. EX2C prints results for computing a list of 16 positive real numbers raised to a corresponding list of 16 real exponents.
Back to top

Example

from pci.ex2c import ex2c
rvector   = [1,2,3,4,5]        #base number to compute power
power     = [1,2,3,4,5]        #exponent used for each number in vector
report    = ''
ex2c(rvector,power)

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.