#include <jem/std/complex.h>
#include <jem/base/Tuple.h>
#include <jem/base/System.h>
typedef std::complex<double> Complex;
void changeArray ( int* a, int n )
{
if ( n )
{
a[n - 1] = 100;
}
return;
}
int run ()
{
z = 1.0;
z = zadd( 0.8 +
imag(z), -9 ) + 0.9;
print ( out, a, endl, endl );
b = a;
b[ 0 ] = 5;
print ( out, b, endl, endl );
print ( out, a, endl, endl );
b += 1;
print ( out, b, endl, endl );
c = castTo<int> (
abs(
sum( b * a ) * b - 18 ) );
print ( out, c, endl, endl );
c = castTo<int> (
where( a > b, a, b ) );
print ( out, c, endl, endl );
changeArray ( c.
addr(), 3 );
print ( out, c, endl, endl );
return 0;
}
int main ()
{
}