public static void setDouble ( Array result , double val ) { IndexIterator iter = result . getIndexIterator ( ) ; while ( iter . hasNext ( ) ) { iter . setDoubleNext ( val ) ; } }
Set all the elements of this array to the given double value . The value is converted to the element type of the array if needed .