/* C */
void
sidl_double__array_set(struct sidl_double__array* array,
const int32_t indices[],
double value);
// C++
void
sidl::array<double>::set(const int32_t indices[], double value);
C FORTRAN 77
subroutine sidl_double__array_set_f(array, indices, value)
integer*8 array
integer*4 indices()
real*8 value
! FORTRAN 90
subroutine set(array, indices, value)
type(sidl_double_1d), intent(in) :: array ! type depends on dimension
integer (selected_int_kind(9)), intent(in), dimension(:) :: indices
real (selected_real_kind(17,308)), intent(in) :: value
// Java
public native void _set(int i, int j, int k, int l, int m, int n,
int o, double value);
This method sets the value in index indices for an array of any dimension to value. The type of the argument value is the value type for the SIDL type being held (see table 5.2). For arrays of objects and interfaces, the array will make its own reference by calling addRef() on value, so the client retains its reference to value. For arrays of strings, the array will make a copy of the string, so the client retains ownership of the value pointer.