ginkgo/core/matrix/batch_dense.hpp Source File#
|
Reference API
|
batch_dense.hpp
Definition polymorphic_object.hpp:479
Definition polymorphic_object.hpp:668
Definition executor.hpp:615
Definition array.hpp:166
const value_type * get_const_data() const noexcept
Definition array.hpp:682
Definition batch_lin_op.hpp:59
Definition batch_lin_op.hpp:252
Definition batch_multi_vector.hpp:59
Definition batch_dense.hpp:53
static std::unique_ptr< Dense > create(std::shared_ptr< const Executor > exec, const batch_dim< 2 > &size, array< value_type > values)
size_type get_num_elements_per_item() const noexcept
Definition batch_dense.hpp:238
std::unique_ptr< unbatch_type > create_view_for_item(size_type item_id)
const Dense * apply(ptr_param< const MultiVector< value_type > > b, ptr_param< MultiVector< value_type > > x) const
value_type * get_values() noexcept
Definition batch_dense.hpp:124
Dense * apply(ptr_param< const MultiVector< value_type > > b, ptr_param< MultiVector< value_type > > x)
value_type at(size_type batch_id, size_type row, size_type col) const
Definition batch_dense.hpp:158
void scale(const array< value_type > &row_scale, const array< value_type > &col_scale)
size_type get_cumulative_offset(size_type batch_id) const
Definition batch_dense.hpp:112
ValueType & at(size_type batch_id, size_type idx) noexcept
Definition batch_dense.hpp:178
static std::unique_ptr< Dense > create(std::shared_ptr< const Executor > exec, const batch_dim< 2 > &size=batch_dim< 2 >{})
std::unique_ptr< const unbatch_type > create_const_view_for_item(size_type item_id) const
static std::unique_ptr< const Dense > create_const(std::shared_ptr< const Executor > exec, const batch_dim< 2 > &sizes, gko::detail::const_array_view< ValueType > &&values)
value_type * get_values_for_item(size_type batch_id) noexcept
Definition batch_dense.hpp:201
value_type & at(size_type batch_id, size_type row, size_type col)
Definition batch_dense.hpp:149
void add_scaled_identity(ptr_param< const MultiVector< value_type > > alpha, ptr_param< const MultiVector< value_type > > beta)
void scale_add(ptr_param< const MultiVector< value_type > > alpha, ptr_param< const batch::matrix::Dense< value_type > > b)
size_type get_num_stored_elements() const noexcept
Definition batch_dense.hpp:228
const Dense * apply(ptr_param< const MultiVector< value_type > > alpha, ptr_param< const MultiVector< value_type > > b, ptr_param< const MultiVector< value_type > > beta, ptr_param< MultiVector< value_type > > x) const
Dense * apply(ptr_param< const MultiVector< value_type > > alpha, ptr_param< const MultiVector< value_type > > b, ptr_param< const MultiVector< value_type > > beta, ptr_param< MultiVector< value_type > > x)
ValueType at(size_type batch_id, size_type idx) const noexcept
Definition batch_dense.hpp:187
const value_type * get_const_values() const noexcept
Definition batch_dense.hpp:133
const value_type * get_const_values_for_item(size_type batch_id) const noexcept
Definition batch_dense.hpp:214
Definition utils_helper.hpp:41
typename detail::next_precision_impl< T >::type next_precision
Definition math.hpp:438
typename detail::remove_complex_s< T >::type remove_complex
Definition math.hpp:260
STL namespace.
Definition batch_dim.hpp:27
dim< dimensionality, dimension_type > get_common_size() const
Definition batch_dim.hpp:43
Generated by