std.rangeのrepeatを使うのはどうでしょうか?
auto array = 0.0.repeat(100).array; // 全て0.0のdouble[]