API: more consistent zeros() initializer

This commit is contained in:
Philippe Tillet
2015-12-21 03:23:38 -05:00
parent da43f89ea4
commit 0d09b0518f
5 changed files with 33 additions and 36 deletions

View File

@@ -323,7 +323,7 @@ static const for_idx_t _i9{9};
//Initializers
ISAACAPI expression_tree eye(int_t, int_t, isaac::numeric_type, driver::Context const & context = driver::backend::contexts::get_default());
ISAACAPI expression_tree zeros(int_t M, int_t N, numeric_type dtype, driver::Context const & context = driver::backend::contexts::get_default());
ISAACAPI expression_tree zeros(shape_t const & shape, numeric_type dtype, driver::Context const & context = driver::backend::contexts::get_default());
//Swap
ISAACAPI void swap(view x, view y);