Class custride
Defined in File cumat.hpp
Inheritance Relationships
Base Type
public cubase
(Class cubase)
Class Documentation
-
class custride : public cubase
Strided matrix.
Public Functions
-
inline custride()
Construct a new custride object.
-
inline custride(size_t rows, size_t cols, size_t strides, cubase::Init init = cubase::Init::Zero)
Construct a new custride object.
-
inline explicit custride(const arma::cube &src)
Construct a new custride object form armadillo cube.
-
inline explicit custride(const cumat &mat)
Construct a new custride object from a cumat object. Each column will be a stride.
-
template<class L, class R>
inline custride(cuop_matmul<L, R, cutraits<L>::type, cutraits<R>::type> &&op)
-
inline virtual ~custride()
Destroy the custride object.
-
inline virtual size_t nbytes() const override
Get size in bytes Size in bytes.
-
inline size_t nrows() const
-
inline size_t ncols() const
-
inline size_t nstrides() const
-
inline size_t nstrideSize() const
-
inline size_t nstrideBytes() const
-
const cuop_trans<custride> t() const
Transpose matrix.
Public Static Attributes
-
inline custride()