API: clearer interface for transposition

This commit is contained in:
Philippe Tillet
2015-10-01 17:23:26 -04:00
parent feeb1e9862
commit 1e076c131b
5 changed files with 50 additions and 32 deletions

View File

@@ -91,7 +91,7 @@ public:
array operator[](slice const &);
array operator()(slice const &, slice const &);
math_expression T() const;
protected:
numeric_type dtype_;
@@ -102,6 +102,9 @@ protected:
driver::Context context_;
driver::Buffer data_;
public:
math_expression T;
};
class ISAACAPI scalar : public array