Searched refs:num_columns_ (Results 1 – 1 of 1) sorted by relevance
67 Matrix() : num_rows_(0), num_columns_(0) {} in Matrix()71 : num_rows_(num_rows), num_columns_(num_columns) { in Matrix()73 scratch_data_.resize(num_rows_ * num_columns_); in Matrix()79 : num_rows_(0), num_columns_(0) { in Matrix()81 scratch_data_.resize(num_rows_ * num_columns_); in Matrix()89 CopyFrom(&other.data_[0], other.num_rows_, other.num_columns_); in CopyFrom()95 memcpy(&data_[0], data, num_rows_ * num_columns_ * sizeof(data_[0])); in CopyFrom()102 for (size_t i = 0; i < num_columns_; ++i) { in CopyFromColumn()110 if (num_rows != num_rows_ || num_columns != num_columns_) { in Resize()112 num_columns_ = num_columns; in Resize()[all …]